public void driveToClass ( String classname ) { String [ ] sa = BshClassPath . splitClassname ( classname ) ; String packn = sa [ 0 ] ; String classn = sa [ 1 ] ; // Do we have the package? if ( classPath . getClassesForPackage ( packn ) . size ( ) == 0 ) return ; ptree . setSelectedPackage ( packn ) ; for ( int i = 0 ; i < classesList . length ; i ++ ) { if ( classesList [ i ] . equals ( classn ) ) { classlist . setSelectedIndex ( i ) ; classlist . ensureIndexIsVisible ( i ) ; break ; } } }
fully qualified classname