if(dc == null || dc.getDescription() == null) {
JOptionPane.showMessageDialog(DebugContainerToolBar.this.that, "No information about this rule available!", "Error", JOptionPane.ERROR_MESSAGE);
}
else {
final JFrame browserFrame = new Browser("http://www.ifis.uni-luebeck.de/~groppe/tutorial_demo/ruledoc/" + dc.getDescription() + ".html", "Rule information", false);
if(fromJar) {
browserFrame.setIconImage(new ImageIcon(DebugContainerToolBar.class.getResource("/demo.gif")).getImage());
}
else {
browserFrame.setIconImage(new ImageIcon("data" + File.separator + "demo.gif").getImage());
}
}
}
});