Huiyuan
03-17-2000, 12:57 PM
Hi all,
When I use JTextArea to show an errormessage,like this:
JOptionPane.showMessageDialog(null, ErrorMsg);
The first time it works fine,but if I keep the input and execute the second
time to make the messagebox popup again,the box becomes smaller and the line
can't be displayed completely,I need to stretch it manually.Why?
Thanks.
When I use JTextArea to show an errormessage,like this:
JOptionPane.showMessageDialog(null, ErrorMsg);
The first time it works fine,but if I keep the input and execute the second
time to make the messagebox popup again,the box becomes smaller and the line
can't be displayed completely,I need to stretch it manually.Why?
Thanks.