100 |
installListeners(); |
installListeners(); |
101 |
|
|
102 |
setLocation(JuifeUtils.centerLocation(this, frm)); |
setLocation(JuifeUtils.centerLocation(this, frm)); |
|
|
|
|
connectionPane.setLSAddress(Prefs.getLSAddress()); |
|
|
connectionPane.setLSPort(String.valueOf(Prefs.getLSPort())); |
|
103 |
} |
} |
104 |
|
|
105 |
private void |
private void |
112 |
JPanel p = new JPanel(); |
JPanel p = new JPanel(); |
113 |
p.setLayout(new BorderLayout()); |
p.setLayout(new BorderLayout()); |
114 |
p.setBorder(BorderFactory.createEmptyBorder(6, 6, 6, 6)); |
p.setBorder(BorderFactory.createEmptyBorder(6, 6, 6, 6)); |
115 |
p.add(connectionPane, BorderLayout.NORTH); |
p.add(connectionPane); |
116 |
tp.addTab(i18n.getLabel("PrefsDlg.tabConnection"), p); |
tp.addTab(i18n.getLabel("PrefsDlg.tabBackend"), p); |
117 |
tp.addTab(i18n.getLabel("PrefsDlg.tabDefaults"), defaultsPane); |
tp.addTab(i18n.getLabel("PrefsDlg.tabDefaults"), defaultsPane); |
118 |
|
|
119 |
tp.setAlignmentX(RIGHT_ALIGNMENT); |
tp.setAlignmentX(RIGHT_ALIGNMENT); |