HI all, I am creating a Java application in which i want to open a popup which displays some message.Currentl i am using JOptionPane.showMessageDialog(this,"msg"); method which shows dialog with OK button. But I dont understand how to fire an event in the OK button of this window. Is there any method by which i will be able to execure some code when OK button is clicked. I tried using windowClose event but it doesnt work . Someone please help me in this.
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Gift giving made easy with the permaculture playing cards