Page 1 of 1

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

Posted: 15 May 2025, 22:17
by Anonymous
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());