![]() ![]() ![]() Container: Container is a class that contains all the components such as button, textfield, titlebar, menubar, etc.Ģ. There are some basic components functions such as: Components: Components are the GUI objects such as buttons, label, textfield, checklist.public void adds (Component c): adds a component on this component.public void setSize(int width, int height): sets the component’s width and height.public void setLayout(LayoutManager m): defines the layout manager for the component.public void setVisible(boolean status): defines the visibility of the component by default, it is false.ģ.It creates a space for an application where all the components can be fit in. ![]() The panel does not contain a menubar or titlebar but can contain other components like textfield and buttons.ĥ. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |