joptionpane default setting

i have a joptionpane with 2 buttons yes and NO. Does joptionpane always need a default button set. i need to not have the focus on both the buttons until the user clicks on one of tem. is it possible?
[207 byte] By [Mickey123a] at [2007-11-27 8:26:28]
# 1

Hello Mickey,

> i need to not have the focus on both the buttons

Never knew that the focus can be on two buttons ;-)

If the focus is not there where you want it to be, you have to transfer it to another component. In your case I would try to specify my own options with an invisible button which initially holds the focus.

Regards

J鰎g

Joerg22a at 2007-7-12 20:15:53 > top of Java-index,Desktop,Core GUI APIs...