views:

957

answers:

3

Hello

I was waiting for the stable release of Netbeans 6.7 before starting to use it for my Java Programming.

I would like to how to change the Dimensions of the Applet Viewer in NetBeans 6.7.

When ever i run a java file by pressing SHIFT + F6, it opens an Applet but the dimensions are too small, i think they are around 300 X 300.

How to change those dimensions ?

A: 

Go to the project properties, there you choose Application -> Web Start, select Applet descriptor and click the button Applet Parameters. There you can set required dimensions.

Malcolm
I actually did try that, but it did not work.
Ibn Saeed
What if this is just a NetBeans bug? You should report it then.
Malcolm
Also doesn't work for me.
Shizam
+1  A: 

Or use the Resize() option to change the applet size when you run. Put the resize(width,heaght) in init() of your applet.

Aniruddha
A: 

resize(700,500)

has worked fine!!

pbhowmick