This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I Created a Frame and a customised dialog box. if some of the fields in dialog box is empty i am throwing a JOptionpane dialog with a error message . The probelm is while throwing the error dilaog the focus is on the OK button but still it doesnt closing while i'm pressing the space bar.