Package rocca

Class RoccaClickTypeDialog

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class RoccaClickTypeDialog extends JDialog implements ActionListener
Use this modal dialog to let the user choose one string from a long list. See ListDialogRunner.java for an example of using ListDialog. The basics:
See Also:
  • Method Details

    • showDialog

      public static int[] showDialog(Component frameComp, Component locationComp, String title, String[] possibleValues, int[] initialValue)
      Set up and show the dialog. The first Component argument determines which frame the dialog depends on; it should be a component in the dialog's controlling frame. The second Component argument should be null if you want the dialog to come up with its left corner in the center of the screen; otherwise, it should be the component on top of which the dialog should appear.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener