/** * ************************************************************************ List Selection * Listener * * @param e event */ public void valueChanged(ListSelectionEvent e) { if (e.getValueIsAdjusting()) return; // log.config( "VMatch.valueChanged"); setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); setCursor(Cursor.getDefaultCursor()); } // valueChanged
/** * ************************************************************************ Action Listener * * @param e event */ public void actionPerformed(ActionEvent e) { setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); if (e.getSource() == bDisassociate) cmd_disassociate(); else if (e.getSource() == bNewProduct) cmd_newProduct(); } // actionPerformed