Adding Components to the Button Area: Using JOptionPane with a JButton containing a text label and an icon : JOptionPane Dialog « Swing « Java Tutorial
![java - How to set up JOptionPane to have a default button and a different focused button - Stack Overflow java - How to set up JOptionPane to have a default button and a different focused button - Stack Overflow](https://i.stack.imgur.com/10ZnE.png)
java - How to set up JOptionPane to have a default button and a different focused button - Stack Overflow
Adding Components to the Button Area: Using JOptionPane with a JButton containing a text label and an icon : JOptionPane Dialog « Swing « Java Tutorial
Adding Components to the Button Area: Using JOptionPane with a JButton containing a text label and an icon : JOptionPane Dialog « Swing « Java Tutorial
![java - Is there a way to only have the OK button in a JOptionPane showInputDialog (and no CANCEL button)? - Stack Overflow java - Is there a way to only have the OK button in a JOptionPane showInputDialog (and no CANCEL button)? - Stack Overflow](https://i.stack.imgur.com/LrdTN.jpg)