• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

AWT vs Swing - installation requirements?

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK. Many thanks.
 
a wee bit from the empire
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic