Panel – It is used to organize components on to a windowįrame – A fully functioning window with icons and titlesĭialog – It is like a pop up window but not fully functional like the frame For building GUI applications at least one container class is necessary.įollowing are the three types of container classes: Container ClassĪny classwhich has other components in it is called as a container class. This is helpful because we do not have to start from the scratch. It becomes easier to build applications since we already have GUI components like button, checkbox etc. It is platform independent unlike AWT and has lightweight components. It is build on top of the AWT API and entirely written in java. It is a part of the JFC( Java Foundation Classes). Swing in Java is a lightweight GUI toolkit which has a wide variety of widgets for building optimized window based applications. Following are the concepts discussed in this article: In this article, we will go through the concepts involved in the process of building applications using swing in Java. Putting together all these components makes a graphical user interface. It includes components like button, scroll bar, text field etc. It is used for creating window based applications. Swing in java is part of Java foundation class which is lightweight and platform independent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |