Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Applets or JApplets?

 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic