Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in running JApplet in the Browser

 
Anushajv
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am in need of ur help in executing a Swing Project on the web without making use of Servlet.This project includes lots of images.
Initailly I tried with an example given in the sun website
(http://192.9.48.9/products/plugin/1.3/demos/applets/MoleculeViewer/example1.html) and it prompted for installing javaplugin but an application error occured in my system(Windows NT) and it was not installed.
Please help me to recover from this problem and Thanx for the same.
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Download it yourself.
http://java.sun.com/products/plugin/
Enjoy,
Manfred.
 
Anushajv
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Thanks.But I tried with it also.
Still it does not work.
Please give me idea of making use of that downloaded file
i.e--Setting up classpath or so
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Anushajv"
your name doesn't seem to agree with the javaranch guidelines.
please take a moment and re-register yourself after selecting
a valid name according to the guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

it prompted for installing javaplugin but an application error occured in my
system(Windows NT) and it was not installed.

what was this error?
- satya
 
santosh desai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi anusha,
i have displayed the swing application on the browser using the javaplugin.apart from installing the plugin u need to have an html converter to display ur swing application on the browser.
regards
santosh
 
Anusha Jv
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Santhosh,
Even I have got it working by downloading the plugin from the sun's website.
But now the problem is I want my (Swing)website to be accessed anywhere even when the client machine does not have the plugin installed and must prompt to download the plugin.
When I convert my applet and when it prompts to install the plugin in another machine not having plugin I get an application error and the Swing applet(with swing components) is not displayed.
Please do help me
Rgs,
Anusha
 
santosh desai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi anusha,
there was some problem with the html code i had written actually it started executing,
just add this into ur html code
codebase=http://java.sun.com/products/plugin/1.2/plugin-install.html
or u can give ur server path if the plgin is installed in ur server
regards
santosh

[This message has been edited by santosh desai (edited July 30, 2001).]
 
santosh desai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi anusha,
sorry the html code provided executed automatically..
any in the code base provide this path name.
http://java.sun.com/products/plugin/1.2/plugin-install.html
or if the plugin is installed give ur server path
regards
santosh
 
Anusha Jv
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Santhosh,

I just see the message "Loading Applet......" sice 1/2 an hr.
Will it take that much time
Reply me know
Rgs,
Anusha
 
santosh desai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi anusha
if u can give me ur email id i can post the code itself,here it is executing as open the site.that's why u got "Loading applet" which wont loads actually.
regards
santosh
 
Anusha Jv
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My Id is anushajv@hotmail.com
Make it fast know.
Rgs,
Anusha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic