Example #1
0
  protected JPopupMenu createPopupMenu() {
    JPopupMenu popup = new JPopupMenu();

    TerminalAction.addToMenu(popup, this);

    return popup;
  }
Example #2
0
 public void keyPressed(final KeyEvent e) {
   if (!TerminalAction.processEvent(TerminalPanel.this, e)) {
     processTerminalKeyPressed(e);
   }
 }