It's been a little while, but...
Quote:
|
is it possible to get an applet into an application frame? if so, how???
|
An Applet and an Application are two different things. An Applet can't just run on its own, it needs a viewer of some kind; whereas, an Application can run on its own just fine (using the Java interpreter of course...).
I think what you might be asking is how do you turn an Applet into an Application with a GUI. You should be aware that an Application can have a GUI. I don't think it's quite as easy as converting it directly, but the logic of the Applet -- depending on how nicely you've coded it -- should transpose easily. Try
this link for more information.
Quote:
|
what is the difference between the JButton and Button objects???
|
JButton is a Swing object whereas Button is an AWT object. Swing and AWT are two different GUI libraries within Java -- AWT is starting to get phased out and Swing is the way to go. Both accomplish the same task, it's just that Swing is supposed to be more supported in the future and will look nicer -- look&feel stuff -- etc.. Try
this link for more information.
Hope that helps,
Sadiq.