diff --git a/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java b/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java index 134500aa9..468b88a48 100644 --- a/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java +++ b/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java @@ -121,20 +121,18 @@ public class ReportEnginePane extends BasicBeanPane { /** * 目前先屏蔽,后面新引擎显示页码再加上相关代码 * */ - private JPanel createEngineXSettingPane(){ + private void createEngineXSettingPane(){ outEngineXSettingPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_New_Engine")); outEngineXSettingPane.setBounds(0, 0, 570, 240); - return outEngineXSettingPane; } - private JPanel createLineEngineSettingPane(){ + private void createLineEngineSettingPane(){ outLineEngineSettingPane = FRGUIPaneFactory.createTitledBorderPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Line_Engine")); outLineEngineSettingPane.setBounds(0, 0, 570, 240); JPanel lineEngineSettingPane = createCommonEngineSettingPane(); JPanel tipPane = createTipPane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Line_Engine_tip")); lineEngineSettingPane.add(tipPane); outLineEngineSettingPane.add(lineEngineSettingPane); - return outLineEngineSettingPane; } private JPanel createCommonEngineSettingPane(){ @@ -319,7 +317,11 @@ public class ReportEnginePane extends BasicBeanPane { this.showTarget = showTarget; this.notShowTarget = notShowTarget; } - //由于屏蔽了新引擎设置,由于新引擎设置界面是空的,行式引擎的设置会显示出来,每次转换时,因此将不需要显示的屏蔽 + + /** + * 由于屏蔽了新引擎设置,由于新引擎设置界面是空的,行式引擎的设置界面会显示出来,因此每次界面转换时,将不需要显示的界面屏蔽。 + * 不需要屏蔽新引擎设置时,就不需要showTarget.setVisible(true);notShowTarget.setVisible(false);这两行代码了 + * **/ @Override public void actionPerformed(ActionEvent e) { if (source.isSelected()){