frameNumberPanel.setBorder(new Theme.InsetsBorder(5, 0, -4, 0));
frameNumber = new DraggableNumber();
frameNumber.addChangeListener(this);
frameNumberPanel.add(frameNumber);
add(frameNumberPanel);
playButton = new NButton("Play", getImageStream("/animation-play.png"), getImageStream("/animation-stop.png"));
playButton.setToolTipText("Play Animation");
playButton.setActionMethod(this, "playAnimation");
forcePlayButtonWidth(52);
NButton rewindButton = new NButton("Rewind", getImageStream("/animation-rewind.png"));
rewindButton.setToolTipText("Rewind Animation");
rewindButton.setActionMethod(this, "rewindAnimation");
add(playButton);
add(rewindButton);
setFrame(1);
}