This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
hi all, I hava a JFrame with a JComboBox and JButton..when i click on this button, im invoking a new class which displays a JDailog with an OK button and a text field.. When i click on the OK button of the JDialog the value in the textfield will get populated on the JComboBox, it works fine . But my issue is, if i close the JDialog using the close button that comes with the JDialog, a null value is getting inserted into the combo box ..why is it so ?? cld anyone tell me how to reslove this ?? im using jdk1.3 , i cant use the setUndecorated() of jdk1.4 to disable the close button of JDialog, i tried setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); but of no use Cld any1 help me with me Thanks Rajeev
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)