|
|
|
@ -39,7 +39,7 @@ public class AboutDialog extends JDialog implements ActionListener {
|
|
|
|
|
|
|
|
|
|
this.setTitle(ProductConstants.PRODUCT_NAME); |
|
|
|
|
this.setResizable(false); |
|
|
|
|
JPanel defaultPane=FRGUIPaneFactory.createBorderLayout_L_Pane(); |
|
|
|
|
JPanel defaultPane = FRGUIPaneFactory.createBorderLayout_L_Pane(); |
|
|
|
|
this.setContentPane(defaultPane); |
|
|
|
|
|
|
|
|
|
okButton = new UIButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_OK")); |
|
|
|
@ -66,7 +66,7 @@ public class AboutDialog extends JDialog implements ActionListener {
|
|
|
|
|
|
|
|
|
|
//esp.
|
|
|
|
|
InputMap inputMapAncestor = defaultPane.getInputMap( |
|
|
|
|
JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); |
|
|
|
|
JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); |
|
|
|
|
ActionMap actionMap = defaultPane.getActionMap(); |
|
|
|
|
|
|
|
|
|
//transfer focus to CurrentEditor
|
|
|
|
@ -79,7 +79,7 @@ public class AboutDialog extends JDialog implements ActionListener {
|
|
|
|
|
|
|
|
|
|
this.getRootPane().setDefaultButton(okButton); |
|
|
|
|
|
|
|
|
|
this.setSize(defaultPane.getPreferredSize().width, 600); |
|
|
|
|
this.setSize(FineUIScale.scale(new Dimension(defaultPane.getPreferredSize().width, 600))); |
|
|
|
|
GUICoreUtils.centerWindow(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|