@ianc
What changes exactly are not enabling the save program button? in testing the URCap im currently writing, i found that the majority of JavaSwing objects had no problem enabling the save button as a result of changing the data model. JComboBox
, JCheckBox
and JSlider
I found worked fine. However, when saving values from a JTextField
that called a <Double> keyboard to the data model, the save button wasn’t enabled. Values saved from an <Integer> keyboard however, I found to work just fine.
Someone found this issue previously in this post: Save Program greyed out - UndoRedo
This issue has also been reported as a bug: Double keyboards not covered by undo/redo
EDIT: Whilst the <Double> keyboard didn’t enable the save button, when changing other things that did enable saving, the values set by the <Double> keyboard were still saved.
1 Like