List of usage examples for java.awt Menu Menu
public Menu() throws HeadlessException
From source file:graph.plotter.PieMenu.java
/** * Works for return to Menu/*from w w w . j a va 2 s . c om*/ * @param evt Action variable */ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed // TODO add your handling code here: Menu menu = new Menu(); Menu.M.getContentPane().removeAll(); Menu.M.getContentPane().add(Menu.menuPanel); Menu.M.repaint(); Menu.M.revalidate(); }