Part(String s){
  named=s.charAt(0) == '"' && s.charAt(s.length() - 1) == '"';
  if (named) {
    this.s=s.substring(1,s.length() - 1);
  }
 else {
    this.s=s;
    try {
      c=Class.forName("javax.swing.J" + s);
    }
 catch (    Exception e) {
    }
    try {
      c=Class.forName(s.replace("_","."));
    }
 catch (    Exception e) {
    }
  }
}

Part ( String s ) { named = s . charAt ( 0 ) == '"' && s . charAt ( s . length ( ) - 1 ) == '"' ; if ( named ) { this . s = s . substring ( 1 , s . length ( ) - 1 ) ; } else { this . s = s ; try { c = Class . forName ( "javax.swing.J" + s ) ; } catch ( Exception e ) { } try { c = Class . forName ( s . replace ( "_" , "." ) ) ; } catch ( Exception e ) { } } }
creates a new part object .
