// this.add( Box.createHorizontalGlue() );
// --- Listener ---
new DynamicAncestorAdapter( this ).addTo( this );
cueTimer = new Timer( 25, new ActionListener() {
public void actionPerformed( ActionEvent e )
{
cuePos = Math.max( 0, Math.min( doc.timeline.getLength(), cuePos + (long) (cueStep * rate) / 1000 ));
// doc.getUndoManager().addEdit( TimelineVisualEdit.position( this, doc, cuePos ));
doc.timeline.editPosition( this, cuePos );
}
});
playTimer = new Timer( 27, new ActionListener() {
public void actionPerformed( ActionEvent e )
{
lbTime.setTime( new Double( transport.getCurrentFrame() / rate ));
}
});