Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets or JApplets?

 
Timothy Chen Allen
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been learning to use JApplets, since they are part of Swing, and Swing is the new thing, right? But I just looked at the examples in the COde Barn and they are all based on Applets-- they don't even import javax.swing.*. And the JavaRanch cow quiz is based on Applets, not JApplets.
Why is this? Should general consumption applets be based on Applet instead of JApplet, since I can't count on the user to have a 1.2 compliant browser plugin?
Thanks in advance.
 
Daniel Searson
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, you're pretty much right when you say that you can't rely on the user to have a recent JVM. The Swing JApplet is also slower of course, like everything in Swing. If you find that you really need the features that Swing offers then just use the JApplet anyway and redirect users who don't have the latest version to the Sun website.
 
Jian Zhang
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so, the bro above suggest we should use awt or applet ?but not that new gigs out now? I am a little bit confused...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic