For some reason, when I try to use the following code,
Java Code:
idiomText.setPreferredSize(new Dimension((int)width, 24));
I can't change the width of the text box, but I can change the height. Can anyone tell me what I'm doing wrong??
If you need more details please let me know
I am using the drag and drop swing gui designer