Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JOptionPane.showOptionDialog button tooltips

843806May 7 2008 — edited May 7 2008
Hi,

I'm displaying a JOptionPane having options/buttons as 'Object[] options'.Each of these options is of type AbstractAction.
I want to add tooltips to these buttons on the JOptionPane.
I tried using
someAction.putValue(AbstractAction.SHORT_DESCRIPTION, "ToolTip Text") 
but it doesn't work.


Thanks in advance,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2008
Added on May 7 2008
2 comments
526 views