![]() There are five components: a Label (providing description), a TextField (for users to enter text), and three Buttons (for user to trigger certain programmed actions). In the above figure, the top-level Frame contains two Panels. A Panel is a rectangular area used to group related GUI components in a certain layout. ![]() A Frame has a title bar (containing an icon, a title, and the minimize/maximize/close buttons), an optional menu bar and the content display area. A Frame is the top-level container of an AWT program. In the above figure, there are three containers: a Frame and two Panels. A container can also hold sub-containers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |