• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JOptionPane and alternatively a Modal Dialog

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
This looks like a job for .... legal tender! It says so right in this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic