void function ( JTabbedPane arg0 , int arg1 , Component arg2 ) { try { Method loc0 = arg0 . getClass ( ) . getMethod ( "srini_string" , new Class [ ] { Integer . TYPE , Component . class } ) ; loc0 . invoke ( arg0 , arg1 , arg2 ) ; } catch ( NoSuchMethodException loc0 ) { } catch ( Exception loc0 ) { LOGGER . error ( "srini_string" , loc0 ) ; } }
this uses reflection to set the tab component if we 're running under 1.6 . it does nothing if you 're running under 1.5 . this is so you can run this on java 1.6 and get this benefit , but its not required to compile . this is the same as calling jtabbedpane.settabcomponentat . it just does so using reflection . concode_field_sep Logger LOGGER concode_field_sep boolean isCTRLDown concode_elem_sep JMenuItem createMenuItem concode_elem_sep JToggleButton createToggleButton concode_elem_sep JButton createButton concode_elem_sep JDialog createDialog concode_elem_sep Component addRightJustifiedComponent concode_elem_sep Component addLeftJustifiedComponent concode_elem_sep void scrollToText concode_elem_sep ImageIcon getImageIcon