|
|
|
@ -118,13 +118,12 @@ public class ReportStylePane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
private JPanel createPreviewPane() { |
|
|
|
|
JPanel container = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
container.setBorder(createTitleBorder(Toolkit.i18nText("Fine-Design_Basic_Preview"))); |
|
|
|
|
container.setPreferredSize(new Dimension(container.getPreferredSize().width, 60)); |
|
|
|
|
JPanel content = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
content.setBorder(BorderFactory.createEmptyBorder(4, 4, 2, 2)); |
|
|
|
|
previewArea.setPreferredSize(new Dimension(container.getPreferredSize().width, 42)); |
|
|
|
|
content.add(previewArea, BorderLayout.NORTH); |
|
|
|
|
container.add(content, BorderLayout.NORTH); |
|
|
|
|
container.setBorder(BorderFactory.createCompoundBorder( |
|
|
|
|
createTitleBorder(Toolkit.i18nText("Fine-Design_Basic_Preview")), |
|
|
|
|
BorderFactory.createEmptyBorder(4, 4, 4, 4) |
|
|
|
|
)); |
|
|
|
|
previewArea.setPreferredSize(new Dimension(container.getPreferredSize().width, 40)); |
|
|
|
|
container.add(previewArea, BorderLayout.CENTER); |
|
|
|
|
return container; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|