Re: AWT vs. Swing in applets?

From: John (?)
Date: 11/18/03


Date: Tue, 18 Nov 2003 11:39:31 -0000


"Silvio Bierman" <sbierman@idfix.nl> wrote in message
news:3fb9f06e$0$58709$e4fe514c@news.xs4all.nl...
>
> "Jesper Matthiesen" <jmatthiesen[_fjen_]@tiscali.dk> wrote in message
> news:R3mub.36650$jf4.1919361@news000.worldonline.dk...
> > Hey sharks
> > If I want an applet that functions in the largest possible number of
> > browsers, which setup should I choose? Is it better to
> > use AWT than Swing? The user is the average, potentially technically
> > challenged user.
> > Kind regards - Jesper
> >
> >
>
> Don't use applets. Go with HTML and JS if at all possible. If that is
really
> impossible consider flash. I am a true Java proponent but applets are a
dead
> end.
>
> Regards,
>
> Silvio Bierman
>
>

I did a project using applets, and had a hard time getting them to work with
the various different browsers and platforms (especially Solaris). I managed
it in the end, and both Swing / AWT worked fine. Swing looks better and is
easier to use, so i'd recommend that.

If you are trying to achieve something simple / graphical then I agree with
the flash suggestion however.

john



Relevant Pages

  • Re: JFileChooser hangs
    ... and there is no response. ... When you mean the VM crashes, do you mean that the whole browser process exits abruptly, or that your applets stops responding, or something in between? ... Swing, like the vast majority of GUI APIs, is single threaded. ...
    (comp.lang.java.programmer)
  • Re: Java and Microsoft Windows
    ... controls from scratch, and never implements its controls as Microsoft ... be a significant performance penalty for drawing components "from scratch?" ... How popular is Swing ... Which of these are used for web applets? ...
    (comp.lang.java.programmer)
  • Re: copy and paste zu JTextArea unter MacOSX
    ... Schonmal über AWT nachgedacht? ... Das sieht zwar nicht so toll wie Swing aus, aber bei Applets hab ich meistens weniger Probleme. ...
    (de.comp.lang.java)
  • Re: Can I use a swing Component (e.g. JTextField) in a Java Applet
    ... Applets, yes. ... Swing in JApplets, yes. ... Andrew Thompson ...
    (comp.lang.java.programmer)
  • Re: jogl
    ... How well do you know Java? ... Swing in advance; in particular I'm thinking of becoming comfortable ... The reason I want jogl is to do applets. ...
    (comp.graphics.api.opengl)