Q&A

Q1:Can an application be created without Swing?
A1: Certainly. Swing is just an expansion on the Abstract Windowing Toolkit, and if you are developing an applet for Java 1.0, you could only use AWT classes to design your interface and receive input from a user. Whether you should create an application without Swing is another issue. There's no comparison between Swing's capabilities and those offered by the AWT. With Swing, you can use many more components and control them in more sophisticated ways.

Questions

1:What is the default look and feel in a Java application?
  1. Motif

  2. Windows

  3. Metal

2:Which user interface component is commonplace in software installation programs?
  1. Sliders

  2. Progress bars

  3. Dialog boxes

3:Which Java class library includes a ...

Get Sams Teach Yourself Java 2 in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.