Class GotoLineDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, EscapeListener

public class GotoLineDialog extends JDialog implements EscapeListener
A simple dialog to prompt for a line number and go to it
See Also:
  • Method Details

    • showForEditor

      public static void showForEditor(JTextComponent text)
      Create or return the GotoLine dialog for a given ext component
      Parameters:
      text -
    • escapePressed

      public void escapePressed()
      Description copied from interface: EscapeListener
      This method will be called when ESC key is pressed.
      Specified by:
      escapePressed in interface EscapeListener