- FileMenu.setMnemonic('F');
- FileMenu.setText("File");
- HelpMenu.setText("Help");
- VamsasMenu.setText("Vamsas");
- VamsasMenu.setMnemonic('V');
- VamsasMenu.setToolTipText("Share data with other vamsas applications.");
- inputLocalFileMenuItem.setMnemonic('L');
- inputLocalFileMenuItem.setText("from File");
- inputLocalFileMenuItem.addActionListener(new java.awt.event.ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- inputLocalFileMenuItem_actionPerformed(null);
- }
- });
- inputURLMenuItem.setMnemonic('U');
- inputURLMenuItem.setText("from URL");
- inputURLMenuItem.addActionListener(new java.awt.event.ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- inputURLMenuItem_actionPerformed(null);
- }
- });
- inputTextboxMenuItem.setMnemonic('C');
- inputTextboxMenuItem.setText("from Textbox");
- inputTextboxMenuItem.addActionListener(new java.awt.event.ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- inputTextboxMenuItem_actionPerformed(null);
- }
- });
- quit.setMnemonic('Q');
- quit.setText("Quit");
- quit.addActionListener(new java.awt.event.ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- quit();
- }
- });
- aboutMenuItem.setText("About");
- aboutMenuItem.addActionListener(new java.awt.event.ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- aboutMenuItem_actionPerformed(e);
- }
- });
- documentationMenuItem.setText("Documentation");
- documentationMenuItem.addActionListener(new java.awt.event.ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- documentationMenuItem_actionPerformed(e);
- }
- });
- this.getContentPane().setLayout(flowLayout1);
- windowMenu.setText("Window");
- preferences.setText("Preferences...");
- preferences.addActionListener(new ActionListener()
+ FileMenu.setMnemonic('F');
+ inputLocalFileMenuItem.setMnemonic('L');
+ VamsasMenu.setMnemonic('V');
+ inputURLMenuItem.setMnemonic('U');
+ inputTextboxMenuItem.setMnemonic('C');
+ quit.setMnemonic('Q');
+ saveState.setMnemonic('S');
+ loadState.setMnemonic('L');
+ inputMenu.setMnemonic('I');
+ }
+ }
+
+ /**
+ * DOCUMENT ME!
+ *
+ * @throws Exception
+ * DOCUMENT ME!
+ */
+ private void jbInit() throws Exception
+ {
+
+ FileMenu.setText(MessageManager.getString("action.file"));
+ HelpMenu.setText(MessageManager.getString("action.help"));
+ VamsasMenu.setText("Vamsas");
+ VamsasMenu.setToolTipText(MessageManager
+ .getString("label.share_data_vamsas_applications"));
+ VamsasStMenu.setText(MessageManager.getString("label.connect_to"));
+ VamsasStMenu.setToolTipText(
+ MessageManager.getString("label.join_existing_vamsas_session"));
+ inputLocalFileMenuItem
+ .setText(MessageManager.getString("label.load_tree_from_file"));
+ inputLocalFileMenuItem.setAccelerator(
+ javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O,
+ Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(),
+ false));
+ inputLocalFileMenuItem
+ .addActionListener(new java.awt.event.ActionListener()