Forums Register Login

Swing pacakage

+Pie Number of slices to send: Send
When it says we must use swing, it doesn't mean we can only use from javax.swing package is it? we can use java.awt etc still right? Just to make sure...
+Pie Number of slices to send: Send
 

Originally posted by Anna Kafei:
When it says we must use swing, it doesn't mean we can only use from javax.swing package is it? we can use java.awt etc still right? Just to make sure...


Yep. We can...
+Pie Number of slices to send: Send
Hi Anna,
You can use AWT where necessary (for example using one of the layouts), but where there is a Swing equivalent, you should use it (e.g. don't use Button when you can use JButton).
Regards, Andrew
Get off me! Here, read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 455 times.
Similar Threads
WHAT IS A SWING & WHAT IS THE NEED FOR A SWING?
swing
Applet & Swing
Swing in MIDlets ?
swing
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:04:15.