Fixed issue where the value of the JTextComponentTextProperty was not immediately updated upon replacement of the document