Ignore:
Timestamp:
2014-10-19T01:27:04+02:00 (12 years ago)
Author:
donvip
Message:

[josm_plugins] fix java 7 warnings / global usage of try-with-resource

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/src/panels/PanelTop.java

    r30737 r30738  
    3838                                JRadioButton button = tops.get(top);
    3939                                if (button.isSelected()) {
    40                                         dlg.panelMain.mark.setTopmark(top);
     40                                        SmedAction.panelMain.mark.setTopmark(top);
    4141                                        button.setBorderPainted(true);
    4242                                } else
     
    7979                for (Top top : tops.keySet()) {
    8080                        JRadioButton button = tops.get(top);
    81                         if (dlg.panelMain.mark.getTopmark() == top) {
     81                        if (SmedAction.panelMain.mark.getTopmark() == top) {
    8282                                button.setBorderPainted(true);
    8383                        } else
Note: See TracChangeset for help on using the changeset viewer.