aspose file tools*
The moose likes Applets and the fly likes Applet not working in browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet not working in browser" Watch "Applet not working in browser" New topic
Author

Applet not working in browser

Nijin puthiya purayil
Ranch Hand

Joined: Nov 09, 2011
Posts: 32
Hai,
In my application i created an applet which is working perfectly in the applet viewer of NetBeansIDE....when i tried it with the browser, the applet is initialized and shows the gui but not giving the desired output....
Actually the applet gives the output when i click on the button....as i said this applet is working perfectly in the applet viewer of my IDE...can anybody tell me what can be the problem???
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4541
    
    5

Not without some code and a clearer explanation of
not giving the desired output....


See: ItDoesntWorkIsUseless


luck, db
There are no new questions, but there may be new answers.
Nijin puthiya purayil
Ranch Hand

Joined: Nov 09, 2011
Posts: 32
Darryl Burke wrote:Not without some code and a clearer explanation of


Actually the problems was with my firefox plugin..."the icedtea plugin for applet"...here i am using ubuntu...so it supports openjdk and icedtea...
I came across so many posts in other sites relating to this problem....the code which i wrote is correct..the problem is with the plugin....
other than uninstalling plugin is there any other remedies for this problem???Because every posts say that we have to uninstall the icedtea and replace the openjdk with sun's jdk...
it is not applicable for me because my application will be viewed by the users who may be using ubuntu and they will be recommended by the firefox to install icedtea plugin...so again my application will fail...
if you ever encountered with this kind of problem please do help me...

Andrew Thompson
Ranch Hand

Joined: Aug 05, 2010
Posts: 77
    
    5
Nijin puthiya purayil wrote:..the code which i wrote is correct..


Have you heard of the magnificent luxury liner known as the Titanic? It is unsinkable!

What iceberg did your code run into?

Or to put that another way. While the plugin might be responsible, I would not believe it until you provide code, a detailed error or exception message, and you can show us either an 'accepted' bug listed against that plug-in, or at least similar posts mentioning the same problem with it.


Andrew Thompson
http://pscode.org/
Nijin puthiya purayil
Ranch Hand

Joined: Nov 09, 2011
Posts: 32
[quote=
I would not believe it until you provide code, a detailed error or exception message,

Here i'm posting my code...i mentioned about the code since the same code worked with another application....anyway you are more familiar with applets than me..i'm just a begginer..if there are errors in my code please let me know...
here the button click must give the output..so i'm posting the button action performed..the ta is texarea...actually i'm substituting 1 or 2 urls in to the textarea and clicking the download button....then these files will be downloaded to the temp directory of my system...i'm using the netbeans ide...so i'm not posting the other part of the code..since it contains the generated code..expecting reply..
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
The applet is using file I/O - that is only allowed if the applet is signed or if the local security policy has been relaxed; is either the case?

If it's not, then there should also be error messages to that effect in the Java Console (which you always need to check first in case of applet problems).
Nijin puthiya purayil
Ranch Hand

Joined: Nov 09, 2011
Posts: 32
Thanks Tim Moores...you again helped me
thanks a lot...now my application is working perfectly..thanks again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet not working in browser