Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOptionPane and alternatively a Modal Dialog

 
Hetal Seth
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All:
I have written a report error class and am using the JOptionPane. Now the JOP soimetimes does not display the error messages on its window, though the window pops up with the title on the title bar and the 'ok' button. If there was no display of the messages at all, I can understand that there must have been somethin wrong with my code, but that is not the case, as I mentioned earlier.
Alternatively,
I developed a modal dialog for similar purpose and found the some reaction as the JOP.
Does anyone have a clue as to what is the problem ?
Thanks,
Hetal
[This message has been edited by Hetal Seth (edited October 30, 2001).]
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you using the static show methods of JOptionPane or are you instatiating it? you should rather use the show######Dialog options. I never had problems with them so I suppose it is a bug in your problem.
post the relevant code.
chantal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic