JMenuItem textColour = new JMenuItem();
- JMenu formatMenu = new JMenu();
+ protected JMenu formatMenu = new JMenu();
JMenu selectMenu = new JMenu();
{
return this.accelerators;
}
+
+ /**
+ * Returns the selected index of the tabbed pane, or -1 if none selected
+ * (including the case where the tabbed pane has not been made visible).
+ *
+ * @return
+ */
+ public int getTabIndex()
+ {
+ return tabbedPane.getSelectedIndex();
+ }
+
+ public JPanel getStatusPanel()
+ {
+ return statusPanel;
+ }
}