* Remove hard coded text in Preference.java
* Fixed layout bug in PLAFEditorPanel.java
This commit is contained in:
parent
d10b3a8bc7
commit
7c96a4b520
|
@ -206,7 +206,7 @@ public final class Preference extends CDialog
|
||||||
|
|
||||||
Border insetBorder = BorderFactory.createEmptyBorder(2, 2, 2, 0);
|
Border insetBorder = BorderFactory.createEmptyBorder(2, 2, 2, 0);
|
||||||
CPanel loginPanel = new CPanel();
|
CPanel loginPanel = new CPanel();
|
||||||
loginPanel.setBorder(BorderFactory.createTitledBorder("Login"));
|
loginPanel.setBorder(BorderFactory.createTitledBorder(Msg.getMsg(Env.getCtx(), "Login")));
|
||||||
loginPanel.setLayout(new GridLayout(1, 2));
|
loginPanel.setLayout(new GridLayout(1, 2));
|
||||||
autoLogin.setBorder(insetBorder);
|
autoLogin.setBorder(insetBorder);
|
||||||
storePassword.setBorder(insetBorder);
|
storePassword.setBorder(insetBorder);
|
||||||
|
@ -216,7 +216,7 @@ public final class Preference extends CDialog
|
||||||
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
||||||
|
|
||||||
CPanel windowPanel = new CPanel();
|
CPanel windowPanel = new CPanel();
|
||||||
windowPanel.setBorder(BorderFactory.createTitledBorder("Window"));
|
windowPanel.setBorder(BorderFactory.createTitledBorder(Msg.getMsg(Env.getCtx(), "Window")));
|
||||||
windowPanel.setLayout(new GridLayout(4, 2));
|
windowPanel.setLayout(new GridLayout(4, 2));
|
||||||
windowPanel.add(showAcct);showAcct.setBorder(insetBorder);
|
windowPanel.add(showAcct);showAcct.setBorder(insetBorder);
|
||||||
windowPanel.add(showTrl);showTrl.setBorder(insetBorder);
|
windowPanel.add(showTrl);showTrl.setBorder(insetBorder);
|
||||||
|
@ -230,7 +230,7 @@ public final class Preference extends CDialog
|
||||||
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
||||||
|
|
||||||
CPanel connPanel = new CPanel();
|
CPanel connPanel = new CPanel();
|
||||||
connPanel.setBorder(BorderFactory.createTitledBorder("Connection"));
|
connPanel.setBorder(BorderFactory.createTitledBorder(Msg.getMsg(Env.getCtx(), "Connection")));
|
||||||
connPanel.setLayout(new GridBagLayout());
|
connPanel.setLayout(new GridBagLayout());
|
||||||
connPanel.add(connectionProfileLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
|
connPanel.add(connectionProfileLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
|
||||||
,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 2, 2, 0), 0, 0));
|
,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 2, 2, 0), 0, 0));
|
||||||
|
@ -242,7 +242,7 @@ public final class Preference extends CDialog
|
||||||
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
||||||
|
|
||||||
CPanel tracePanel = new CPanel();
|
CPanel tracePanel = new CPanel();
|
||||||
tracePanel.setBorder(BorderFactory.createTitledBorder("Trace"));
|
tracePanel.setBorder(BorderFactory.createTitledBorder(Msg.getMsg(Env.getCtx(), "TraceInfo")));
|
||||||
tracePanel.setLayout(new GridBagLayout());
|
tracePanel.setLayout(new GridBagLayout());
|
||||||
tracePanel.add(traceLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
|
tracePanel.add(traceLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
|
||||||
,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 2, 2, 0), 0, 0));
|
,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 2, 2, 0), 0, 0));
|
||||||
|
@ -254,7 +254,7 @@ public final class Preference extends CDialog
|
||||||
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 0, 2, 0), 0, 0));
|
||||||
|
|
||||||
CPanel printPanel = new CPanel();
|
CPanel printPanel = new CPanel();
|
||||||
printPanel.setBorder(BorderFactory.createTitledBorder("Printing"));
|
printPanel.setBorder(BorderFactory.createTitledBorder(Msg.getMsg(Env.getCtx(), "Printing")));
|
||||||
printPanel.setLayout(new GridBagLayout());
|
printPanel.setLayout(new GridBagLayout());
|
||||||
printPanel.add(lPrinter, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
|
printPanel.add(lPrinter, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
|
||||||
,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 2, 2, 0), 0, 0));
|
,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 2, 2, 0), 0, 0));
|
||||||
|
@ -291,7 +291,7 @@ public final class Preference extends CDialog
|
||||||
((FlowLayout)configSouth.getLayout()).setAlignment(FlowLayout.RIGHT);
|
((FlowLayout)configSouth.getLayout()).setAlignment(FlowLayout.RIGHT);
|
||||||
configSouth.add(bRoleInfo);
|
configSouth.add(bRoleInfo);
|
||||||
configPanel.add(configSouth, BorderLayout.SOUTH);
|
configPanel.add(configSouth, BorderLayout.SOUTH);
|
||||||
tabPane.add(configPanel, "Info");
|
tabPane.add(configPanel, Msg.getMsg(Env.getCtx(), "Info"));
|
||||||
|
|
||||||
// Info
|
// Info
|
||||||
tabPane.add(contextPane, Msg.getMsg(Env.getCtx(), "Context"));
|
tabPane.add(contextPane, Msg.getMsg(Env.getCtx(), "Context"));
|
||||||
|
|
Loading…
Reference in New Issue