if (m_BoundaryVisualizerFrame == null) {
jMenuItemVisualizationBoundary.setEnabled(false);
m_BoundaryVisualizerFrame = new JFrame("BoundaryVisualizer");
m_BoundaryVisualizerFrame.setIconImage(m_Icon);
m_BoundaryVisualizerFrame.getContentPane().setLayout(new BorderLayout());
final BoundaryVisualizer bv = new BoundaryVisualizer();
m_BoundaryVisualizerFrame.getContentPane().add(bv, BorderLayout.CENTER);
m_BoundaryVisualizerFrame.setSize(bv.getMinimumSize());
m_BoundaryVisualizerFrame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent w) {
bv.stopPlotting();
m_BoundaryVisualizerFrame.dispose();
m_BoundaryVisualizerFrame = null;
jMenuItemVisualizationBoundary.setEnabled(true);
checkExit();
}