• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JOptionPane -> YES_NO Dialog Problem

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
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...
prabhu
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://coderanch.com/t/338031/GUI/java/JOptionPane-showConfirmDialog
 
reply
    Bookmark Topic Watch Topic
  • New Topic