- Timestamp:
- 2021-11-06T21:52:13+01:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/MapPaintDialog.java
r18208 r18311 27 27 28 28 import javax.swing.AbstractAction; 29 import javax.swing.DefaultButtonModel;30 29 import javax.swing.DefaultListSelectionModel; 31 30 import javax.swing.ImageIcon; … … 38 37 import javax.swing.JTabbedPane; 39 38 import javax.swing.JTable; 39 import javax.swing.JToggleButton.ToggleButtonModel; 40 40 import javax.swing.ListSelectionModel; 41 41 import javax.swing.SingleSelectionModel; … … 126 126 wfLabel.setLabelFor(cbWireframe); 127 127 128 cbWireframe.setModel(new DefaultButtonModel() {128 cbWireframe.setModel(new ToggleButtonModel() { 129 129 @Override 130 130 public void setSelected(boolean b) { -
trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java
r17649 r18311 152 152 * Button model for the {@code QuadStateCheckBox}. 153 153 */ 154 private final class QuadStateDecorator implementsButtonModel {154 private final class QuadStateDecorator extends ToggleButtonModel { 155 155 private final ButtonModel other; 156 156 private String propertyText;
Note:
See TracChangeset
for help on using the changeset viewer.