as the title says what I want to achieve is to pop up an option message using JOptionPane such that the question and the buttons be placed on the same line. I'm reading the following tutorials but it seems to be quite difficult:
- How to Make Dialogs
- How to Make Dialogs Java
- The definitive guide to Java Swing
In a sense the idea is to have the following confirmation message layout:
The products are going to be removed from the database.
Are you sure you want to perform it? |YES| |NO|
where YES and NO should be buttons. (The text is not the real one, it's only to give the flavor of the message).
Any comments or hints will be welcomed.
Thanks a lot in advance.