Forums Login/signup

problems with this code

+Pie Number of slices to send: Send
hi,
like i said in my first post, I'm very new to java.
I've been tinkering on this programme for a while now.
what i want to create is an applet with :

1 JComboBox to the left of the screen....directly under this:
2 JButtons with texts on them to the left of the screen (one over the other)

and to the right of the screen a JLabel.

if a text is selected on the JCombo box...a click on a JButton should make the text in the JComboBox + the text in the JButton to appear in the JLabel....

if possible all this should be realised within a JPanel....

right now, i seem to have a general idea of what im doing, but i dont know how to link the various classes, methods objects etc together to produce a sensible programme.....im not making any progress any more.

can someone please look at this code, and tell me what improvements i need to make??? I'd be more than grateful...thanks.


[ December 06, 2005: Message edited by: uche obi ]
+Pie Number of slices to send: Send
Since this seems to be a question about using Java LayoutManagers, I'm going to move this to our Swing/AWT/JFace/SWT forum, where it's right on topic.
+Pie Number of slices to send: Send

[ December 07, 2005: Message edited by: Craig Wood ]
+Pie Number of slices to send: Send
@Craig...
thanks so much for the help!.....it's much appreciated.

still refering to the above applet.... is it of any advantage to use the "choice" method in place of the array for the JComboBox?... (i.e. String[] tempstrings ) ???

reply
reply
This thread has been viewed 977 times.
Similar Threads
Java Board Game
Java Software Solutions Graphics Example 3.9 noob help
I can't seem to get the hang of JFrame
Timer problem
Reg: Running Swing in Browser
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jun 29, 2025 03:42:42.