Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.java.programmer > #3571

Re: should I use java.awt.* only or also use javax.swing in applets?

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: should I use java.awt.* only or also use javax.swing in applets?
Date 2011-05-05 12:16 -0400
Organization The Wasteland
Message-ID <nospam-85654B.12160105052011@news.aioe.org> (permalink)
References <ba0c3c4d-cf9e-4b1b-82a8-30b84405b915@17g2000prr.googlegroups.com> <h%kwp.57959$0s5.42695@newsfe17.iad>

Show all headers | View raw


In article <h%kwp.57959$0s5.42695@newsfe17.iad>,
 Knute Johnson <nospam@knutejohnson.com> wrote:

[...]
> Don't hesitate to use JApplet and Swing components.  If a computer 
> will run an AWT Applet it will run a JApplet.  Remember though that 
> just like a Swing application, a JApplet must construct the GUI on 
> the Event Dispatch Thread.  There is a discussion of that on Sun's 
> tutorial website.
> 
> You can see a JApplet game here;
> 
> http://rabbitbrush.frazmtn.com/asteroids.html

Somehow I'd previously overlooked the need to construct the GUI on the 
EDT for JApplets. Thanks for the reminder!

<http://download.oracle.com/javase/tutorial/deployment/applet/getStarted.html>

I've updated this old chestnut, accordingly:

<https://sites.google.com/site/drjohnbmatthews/subway>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

should I use java.awt.* only or also use javax.swing in applets? steveh44 <steve_h44@yahoo.com> - 2011-05-04 14:34 -0700
  Re: should I use java.awt.* only or also use javax.swing in applets? Knute Johnson <nospam@knutejohnson.com> - 2011-05-04 16:07 -0700
    Re: should I use java.awt.* only or also use javax.swing in applets? "John B. Matthews" <nospam@nospam.invalid> - 2011-05-05 12:16 -0400
      Re: should I use java.awt.* only or also use javax.swing in applets? markspace <-@.> - 2011-05-05 10:35 -0700
        Re: should I use java.awt.* only or also use javax.swing in applets? "John B. Matthews" <nospam@nospam.invalid> - 2011-05-05 17:20 -0400
          O/T: Awesome vocabulary (Was: should I use java.awt.* only or also use javax.swing in applets?) Lew <noone@lewscanon.com> - 2011-05-05 17:28 -0400
            Re: O/T: Awesome vocabulary (Was: should I use java.awt.* only or also use javax.swing in applets?) Tom Anderson <twic@urchin.earth.li> - 2011-05-05 23:31 +0100
              Re: O/T: Awesome vocabulary (Was: should I use java.awt.* only or also use javax.swing in applets?) Jim Janney <jjanney@shell.xmission.com> - 2011-05-05 17:02 -0600
          Re: should I use java.awt.* only or also use javax.swing in applets? markspace <-@.> - 2011-05-05 20:05 -0700
  Re: should I use java.awt.* only or also use javax.swing in applets? Lew <noone@lewscanon.com> - 2011-05-04 19:10 -0400
  Re: should I use java.awt.* only or also use javax.swing in applets? Roedy Green <see_website@mindprod.com.invalid> - 2011-05-05 16:47 -0700
  Re: should I use java.awt.* only or also use javax.swing in applets? Andrew Thompson <andrewthommo@gmail.com> - 2011-05-06 03:25 -0700
    Re: should I use java.awt.* only or also use javax.swing in applets? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-05-06 19:06 +0200

csiph-web