Class SimpleDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
AboutRouteConverterDialog, AboutTimeAlbumProDialog, AddFileDialog, AddUrlDialog, CompleteFlightPlanDialog, DeletePositionsDialog, DepartureTimeDialog, DownloadsDialog, FindPlaceDialog, InsertPositionsDialog, LoginDialog, MapsDialog, MaximumPositionCountDialog, OptionsDialog, RenameDialog, SendErrorReportDialog, ThemesDialog, ThemeStyleDialog

public abstract class SimpleDialog extends JDialog
The base of all simple JDialogs.
Author:
Christian Pesch
See Also:
  • Constructor Details

    • SimpleDialog

      public SimpleDialog(Window owner, String name)
  • Method Details

    • setContentPane

      public void setContentPane(Container contentPane)
      Wires the ? button that a dialog's GUI Designer form declares to the dialog's help topic (specs/00030 §11). Hooked here rather than in each dialog's constructor because the form-declared button is instantiated by the generated $$$setupUI$$$ method, which the IDE rewrites from the .form - that is how the only hand-added wiring, in DownloadsDialog, silently turned into a dead button.
      Specified by:
      setContentPane in interface RootPaneContainer
      Overrides:
      setContentPane in class JDialog
    • showWithPreferences

      public void showWithPreferences()
    • dispose

      public void dispose()
      Overrides:
      dispose in class Window
    • setVisible

      public void setVisible(boolean visible)
      Overrides:
      setVisible in class Dialog