Answer:
e) None of the above
For a GUI..
..for my students to take the exam online.
Create a JFrame
based application, and launch it from a link using Java Web Start.
Netbeans probably has a wizard for JWS projects. Perhaps see Enabling Java Web Start in the NetBeans IDE for further details.
Update 1: AWT vs. Swing
One of the most relevant differences between AWT (e.g. Applet
/Frame
) & Swing (JApplet
/JFrame
) is that AWT is last millennium's GUI toolkit. Use Swing this millennium.
See a quick overview of the advantages of Swing over AWT for more details.
Update 2: GUI designer vs. coding by hand
I recommend not choosing any Netbeans GUI making project that ends in 'Form', if that means the GUI designer. A GUI designer offers great productivity gains to developers who already understand the layouts1, and how to nest2 them inside one another to layout a GUI in a logical and resizable way. But for a new programmer, they just get in the way, and produce horrendous code that few people will look at, let alone help debug.
- See Laying Out Components Within a Container for more details on layouts.
- There is a nice screenshot of a nested layout (with links to the code) in the post mentioned above discussing Swing vs. AWT.
Update 3: Further clarification
Do you have any examples of such JFrame based application for questionaires?
Not offhand (again, worthy of a question of its own - please stop thinking of 'a' question as some sort of 'one-stop shop').
Will this also be able to be integrated with MySQL Database as the questions will be pooled from there?
MySQL integration:
- Server-side: Just as easy for an applet or JWS application if the DB is on the same server as the app. The app. needs to be trusted either way to reach out to a remote server.
- Client side. Easier to get up and running using a JWS app.