Wie gibt ich Eingabetasten und Leertaste den gleichen anfänglichen Fokus in einer JoptionPane?

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Wie gibt ich Eingabetasten und Leertaste den gleichen anfänglichen Fokus in einer JoptionPane?

by Anonymous » 15 May 2025, 22:17

Ich habe zwei Schaltflächen und ein Kontrollkästchen innerhalb eines JoptionPane.

Code: Select all

JOptionPane.showInternalConfirmDialog(parent, messagePanel, title, JOptionPane.OK_CANCEL_OPTION,
JOptionPane.QUESTION_MESSAGE, messagePanel.getDetailsCheckbox());

Top