• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AWT vs Swing - installation requirements?

 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Relating to AWT vs Swing applets, can someone clarify what the installation requirements are for the user in terms of JRE / Java plugin?

(I am trying to decide whether to go the AWT route or Swing route. AWT can provide all the functionality I need, but the applet can look more professional with Swing, so maybe this JRE / Java plugin issue might be the deciding factor...)

Thanks in advance,
James
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing has been part of the JDK/JRE for a long time now, so if the plugin is installed, you will have both AWT and Swing available. Only with age-old Java 1.1-JVMs (like the MS JVM that ships with IE, and the Mac OS 9 JVM) would you not have Swing available.
 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf,

Does that mean the majority of machines with IE would not have Swing available?

Thanks,
James
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Many manufacturers ship their systems with the plugin preinstalled (I think IBM, Dell, Gateway, HP, ...), so chances are that Swing is available. No guarantees, though.

That was one of the results of the MS monopoly suit, that manufacturers can install additional software on Windows, and Sun has been successful (or paid money, who knows) in persuading them to ship Java.
 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK. Many thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic