public void gotConfigInfo ( final String [ ] keys , final int [ ] oids ) { // make sure we're still added if ( ! isDisplayable ( ) ) { return ; } Integer indexes [ ] = new Integer [ keys . length ] ; for ( int ii = 0 ; ii < indexes . length ; ii ++ ) { indexes [ ii ] = ii ; } QuickSort . sort ( indexes , new Comparator < Integer > ( ) { public int compare ( Integer i1 , Integer i2 ) { return keys [ i1 ] . compareTo ( keys [ i2 ] ) ; } } ) ; // create object editor panels for each of the categories for ( Integer ii : indexes ) { ObjectEditorPanel panel = new ObjectEditorPanel ( _ctx , keys [ ii ] , oids [ ii ] ) ; JScrollPane scrolly = new JScrollPane ( panel ) ; _oeditors . addTab ( keys [ ii ] , scrolly ) ; if ( keys [ ii ] . equals ( _defaultPane ) ) { _oeditors . setSelectedComponent ( scrolly ) ; } } }
Called in response to our getConfigInfo server - side service request .