This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet not working in browser

 
Nijin puthiya purayil
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not without some code and a clearer explanation of
not giving the desired output....


See: ItDoesntWorkIsUseless
 
Nijin puthiya purayil
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nijin puthiya purayil
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[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
Bartender
Posts: 2745
38
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim Moores...you again helped me
thanks a lot...now my application is working perfectly..thanks again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic