• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing components not visible in applet  RSS feed

 
Vrinda
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am trying to build a Japplet using swing components. But the components are not visible after executing the applet. Do I need to install some pug-in.
Please help.
regards
Vrinda
[This message has been edited by Vrinda (edited August 04, 2000).]
[This message has been edited by Vrinda (edited August 04, 2000).]
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes vrinda,
u do need plugin to run a swing applet.
what u can do is u can use html converter and convert ur html file to a different format. after converting whenever u'll try to open the html file the plugin will be automatically downloaded.
the HTML converter is available at sun's site.
regards
deekasha
 
Krishna Shubha
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, Vrinda
ca I see ur programm code ?.I did had any problem executing JApplet And I did add any pug ins
 
Krishna Shubha
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please not NOT IS MISSING IN THE ABOVE REPLY.SORRY FOR THAT
 
ravee
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
krishna , do you mean you did not have any problems running JApplet w/o plugins ?! Can you please tell me the browser you are using and the jdk ver? and do you mean you did not add anything to the html
file ?
thanks
ravee.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vrinda,
You need to download a software called HTML converter from the sun site
1) http://java.sun.com/products/plugin/features.html
This is a large file and once downloaded
2) you have to install it
3) Run the program from Start menu
4) Select the file you want to convert and press convert
5)) the program creates a .conv file. rename it to .Html or .htm .
6) download the Java plug-in from here
http://java.sun.com/products/plugin/index.html
This is again a large file of 5-8 MB based on which version you want to download
6) open the converted file and SWing works!!!.
But this takes a hell lot of time. It may take this much time only the first time.
Regds
Rahul.

[This message has been edited by Rahul Mahindrakar (edited August 14, 2000).]
 
ravee
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,
the convertor I have is only 146KB winzip file and it works fine.The file required is i18n.jar (as the plug-in) with this file the swing applets should work nice.
thanks
ravee.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!