boolean loadSerialized(String name)
    {
        boolean rval = false;
        
        try {
            String userDir = System.getProperty("user.home");
            String serializedDir = "serialized";
            File dirFile = new File(userDir, serializedDir);
            File serFile = new File(dirFile, name + ".ser");
            if (serFile.exists()) {
                FileInputStream f2 = new FileInputStream(serFile);
                ObjectInputStream in = new ObjectInputStream(f2);
                Object obj = in.readObject();
                if (obj instanceof javax.swing.ComboBoxModel)
                  comboName.setModel((javax.swing.ComboBoxModel) obj);
                in.close();
                comboName.setSelectedItem(null);
                rval = true;
            }
            else {
                System.out.println("file not found: "+serFile.getAbsolutePath());
            }
        }
        catch (Exception ex) {
            ex.printStackTrace();
        }
        return rval;
    }