This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Currently, i'm doing a project which require me to pop up a warning question when the button is clicked. but as i read through the information found on the java.sun website... i find them confusing.. n i admit my programming is bad. so... is there any way i can call upon a dialog box when a button'Delete' is being clicked. thankx
You can use the javax.swing.JOptionPane class for this. It has a number of static methods to display warning, message and confirmation dialogs. Have a look at the 'JOptionPane.showonfirmDialog' method.It may be useful for you.