// (to compensate for the effect).
JPanel frameNumberPanel = new JPanel();
frameNumberPanel.setOpaque(false);
frameNumberPanel.setLayout(new FlowLayout(FlowLayout.LEADING, 0, 0));
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");