Untitled
unknown
java
4 years ago
751 B
8
Indexable
void adaugaMenuBar(){
mb=new MenuBar();
Menu file=new Menu("File");
file.add("Load Input Data");
file.add("-");
file.add("Exit");
mb.add(file);
Menu algorithms=new Menu("Algorithms");
algorithms.add("Median");
algorithms.add("Perceptron");
algorithms.add("Adaline");
mb.add(algorithms);
Menu view=new Menu("View");
view.add("Show Simulation Control");
view.add("Show Input Data");
view.add("Show Output Data");
view.add("-");
view.add("Show Cursor Coordinates");
mb.add(view);
Menu tools = new Menu("Tools");
tools.add("Input Data Generator")'
tools.add("-");
tools.add("Settings");
mb.add(tools);
Menu help=new Menu("Help");
help.add("Help");
help.add("About");
mb.add(help);
setManuBar(mb);
}Editor is loading...