Package cnuphys.lund

Class LundTrackDialog

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

public class LundTrackDialog extends JDialog
See Also:
  • Field Details

  • Method Details

    • getInstance

      public static LundTrackDialog getInstance()
      Access to the dialog singleton
      Returns:
      the dialog (set visible)
    • paddedPanel

      public static JPanel paddedPanel(int hpad, int vpad, Component component)
      Create a nice padded panel.
      Parameters:
      hpad - the pixel pad on the left and right
      vpad - the pixel pad on the top and bottom
      component - the main component placed in the center.
      Returns:
      the padded panel
    • centerComponent

      public static void centerComponent(Component component)
      Center a component.
      Parameters:
      component - The Component to center.
      dh - offset from horizontal center.
      dv - offset from vertical center.