Results 1 to 3 of 3
  1. #1
    oregon is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default problems with applet tags

    Hey, I have this applet tag:
    Java Code:
    <applet code="App" width=671 height=358>
    </applet>
    why when I run my applet in a web browser/double-click the .html file does it appear as a 500 by 500 applet and not 671 by 358?
    any ideas?

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    Does the applet have a call to resize or setSize in it?

  3. #3
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default

    Every time the applet is run, the size in the HTML file is automatically regenerated to be 500 X 500. This is BlueJ's fault. Use something else to do this for you, or figure out how to manually configure the settings in BlueJ for the correct size.

Similar Threads

  1. applet.policy and i/0 problems
    By willemjav in forum NetBeans
    Replies: 0
    Last Post: 03-08-2008, 11:32 PM
  2. problems when I try to run an applet
    By boy22 in forum Java Applets
    Replies: 2
    Last Post: 08-11-2007, 04:47 PM
  3. Problems with compile applet
    By coco in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 08:43 AM
  4. problems with applet
    By paty in forum Java Applets
    Replies: 1
    Last Post: 08-05-2007, 05:16 AM
  5. Problems with downloading Files from Applet
    By Albert in forum Java Applets
    Replies: 1
    Last Post: 07-05-2007, 06:09 AM

Posting Permissions

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