Class FramePanel

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public class FramePanel
    extends JPanel
    This class is the panel that is displayed in the QuickSetupDialog. It contains 3 panels that are passed in the constructor: the steps panel, the buttons panel and the current step panel (the main panel of the three).

    The only remarkable thing of this class is that is responsible for implementing the background. The three subpanels are transparent and this class sets a background (with the OpenDJ logo) and uses some basic transparency effects.

    See Also:
    Serialized Form
    • Constructor Detail

      • FramePanel

        public FramePanel​(Component stepsPanel,
                          Component currentStepPanel,
                          Component buttonsPanel)
        The constructor of the FramePanel.
        Parameters:
        stepsPanel - the steps panel that on the top-left side of the QuickSetupDialog.
        currentStepPanel - the current step panel (the panel that displays what is associated to the current step). Is the panel that contains all the input fields and is located on the top-right side of the QuickSetupDialog.
        buttonsPanel - the buttons panel that appears on the bottom of the QuickSetupDialog.
    • Method Detail

      • paintComponent

        protected void paintComponent​(Graphics g)
        This method has been overwritten to be able to have a transparency effect with the OpenDJ logo background.
        Overrides:
        paintComponent in class JComponent