Hi, I have a JDialog which has OK/Cancel button. When user clicks on any of these buttons, dialog goes away ( setVisible(false) ).
This dialog has an editable JTable. I am using a JTextField as a cell editor because I wanted to capture focusLost event on a cell. Now the problem is that AFTER entering value in any cell AND WITHOUT hiting Enter/Tab, if user clicks on OK/Cancel button, the focus lost event is not getting called consitantly. Looks like sometime, actionListener on ok/cancel buttons kicks in and sometimes focusListener on cell kicks in. ( Note that to save new entered value in table model, user must either hit enter or tab out so that setValueAt gets called. ) does any one know how to handle this properly ? rgds, Peter __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing
