aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes JApplet size issue with netbeans. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JApplet size issue with netbeans." Watch "JApplet size issue with netbeans." New topic
Author

JApplet size issue with netbeans.

Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 354

I have an issue where my applet is only opening up in a 200x350 window. When I look at the tag this is the <applet codebase="classes" code="d/d.class" width=350 height=200>
</applet>

Now I assume I can set it any which way when I put it on the page, but it's kind of annoying when I'm trying to debug and run the 400x700 app when it keeps opening so small... I keep trying to set all of the parameters in my panel/applet and nothing... I sthere a way to fix this?
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 484

Hmm, looks like it doesn't relate to NetBeans at all?


PM Me If You Want to get Urgent Help on Java Programming
Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 354

Nam Ha Minh wrote:Hmm, looks like it doesn't relate to NetBeans at all?


Originally I was going to post this in the Applet section, but I'm using Netbeans and figured it would have to do with that? Every time I run it, it runs with the TAG size.... It doesn't run in any size that I set it too, and I cannot change it To my knowledge.
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 484

Jay Orsaw wrote:

Originally I was going to post this in the Applet section, but I'm using Netbeans and figured it would have to do with that? Every time I run it, it runs with the TAG size.... It doesn't run in any size that I set it too, and I cannot change it To my knowledge.


That's true. Applet Tag's size specifies the container for the applet. So if you want to resize the applet, you have to update size attributes in its tag also.
Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 354

Nam Ha Minh wrote:
Jay Orsaw wrote:

Originally I was going to post this in the Applet section, but I'm using Netbeans and figured it would have to do with that? Every time I run it, it runs with the TAG size.... It doesn't run in any size that I set it too, and I cannot change it To my knowledge.


That's true. Applet Tag's size specifies the container for the applet. So if you want to resize the applet, you have to update size attributes in its tag also.


The only thing is there was no "TAG" option in the netbeans properties or anything... Where is the tag within the IDE? There was somthing called "STUB" I believe which had a resize function....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JApplet size issue with netbeans.
 
Similar Threads
Applet-JMS design issue
jdbc driver not found
Applet is not reflecting changes to a class
HTML wont run Applet
java.security.AccessControlException: access denied (java.util.PropertyPermission *read,write)