Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Applets or JApplets?

 
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.
 
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.
 
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...
 
This tiny ad is guaranteed to be gluten free.
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic