Results 1 to 3 of 3
  1. #1
    karln is offline Member
    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0

    Default Need help with Eclipse Applet Viewer

    I have an applet that I developed without eclipse using notepad for the .java file and .htm file. The applet runs fine from the command line using the JDK appletviewer. However, I have imported the .java and .htm into an Eclipse project. When I choose Run As > Java Applet the default Applet window that pops up is too small to show the entire applet. Resizing the Applet window just shows additional white space. Is there a way I can change the default size of the applet window in eclipse? I am doing this because it is much easier to run the applet from Eclipse rather than using the command prompt.

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    787
    Rep Power
    5

    Default Re: Need help with Eclipse Applet Viewer

    Right click -> Run As... > "Run configurations.." -> select the Applet if its not selected -> go to "Parameters" and you can change the width/height to whatever you need.

  3. #3
    karln is offline Member
    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0

    Default Re: Need help with Eclipse Applet Viewer

    Quote Originally Posted by eRaaaa View Post
    Right click -> Run As... > "Run configurations.." -> select the Applet if its not selected -> go to "Parameters" and you can change the width/height to whatever you need.
    Worked! Thanks so much for the quick response.

Similar Threads

  1. cant change the size of the applet viewer
    By nabil in forum Java Applets
    Replies: 7
    Last Post: 02-13-2012, 03:49 PM
  2. Need Help With Eclipse Applet Viewer
    By Vorsaykal in forum Eclipse
    Replies: 1
    Last Post: 11-06-2011, 05:33 AM
  3. applet working in applet viewer, not browser
    By plasticfood in forum Java Applets
    Replies: 4
    Last Post: 06-24-2011, 06:47 PM
  4. java applet viewer dimensions
    By yuriythebest in forum Java Applets
    Replies: 1
    Last Post: 11-08-2008, 10:44 PM
  5. Eclipse Applet Viewer not showing graphics?
    By sjchase in forum Java Applets
    Replies: 1
    Last Post: 04-17-2008, 04:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •