|
|
@ -30,6 +30,7 @@ import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
import static com.fine.swing.ui.layout.Layouts.row; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.row; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.cell; |
|
|
|
import static com.fine.swing.ui.layout.Layouts.cell; |
|
|
|
|
|
|
|
import static com.fine.theme.utils.FineUIScale.scale; |
|
|
|
|
|
|
|
|
|
|
|
public class JavaScriptImplPane extends AbstractHyperLinkPane<JavaScriptImpl> { |
|
|
|
public class JavaScriptImplPane extends AbstractHyperLinkPane<JavaScriptImpl> { |
|
|
|
private static final int BOTTOM_BORDER = 12; |
|
|
|
private static final int BOTTOM_BORDER = 12; |
|
|
@ -73,7 +74,7 @@ public class JavaScriptImplPane extends AbstractHyperLinkPane<JavaScriptImpl> { |
|
|
|
cell(FineUIUtils.wrapComponentWithTitle(importedJsPane, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_ReportServerP_Import_JavaScript"))).weight(0.5), |
|
|
|
cell(FineUIUtils.wrapComponentWithTitle(importedJsPane, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_ReportServerP_Import_JavaScript"))).weight(0.5), |
|
|
|
cell(FineUIUtils.wrapComponentWithTitle(parameterPane, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Parameter"))).weight(0.5) |
|
|
|
cell(FineUIUtils.wrapComponentWithTitle(parameterPane, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Parameter"))).weight(0.5) |
|
|
|
).getComponent()); |
|
|
|
).getComponent()); |
|
|
|
topPane.setPreferredSize(new Dimension(super.getPreferredSize().width, 150)); |
|
|
|
topPane.setPreferredSize(new Dimension(super.getPreferredSize().width, scale(150))); |
|
|
|
|
|
|
|
|
|
|
|
this.setLayout(new BorderLayout()); |
|
|
|
this.setLayout(new BorderLayout()); |
|
|
|
this.add(topPane, BorderLayout.NORTH); |
|
|
|
this.add(topPane, BorderLayout.NORTH); |
|
|
|