Class PamPlainTextField

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants

public class PamPlainTextField extends JTextField
This is a class created to deal with the problem of text fields having a zero length. Originally seen in the LatLongDialogStrip displayed in the SimulatedObjectDialog, but may be present in other places.
Seems to be an issue with Java12+ JTextField not having a reasonable minimum size when using a GridBagLayout. Note this isn't a problem with Java 8.
Author:
mo55
See Also:
  • Constructor Details

    • PamPlainTextField

      public PamPlainTextField(int i)
      Parameters:
      i -
  • Method Details