Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane -> YES_NO Dialog Problem  RSS feed

prabhu kandanur
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using jdk version 1.4.2... in some of my JFrames say in delete command buttons, i wrote Confirm Dialog (asking do you want to delete)"YES-NO" opton. when i press thru mouse the NO button is firing, when i use the TAB control, the focus is transfer to NO button, but YES button only firing, the return values always gives 0 (even when i transfer the focus to NO button). i am facing this problem in this latest version only. in my older version - jdk1.1.7 this problem not atall came. expecting reply soon...
Michael Dunn
Ranch Hand
Posts: 4632
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!