menu = new JMenu(Strings.get("menu_view"));
}
final ButtonGroup group = new ButtonGroup();
menu.add(new JCheckBoxMenuItem(Strings.get("menu_view_console")) {
{
setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_1,
ActionEvent.ALT_MASK));
addActionListener(new SplitAction(splitPane,
consoleSwing.getJComponent()));
setState(true);
}
});
menu.add(new JCheckBoxMenuItem(Strings.get("menu_view_bundles")) {
{
setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_2,
ActionEvent.ALT_MASK));
addActionListener(new SplitAction(splitPaneHoriz,
bundlePanel));
setState(true);
}
});
menu.add(new JCheckBoxMenuItem(Strings.get("menu_view_info")) {
{
setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_3,
ActionEvent.ALT_MASK));
addActionListener(new SplitAction(splitPaneHoriz,
detailPanel));
setState(true);
}
});
menu.add(new JCheckBoxMenuItem(Strings.get("menu_view_toolbar")) {
{
setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_4,
ActionEvent.ALT_MASK));
addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ev) {
toolBar.setVisible(getState());
}
});
setState(true);
}
});
menu.add(new JCheckBoxMenuItem(Strings.get("menu_view_statusbar")) {
{
setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_5,
ActionEvent.ALT_MASK));
addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ev) {