|
|
|
@ -200,7 +200,6 @@ public class FormParaWidgetPane extends JPanel {
|
|
|
|
|
chartPopUpButton.addMouseListener(new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
if (chartTypeWindow == null) { |
|
|
|
|
JPanel componentsPara = new JPanel(new FlowLayout(FlowLayout.LEFT)); |
|
|
|
|
WidgetOption[] chartOptions = loadChartOptions(); |
|
|
|
|
for (WidgetOption chartOption : chartOptions) { |
|
|
|
@ -212,7 +211,6 @@ public class FormParaWidgetPane extends JPanel {
|
|
|
|
|
chartTypeWindow = new PopUpWindow(componentsPara, Inter.getLocText("FR-Designer-Form-ToolBar_Chart")); |
|
|
|
|
chartTypeWindow.setLocation((int) jSeparatorLayout.getLocationOnScreen().getX() + 1, (int) jSeparatorLayout.getLocationOnScreen().getY()); |
|
|
|
|
chartTypeWindow.setSize(chartTypeWindow.getPreferredSize()); |
|
|
|
|
} |
|
|
|
|
chartTypeWindow.setVisible(true); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|