Class ControlPanel

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
net.adoptopenjdk.icedteaweb.client.controlpanel.ControlPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ControlPanel extends JFrame
This is the control panel for Java. It provides a GUI for modifying the deployments.properties file.
See Also:
  • Field Details

  • Constructor Details

    • ControlPanel

      public ControlPanel(DeploymentConfiguration config)
      Creates a new instance of the ControlPanel.
      Parameters:
      config - Loaded DeploymentsConfiguration file.
  • Method Details

    • validateJdk

      private int validateJdk()
    • createButtonPanel

      private JPanel createButtonPanel()
      Creates the "ok" "apply" and "cancel" buttons.
      Returns:
      A panel with the "ok" "apply" and "cancel" button.
    • createMainSettingsPanel

      private JPanel createMainSettingsPanel(ControlPanelStyle style)
      Add the different settings panels to the GUI.
      Returns:
      A panel with all the components in place.
    • saveConfiguration

      private void saveConfiguration()
      Save the configuration changes.
    • main

      public static void main(String[] args)