Jul 5, 2002 #1 scienzia Programmer Feb 21, 2002 160 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 Feb 20, 2001 455 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.