@Override
public void run()
{
- final Long longId = Long.valueOf(id);
-
- JPanel progressPanel = progressBars.get(longId);
+ JPanel progressPanel = progressBars.get(id);
if (progressPanel != null)
{
/*
{
statusBar.setText(message);
}
- if (progressBarHandlers.containsKey(longId))
+ if (progressBarHandlers.containsKey(id))
{
- progressBarHandlers.remove(longId);
+ progressBarHandlers.remove(id);
}
removeRow(progressPanel);
}
addRow(progressPanel);
- progressBars.put(longId, progressPanel);
+ progressBars.put(id, progressPanel);
}
refreshLayout();
@Override
public void run()
{
- Long longId = Long.valueOf(id);
- final JPanel progressPanel = progressBars.get(longId);
+ final JPanel progressPanel = progressBars.get(id);
if (progressPanel == null)
{
System.err.println(
return;
}
- progressBarHandlers.put(longId, handler);
+ progressBarHandlers.put(id, handler);
JButton cancel = new JButton(
MessageManager.getString("action.cancel"));
cancel.addActionListener(new ActionListener()