コード例 #1
0
 /**
  * ************************************************************************ 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
コード例 #2
0
 /**
  * ************************************************************************ 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