• Post Reply Bookmark Topic Watch Topic
  • New Topic

Message Box??

 
Ryan Smith
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is somewhat GUI-oriented, but very basic...

I want to display an error in one of those little boxes that pop up with a few lines of text, and OK and/or Cancel buttons. Is there a special class for these, or do I just write them from scratch in a JFrame?

Thanks!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Swing forum.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JOptionPane
 
Ryan Smith
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks again Gregg!!

*sheepishly* Also, I'll take the hint and start posting my GUI questions in the GUI forum..
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ryan Smith:
Thanks again Gregg!!

*sheepishly* Also, I'll take the hint and start posting my GUI questions in the GUI forum..


Hey, there's an idea. (just giving you a hard time)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!