This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

swingall.jar  RSS feed

 
Anu
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made a chat application using Swingall.jar for front end. I had to put swingall in archive attribute of applet tag, on the client side. This has resulted in very difficult dowload of client applet due to size of swingall.jar.
1) Is there anyway to reduce the size of swingall.jar or where shd i put my swingall.jar so that i m not required to put it as archive.
2) How shd i make client browser swingall.jar compatible without putting it in archive.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are only two ways of sending the applet files, one is loose files with one reference for each file, the other is one consolidated archive which is the better option if you have large amount of archive material. The advantage of sending the files separately is that execution can commence as the files download.
But you have probably already made the better choise.
 
Ashwin Desai
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is swingall.jar your own jar file or is it the file that ships or rather shipped with an earlier version of JDK ?
If it's your own file, then you will have to include it as an archive atrribute in the applet tag and the client applet will have to dload the entire file. There is no other choice because that's how applets work.
But, if it contains swing classes, then a better idea is to use a plugin. Thus when the browser encounters the applet, it pops up a dialog prompting the user to install the plug-in. But, beware the plug-in is at least 6-7 MB. So, it takes a lot of time to dload and install. For more info, please search for Java Plug-in home page om www.javasoft.com
Ashwin.
 
Anu
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swingall.jar is saperate jar file provided for advanced swing components.
I dont want users to install any plugin (infact even plug inn is too heavy to be installed). Isnt there anyway to use swingall.jar without installing any plugin.
Thanx
Anukampa
 
Anu
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swingall.jar is saperate jar file provided for advanced swing components.
I dont want users to install any plugin (infact even plug inn is too heavy to be installed). Isnt there anyway to use swingall.jar without installing any plugin.
Thanx
Anukampa
 
Anu
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pls help me with this asap !!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!