Package ui

Class SerAssignmentsDialog

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

public class SerAssignmentsDialog extends JDialog
The dialog to assign machine names for serial ports to the SMSQE serial ports. It contains one row with 3 columns per serial port.
See Also:
  • Field Details

  • Constructor Details

    • SerAssignmentsDialog

      public SerAssignmentsDialog(Frame parent, boolean modal, String[] serNames)
      Create the dialog.
      Parameters:
      parent - standard jdialog param
      modal - standard jdialog param
      serNames - array with serial port names as they are configured and contained in the ini file. Whilst each element of the ayyar may be empty or null, the array itself must NOT be null or empty. THIS IS NOT CHECKED HERE!
  • Method Details

    • setVisible

      public void setVisible()
      This obviously does NOT show the dialog. Use getPorts() for this.
    • getPorts

      public final String[] getPorts()
      Returns the results of the user's changes, or NULL
      Returns:
      string array with changes made by user, or null if user left with cancel button or ESC (meaning no change).