jf.getContentPane().setLayout(new BorderLayout());
GraphVisualizer gv = new GraphVisualizer();
try { gv.readBIF(XMLBIF);
}
catch(BIFFormatException be) { System.err.println(Messages.getInstance().getString("ClassifierPanel_VisualizeBayesNet_Error_Text")); be.printStackTrace(); }
gv.layoutGraph();
jf.getContentPane().add(gv, BorderLayout.CENTER);
jf.addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent e) {
jf.dispose();