121122123124125126127128129130131
} }); clear.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { playbackOrder.flushQueue(); list.repaint(); owner.repaint(); } });
197198199200201202203204205206207
}); aMap.put("clearQueue", new AbstractAction("Clear Playback Queue") { @Override public void actionPerformed(ActionEvent e) { PlaybackOrder order = player.getPlaybackOrder(); order.flushQueue(); update(); } });