Example usage for weka.classifiers.bayes.net GUI getMenuBar

List of usage examples for weka.classifiers.bayes.net GUI getMenuBar

Introduction

In this page you can find the example usage for weka.classifiers.bayes.net GUI getMenuBar.

Prototype

public JMenuBar getMenuBar() 

Source Link

Document

Get the menu bar for this application.

Usage

From source file:adams.gui.menu.BayesNetEditor.java

License:Open Source License

/**
 * Launches the functionality of the menu item.
 *//*from   w  ww  .j a  v a2 s  . c om*/
public void launch() {
    GUI panel = new GUI();
    ChildFrame frame = createChildFrame(panel, GUIHelper.getDefaultDialogDimension());
    frame.setJMenuBar(panel.getMenuBar());
}