Ignore:
Timestamp:
2016-01-20T00:05:07+01:00 (8 years ago)
Author:
Don-vip
Message:

refactoring - global simplification of use of setLayout method - simply pass layout to JPanel constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java

    r9231 r9543  
    215215
    216216        // set the content of this AddTagsDialog consisting of the tableHeader and the table itself.
    217         JPanel tablePanel = new JPanel();
    218         tablePanel.setLayout(new GridBagLayout());
     217        JPanel tablePanel = new JPanel(new GridBagLayout());
    219218        tablePanel.add(propertyTable.getTableHeader(), GBC.eol().fill(GBC.HORIZONTAL));
    220219        tablePanel.add(propertyTable, GBC.eol().fill(GBC.BOTH));
Note: See TracChangeset for help on using the changeset viewer.