Results 1 to 4 of 4
Thread: Creating a GUI - which method
- 01-15-2009, 04:00 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 42
- Rep Power
- 0
Creating a GUI - which method
Hi,
I need to create a GUI for users to kick off my java program.
In my training course we covered AWT and SWING which seem to have classes extending Applet and JApplet respectively.
On my travels through 'Java for Dummies' and other publications I have seen reference to JFrame.
Can anyone tell me which, in your opinion, is the best tool to use?
or what is the preferred way of acheiving what I am looking to do?
I need it to include a drop down list or two, a file browser and a button!!
thanks,
Matt
- 01-15-2009, 04:04 PM #2
Swing is the best tool to use. but what are you trying to achieve? Are you programming for cell, or desktop, or web, etc...?
- 01-15-2009, 04:22 PM #3
Member
- Join Date
- Sep 2008
- Posts
- 42
- Rep Power
- 0
I'm programming for a desktop. It will be run by several users, each one opening an application on their desktop.
with Swing, do I just extend JApplet to do what i'm doing? or is JFrame part of Swing (and if so, what is the difference between JApplet and JFrame)?
- 01-15-2009, 04:40 PM #4
Similar Threads
-
method not abstract, does not override actionperformed method.
By Theman in forum New To JavaReplies: 2Last Post: 03-26-2010, 05:12 PM -
Creating a New Method for Square Root Loop
By SapphireSpark in forum New To JavaReplies: 14Last Post: 02-25-2009, 01:21 PM -
Calling a method in a different class from within a method problem
By CirKuT in forum New To JavaReplies: 29Last Post: 09-25-2008, 07:55 PM -
Creating a new equals() method help
By Dave0703 in forum New To JavaReplies: 2Last Post: 09-21-2008, 05:32 PM -
cannot call private method from static method
By jon80 in forum New To JavaReplies: 3Last Post: 05-07-2008, 08:37 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks