Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Applet not working in Browser

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Applet not working in Browser

    Hey!

    Recently i complete my Applet on AWT.
    Now i want to publish it on the internet. So i decided to get a subdomain with free hosting.

    My problem is that when i run that applet on my browser when class file is in local disk then it works fine.
    But when i upload that class file on hosting site then there is strange error. which i not able to understand.

    My webpage link that will run that java applet is
    www.maz3r.eu5.org/Paint/Drawit.htm

    I have another similar applet on that hosting website and it works fine.
    Link of that applet is
    www.maz3r.eu5.org/Paint/SimplePaint.htm

    so please solve this problem as quickly as possible.

    And thanks in advance.


  2. #2
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: Applet not working in Browser

    You have a SecurityException while reading an image. Where is the image located on your host, and how are you attempting to read it in?
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet not working in Browser

    there is strange error. which i not able to understand.
    Please post the full text of the error message.
    If you don't understand my answer, don't ignore it, ask a question.

  4. #4
    Junior Member
    Join Date
    Aug 2012
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet not working in Browser

    Thank you...
    My problem is solved.

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet not working in Browser

    Can you explain what the problem was and what you did to solve it?
    If you don't understand my answer, don't ignore it, ask a question.

  6. #6
    Junior Member
    Join Date
    Aug 2012
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Applet not working in Browser

    You can see it here How do I enable Java in my web browser?

Similar Threads

  1. Applet isn't showing up. Perhaps it's a browser fault.
    By javapenguin in forum What's Wrong With My Code?
    Replies: 33
    Last Post: May 14th, 2012, 08:46 PM
  2. Applet not working properly
    By kookevk in forum AWT / Java Swing
    Replies: 1
    Last Post: February 3rd, 2012, 01:29 AM
  3. [SOLVED] Why doesn't my Applet show up in my browser?
    By SendBorg in forum Java Applets
    Replies: 3
    Last Post: January 29th, 2012, 08:30 AM
  4. How to run Applet with Ms Sql connectivity in browser
    By mayanksmart4 in forum Java Applets
    Replies: 1
    Last Post: November 22nd, 2011, 09:57 AM
  5. HELP! My applet won't run on a web browser....
    By coolidge in forum Java Applets
    Replies: 4
    Last Post: October 21st, 2011, 08:52 AM