Jul 5, 2002 #1 scienzia Programmer Joined Feb 21, 2002 Messages 160 Location IT I usually program in c++, and I'm not so good in making windows in Java... How do I set a JTextField size? I'm talking about the size in the window, not the number of characters.
I usually program in c++, and I'm not so good in making windows in Java... How do I set a JTextField size? I'm talking about the size in the window, not the number of characters.
Jul 5, 2002 #2 pipk Programmer Joined Feb 20, 2001 Messages 455 Location GB you should be able to use the inherited methods setMaximumSize() setMinimumSize() setPreferredSize() although their effectiveness may be dependent on the layout manager you are using and the size of other components on your layout. Upvote 0 Downvote
you should be able to use the inherited methods setMaximumSize() setMinimumSize() setPreferredSize() although their effectiveness may be dependent on the layout manager you are using and the size of other components on your layout.
Jul 8, 2002 Thread starter #3 scienzia Programmer Joined Feb 21, 2002 Messages 160 Location IT Thanks Upvote 0 Downvote