|
|
|
@ -99,7 +99,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
|
|
|
|
|
protected void done() { |
|
|
|
|
try { |
|
|
|
|
get(); |
|
|
|
|
dialog.setSize(new Dimension(380, 118)); |
|
|
|
|
dialog.setSize(new Dimension(380, 125)); |
|
|
|
|
okButton.setEnabled(true); |
|
|
|
|
uiLabel.setIcon(UIManager.getIcon("OptionPane.informationIcon")); |
|
|
|
|
message.setText(Toolkit.i18nText("Fine-Design_Basic_Datasource_Connection_Successfully")); |
|
|
|
@ -210,7 +210,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
|
|
|
|
|
detailLabel.setText(Toolkit.i18nText("Fine_Designer_Look_Detail")); |
|
|
|
|
directUiLabel.setIcon(UIManager.getIcon("OptionPane.narrow.right")); |
|
|
|
|
} else { |
|
|
|
|
dialog.setSize(new Dimension(380, 260)); |
|
|
|
|
dialog.setSize(new Dimension(380, 270)); |
|
|
|
|
hiddenPanel.setVisible(true); |
|
|
|
|
detailLabel.setText(Toolkit.i18nText("Fine_Designer_Hide_Detail")); |
|
|
|
|
directUiLabel.setIcon(UIManager.getIcon("OptionPane.narrow.down")); |
|
|
|
@ -349,7 +349,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
|
|
|
|
|
message.setBorder(BorderFactory.createEmptyBorder(8, 5, 0, 0)); |
|
|
|
|
okButton.setEnabled(false); |
|
|
|
|
dialog = new JDialog((Dialog) SwingUtilities.getWindowAncestor(DatabaseConnectionPane.this), Toolkit.i18nText("Fine-Design_Basic_Datasource_Test_Connection"), true); |
|
|
|
|
dialog.setSize(new Dimension(380, 118)); |
|
|
|
|
dialog.setSize(new Dimension(380, 125)); |
|
|
|
|
okButton.setEnabled(false); |
|
|
|
|
JPanel jp = new JPanel(); |
|
|
|
|
JPanel upPane = new JPanel(); |
|
|
|
@ -362,10 +362,10 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
|
|
|
|
|
directUiLabel.setIcon(UIManager.getIcon("OptionPane.narrow.right")); |
|
|
|
|
detailLabel.setText(Toolkit.i18nText("Fine_Designer_Look_Detail")); |
|
|
|
|
detailLabel.setForeground(Color.BLUE); |
|
|
|
|
hiddenPanel.setLayout(new BorderLayout(10, 0)); |
|
|
|
|
hiddenPanel.setLayout(new BorderLayout(2, 0)); |
|
|
|
|
hiddenPanel.add(new JPanel(), BorderLayout.WEST); |
|
|
|
|
hiddenPanel.add(new JPanel(), BorderLayout.EAST); |
|
|
|
|
downPane.setLayout(new FlowLayout(FlowLayout.CENTER, 6, 9)); |
|
|
|
|
downPane.setLayout(new FlowLayout(FlowLayout.RIGHT, 15, 9)); |
|
|
|
|
downPane.add(okButton); |
|
|
|
|
downPane.add(cancelButton); |
|
|
|
|
jp.setLayout(new BoxLayout(jp, BoxLayout.Y_AXIS)); |
|
|
|
|