Wie gibt ich Eingabetasten und Leertaste den gleichen anfänglichen Fokus in einer JoptionPane?
Posted: 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());