Re: where does java begin
Thomas Fritsch wrote:
katsoft@takemail.com wrote:
now that am a beginner, should i first learn swings or applets.
It is not an either/or! An applet can be Swing or
AWT based, as can an application.**
gim'me a good idea of where to start, Thanks
I recommend this learning sequence:
(1) simple command line applications
(use only packages java.lang, java.io, java.util)
(2) GUI applications
(add use of packages javax.swing, java.awt)
(3) Applets
(add use of packages java.applet)
Be aware that (2) is much more difficult than (1),
(3) is much more difficult than (2).
I agree wholeheartedly.
In fact, I'll go a little further in respect to applets.
If you hear any advice that suggests starting
Java programming with applets* is a good idea,
it is a sign that the advisor is an idiot.
* Such as books that have a 'fun' animation
applet on page 3.
** The only reason some people think 'AWT'
for applets is that it can be made to run under
Java 1.1 VM's, and that is really only the
domain of testing and launching applets,
in this day and age.
Andrew T.