![]() ![]() There are three container types – frames, dialogs and applets – but applets are no longer used and most browsers no longer support them. ![]() What are the 3 main types of containers in Java? It is basically a screen where the where the components are placed at their specific locations. The classes that extends Container class are known as container such as Frame, Dialog and Panel. The Container is a component in AWT that can contain another components like buttons, textfields, labels etc. Subclasses that represent basic GUI components are: Button, ScrollBar, TextField, Label, CheckBox, Canvas, and so on. Component is an abstract class in Java, so that you can only create objects belonging to its subclasses. Their subclasses represent visual elements of a graphical user interface. What are the subclasses of Java AWT component? (Of course, new component classes may be derived from any of these or from class Component itself.) These nine classes are class Button, Canvas, Checkbox, Choice, Label, List, Scrollbar, TextArea, and TextField. ![]() The AWT provides nine basic non-container component classes from which a user interface may be constructed. 8 Which is at the top of the AWT hierarchy?.6 What are 4 types of containers in Java?. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |