Increasing the size of main frame in Netbeans

Hi,

i am working with Netbeans and the main frame that i have should have atleast 12 text fields in a row....my problem is that when i run it, half of the stuff is hidden....what should i change in the properties so that i can have it to scroll and so that the contents of the entire frame are visible.

Thanks

[328 byte] By [ElishaWa] at [2007-11-27 10:15:16]
# 1

frame.pack();

camickra at 2007-7-28 15:38:29 > top of Java-index,Desktop,Core GUI APIs...
# 2

Hey camickr

Thanks for your reply but when i tried it, it gives me an error that non static method pack() cannot be referenced from static context.....any suggestions?

Thanks

ElishaWa at 2007-7-28 15:38:29 > top of Java-index,Desktop,Core GUI APIs...
# 3

> any suggestions?

Yes, learn how to write a program without using an IDE so you understand the basic concepts about Swing programming.

Start with the "How to Make Frames" tutorial which has a 10 line demo program that shows how to do the above correctly:

http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html

camickra at 2007-7-28 15:38:29 > top of Java-index,Desktop,Core GUI APIs...