• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic