Java Swing Interview Questions and Answers
Question: What's Java Swing?Answer: Swing is a GUI toolkit for Java. It is one part of the Java Foundation Classes (JFC). Swing includes graphical user interface (GUI) widgets such as text boxes, buttons, split-panes, and tables.rnSwing widgets provide more sophisticated GUI components than the earlier Abstract Window Toolkit. Since they are written in pure Java, they run the same on all platforms, unlike the AWT which is tied to the underlying platform's windowing system. Swing supports pluggable look and feel not by using the native platform's facilities, but by roughly emulating them. This means you can get any supported look and feel on any platform. The disadvantage of lightweight components is slower execution. The advantage is uniform behavior on all platforms. |
Is it helpful?
Yes
No
Most helpful rated by users:
- Why does it take so much time to access an Applet having Swing Components the first time?
- What\'s Java Swing?
- What are the differences between Swing and AWT?
- What is JFC?
- What is AWT?