Class NetworkSettingsPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class NetworkSettingsPanel extends JPanel implements ActionListener
This is the pane used with creating a JDialog version. This allows changing the network configuration: Proxy
See Also:
  • Field Details

    • properties

      public static String[] properties
      List of properties used by this panel
  • Constructor Details

    • NetworkSettingsPanel

      public NetworkSettingsPanel(DeploymentConfiguration config)
      Creates a new instance of the network settings panel.
      Parameters:
      config - Loaded DeploymentConfiguration file.
  • Method Details

    • addComponents

      protected void addComponents()
      This adds the components to the panel.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • getPortNumberDocument

      public static PlainDocument getPortNumberDocument()
      Creates a PlainDocument that only take numbers if it will create a valid port number.
      Returns:
      PlainDocument which will ensure numeric values only and is a valid port number.