this.mcodeUtil = mcodeUtil;
}
public void actionPerformed(java.awt.event.ActionEvent event)
{
ResultPanel panel = getResultPanel(this.resultId);
if (panel != null)
{
int resultId = panel.getResultId();
Integer confirmed = Integer.valueOf(0);
boolean requestUserConfirmation = Boolean.valueOf(getValue("requestUserConfirmation").toString()).booleanValue();
if (requestUserConfirmation)
{
String message = (new StringBuilder("You are about to dispose of Result ")).append(resultId).append(".\nDo you wish to continue?").toString();
confirmed = Integer.valueOf(JOptionPane.showOptionDialog(swingApplication.getJFrame(), ((Object) (new Object[] {
message
})), "Confirm", 0, 3, null, null, null));
}
if (confirmed.intValue() == 0)
{
List clusters = panel.getClusters();
registrar.unregisterService(panel, CytoPanelComponent.class);
mcodeUtil.removeNetworkResult(resultId);
if (clusters != null)
{
Cluster c;