Beispiel #1
0
 void onOK() {
   Object[] obj = m_list.getSelectedValues();
   System.err.println("");
   if (obj.length == 0) {
     JOptionPane.showMessageDialog(this, m_title + " unselected!");
     return;
   }
   java.util.Vector vresult = new java.util.Vector();
   for (int i = 0; i < obj.length; i++) {
     vresult.addElement(obj[i]);
   }
   m_object = new Object[vresult.size()];
   vresult.copyInto(m_object);
   m_iResponse = JOptionPane.OK_OPTION;
   dispose();
 }
 public java.util.Enumeration getApplets() {
   java.util.Vector applets = new java.util.Vector();
   applets.addElement(target);
   return applets.elements();
 }