This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can swing run on a browser that doesn't have a plug in ?  RSS feed

 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I just wanna know if a swing components will work fine if my client do not have plug in installed ? Is it necessary for my clients download and install the plug in ?
If it is than whats the benefit for swings ?
Regards,
 
Lucas Richardson
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They will need the plug-in to use Swing in a browser, as the browsers only support java 1.1.something that does not support swing.
There are many benefits. First of all, there aren't peer components in swing. For every AWT component, there is a native peer component in the OS. This slows things down, and is restrictive. Because of this, there is also the pluggable look and feel, which allows you to change how everything looks. You can make your whole program look like windows, unix, or java's own "metal" look, and it will look that way on all platforms. You can also create your own. Swing also has more components than AWT does, and most things are more customizable.
You can find some more information here: http://java.sun.com/products/jfc/
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They only have to download the plug-in 1 time. It isn't that big a deal.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!