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/preferences/server/AuthenticationPreferencesPanel.java

    r9352 r9543  
    8686        gc.weightx = 1.0;
    8787        gc.weighty = 1.0;
    88         pnlAuthenticationParameteters = new JPanel();
     88        pnlAuthenticationParameteters = new JPanel(new BorderLayout());
    8989        add(pnlAuthenticationParameteters, gc);
    90         pnlAuthenticationParameteters.setLayout(new BorderLayout());
    9190
    9291        //-- the two panels for authentication parameters
Note: See TracChangeset for help on using the changeset viewer.