public void setTune ( Tune tune ) { m_jTune = new JTune ( tune , new Point ( 0 , 0 ) , getTemplate ( ) ) ; m_jTune . setColor ( getForeground ( ) ) ; m_selectedItems = null ; m_dimension . setSize ( m_jTune . getWidth ( ) , m_jTune . getHeight ( ) ) ; setPreferredSize ( m_dimension ) ; setSize ( m_dimension ) ; m_isBufferedImageOutdated = true ; repaint ( ) ; }
Sets the tune to be renderered .