*
The moose likes Swing / AWT / SWT and the fly likes Problem in running JApplet in the Browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem in running JApplet in the Browser" Watch "Problem in running JApplet in the Browser" New topic
Author

Problem in running JApplet in the Browser

Anushajv
Greenhorn

Joined: Jul 26, 2001
Posts: 2
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

Joined: Jan 09, 2001
Posts: 1492
Hi,
Download it yourself.
http://java.sun.com/products/plugin/
Enjoy,
Manfred.
Anushajv
Greenhorn

Joined: Jul 26, 2001
Posts: 2
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

Joined: Jun 03, 2000
Posts: 5040
"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

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

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

Joined: May 13, 2001
Posts: 8
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

Joined: Jul 26, 2001
Posts: 19
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

Joined: May 13, 2001
Posts: 8
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

Joined: May 13, 2001
Posts: 8
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

Joined: Jul 26, 2001
Posts: 19
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

Joined: May 13, 2001
Posts: 8
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

Joined: Jul 26, 2001
Posts: 19
Hi,
My Id is anushajv@hotmail.com
Make it fast know.
Rgs,
Anusha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in running JApplet in the Browser