File destination = getDestinationPath();
CommandData data = new CommandData();
data.addItem(Keys.SOURCE_FILES, sources);
data.addItem(Keys.DEST_DIR, destination);
JDialog dialog = new JDialog();
ZipUnzipPanel panel = new ZipUnzipPanel();
panel.setSource(sources);
panel.setDestination(destination);
dialog.add(panel);
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
dialog.pack();
dialog.setVisible(true);
// Create command.