@Override
public void overviewMenuItem_actionPerformed(ActionEvent e)
{
- if (alignPanel.overviewPanel != null)
- {
- return;
- }
-
boolean showHiddenRegions = Cache.getDefault(Preferences.SHOW_OV_HIDDEN_AT_START,
false);
openOverviewPanel(showHiddenRegions);
public OverviewPanel openOverviewPanel(boolean showHidden)
{
+ if (alignPanel.overviewPanel != null)
+ {
+ return alignPanel.overviewPanel;
+ }
JInternalFrame frame = new JInternalFrame();
final OverviewPanel overview = new OverviewPanel(alignPanel, showHidden);
frame.setContentPane(overview);