![]() ![]() JLabel label2 = new JLabel("Are you sure you want to continue?") tHorizontalAlignment(SwingConstants.CENTER) tVerticalAlignment(SwingConstants.BOTTOM) JLabel label1 = new JLabel("This file requires administrator rights.") ImageIcon icon = new ImageIcon("src/images/lock64.png") The showConfirmDialog() will bring up a dialog with the options Yes, No and Cancel and the title “Select an Option”:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |