public void setTuneBook ( AbcTuneBook book ) { //System.out.println(getClass().getName() + "setTuneBook(" + book + ")"); //if (m_book!=null) // m_book.removeListener(this); m_model . setTuneBook ( book ) ; try { int [ ] numbers = { 0 } ; // = m_book.getReferenceNumbers(); for ( int i = 0 ; i < numbers . length ; i ++ ) { //System.out.println(getClass().getName() + "retrieving " + (i+1) + "/" + numbers.length ); //m_parser.parseHeader(book.getTuneNotation(numbers[i])); } } catch ( Exception e ) { e . printStackTrace ( ) ; } }
Sets the tunebook to be displayed in this table .