• Post Reply Bookmark Topic Watch Topic
  • New Topic

j option pane  RSS feed

 
LaTeef Lusk
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am thinking of using this joption pane that I saw on Sun's website. Is this easy to use, manipulate, etc...?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this easy to use, manipulate, etc...?

Yes. Why are you worried that it would not be ?

(moving to the Swing forum)
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> Is this easy to use,

yes



doesn't get much easier than that.


> manipulate, etc...?

extemely limited in what you can do to the actual optionPane, but,
the 'message' part is an object, so you can add any number of components there (in a JPanel)

but it's much easier to use a modal JDialog for customizations
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And there are so many methods in JOptionPane with which you can tweak the dialog. The most powerful is of course showOptionDialog, where you can control just about everything, including the button labels.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!