Re: JOptionPane blank message after first time
- From: Trung Chinh Nguyen <chinhnt2k3@xxxxxxxxx>
- Date: Sat, 29 Apr 2006 23:01:23 GMT
James McGill wrote:
I have a problem getting this to work. It's in the update() method of an observer, and I want to see this JOptionPane every update:
JOptionPane.showMessageDialog(null, result.toString(), "Result", JOptionPane.INFORMATION_MESSAGE);
It shows fine the first time, but after the first time, I just see the JOptionPane's frame, and it will paint the button if I mouse over it, but no message. What could be wrong? the "result" object isn't null
or anything like that.
Makes no difference if I put a container as the first argument.
There's nothing wrong with that piece of code. The bug might lie somewhere else so it might be useful if you can give some more details
.
- References:
- JOptionPane blank message after first time
- From: James McGill
- JOptionPane blank message after first time
- Prev by Date: Re: Need help in comparing the string words in two arrays.
- Next by Date: Re: Incorrect "variable might not have been initialized"
- Previous by thread: JOptionPane blank message after first time
- Index(es):