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/gui/MapFrame.java

    r9246 r9543  
    182182        splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true);
    183183
    184         leftPanel = new JPanel();
    185         leftPanel.setLayout(new GridBagLayout());
     184        leftPanel = new JPanel(new GridBagLayout());
    186185        leftPanel.add(mapView, GBC.std().fill());
    187186        splitPane.setLeftComponent(leftPanel);
Note: See TracChangeset for help on using the changeset viewer.