Changeset 9543 in josm for trunk/src/org/openstreetmap/josm/gui/preferences
- Timestamp:
- 2016-01-20T00:05:07+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/preferences
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/map/BackupPreference.java
r8510 r9543 52 52 @Override 53 53 public void addGui(PreferenceTabbedPane gui) { 54 JPanel panel = new VerticallyScrollablePanel(); 55 panel.setLayout(new GridBagLayout()); 54 JPanel panel = new VerticallyScrollablePanel(new GridBagLayout()); 56 55 panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); 57 56 -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r9100 r9543 320 320 321 321 projPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); 322 projPanel.setLayout(new GridBagLayout());323 322 projPanel.add(new JLabel(tr("Projection method")), GBC.std().insets(5, 5, 0, 5)); 324 323 projPanel.add(GBC.glue(5, 0), GBC.std().fill(GBC.HORIZONTAL)); -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMProjectionChoice.java
r8836 r9543 63 63 group.add(south); 64 64 65 JPanel bPanel = new JPanel(); 66 bPanel.setLayout(new GridBagLayout()); 65 JPanel bPanel = new JPanel(new GridBagLayout()); 67 66 68 67 bPanel.add(new JLabel(tr("North")), GBC.std().insets(5, 5, 0, 5)); -
trunk/src/org/openstreetmap/josm/gui/preferences/remotecontrol/RemoteControlPreference.java
r8510 r9543 100 100 remote.add(enableRemoteControl, GBC.eol()); 101 101 102 final JPanel wrapper = new JPanel(); 103 wrapper.setLayout(new GridBagLayout()); 102 final JPanel wrapper = new JPanel(new GridBagLayout()); 104 103 wrapper.setBorder(BorderFactory.createTitledBorder(BorderFactory.createLineBorder(Color.gray))); 105 104 -
trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java
r9352 r9543 86 86 gc.weightx = 1.0; 87 87 gc.weighty = 1.0; 88 pnlAuthenticationParameteters = new JPanel( );88 pnlAuthenticationParameteters = new JPanel(new BorderLayout()); 89 89 add(pnlAuthenticationParameteters, gc); 90 pnlAuthenticationParameteters.setLayout(new BorderLayout());91 90 92 91 //-- the two panels for authentication parameters -
trunk/src/org/openstreetmap/josm/gui/preferences/server/OAuthAuthenticationPreferencesPanel.java
r9353 r9543 118 118 gc.weightx = 1.0; 119 119 gc.insets = new Insets(10, 0, 0, 0); 120 add(pnlAuthorisationMessage = new JPanel(), gc); 121 pnlAuthorisationMessage.setLayout(new BorderLayout()); 120 add(pnlAuthorisationMessage = new JPanel(new BorderLayout()), gc); 122 121 123 122 // create these two panels, they are going to be used later in refreshView -
trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
r9224 r9543 10 10 import java.awt.GridBagConstraints; 11 11 import java.awt.GridBagLayout; 12 import java.awt.GridLayout; 12 13 import java.awt.Insets; 13 14 import java.awt.Toolkit; … … 186 187 187 188 private void initComponents() { 188 JPanel listPane = new JPanel( );189 JPanel listPane = new JPanel(new GridLayout()); 189 190 JScrollPane listScrollPane = new JScrollPane(); 190 JPanel shortcutEditPane = new JPanel( );191 JPanel shortcutEditPane = new JPanel(new GridLayout(5, 2)); 191 192 192 193 CbAction action = new CbAction(this); 193 194 setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); 194 195 add(buildFilterPanel()); 195 listPane.setLayout(new java.awt.GridLayout());196 196 197 197 // This is the list of shortcuts: … … 211 211 212 212 // and here follows the edit area. I won't object to someone re-designing it, it looks, um, "minimalistic" ;) 213 shortcutEditPane.setLayout(new java.awt.GridLayout(5, 2));214 213 215 214 cbDefault.setAction(action);
Note:
See TracChangeset
for help on using the changeset viewer.