Undo issue

If I change the text of a FlowLabel from A to B to
C to D and click undo it changes the text back to A rather than
C. The label is modified by double clicking on the label bringing
up a dialog box. I have reproduced the same issue with your processor
example. If you comment out
//setEditOnSingleClick(true);
//setEditable(true);
in the FlowLabel class a dialog box i.e. FlowDialog is rendered if you
double click on the label. If you attempt to change the label from A to
B to
C to D and click undo it changes the text back to A rather than C. In
addition the menu string for the undo never changes which I also get
with my code.

That appears to be an error in the FlowDialog example code. Where it sets the JGoText’s properties, it ought to be doing so within a transaction.
Since it doesn’t establish a transaction, all the changes get lumped together with the changes from the last transaction, which is why you get that odd undo behavior.