GUI Components. • A GUI component is an object that represents a screen element . such as a button or a text field . • GUI-related classes are defined primarily in the java.awt. and the javax.swing packages.
GUI Components. • A GUI component is an object that represents a screen element . such as a button or a text field . • GUI-related classes are defined primarily in the java.awt. and the javax.swing packages.