Michael Dunn wrote:> Is possible change icon of Ok's botton in JOPtionPane, How?
as far as I know, the 'OK' button only has text.
Perhaps the look&feel adds an icon to that. In GTK for instance it's quite normal to have a little check icon (v) on the OK button, and an X on the Cancel button.
I've checked the source of JOptionPane and BasicOptionPaneUI, and I think you can do this by using the showOptionPane method, providing your own custom buttons to the method as the options. You'll need to handle which button was clicked manually. For instance:
Joined: Dec 25, 2007
But in my case is showMessageDialog.