Class ControlPanel


  • public class ControlPanel
    extends Object
    The class that is in charge of creating the main dialog of the ControlPanel and the ControlCenterInfo (the data structure that is used by all the GUI components and that contains information about the server status and server configuration).
    • Constructor Detail

      • ControlPanel

        public ControlPanel()
    • Method Detail

      • main

        public static void main​(String[] args)
        Main method that is used for testing purposes. The control-panel command-line is launched through the ControlPanelLauncher (which displays a splash screen and calls the initialize and createAndDisplayMethods.
        Parameters:
        args - the arguments that are passed.
      • initialize

        public void initialize​(String[] args)
        Method that creates the ControlCenterInfo object that will be in all the control panel. Nothing is done here: the user must say whether the server is local or remote.
        Parameters:
        args - the arguments that are passed in the command line. The code assumes that the arguments have been already validated.
      • createAndDisplayGUI

        public void createAndDisplayGUI()
        Creates the main Control Panel dialog and displays it.