java - My Menu Won't Show On My Sudoku Grid -


I have created a board for a Sudoku game but this one thing is stumped to me. It's late where I am and I'm working for a while and I can not find my problem, if someone can tell it, thanks!

  Import java.awt.GridLayout; Import java.awt.event.ActionEvent; Import java.awt.event.ActionListener; Import javax.swing.JFrame; Import javax.swing.JMenu; Import javax.swing.JenuBar; Import javax.swing.JPanel; Public category sudokuenel JFrame {Public Final Inc SQUARE_COUNT = 9; Public square [] class = new square [SQUARE_COUNT]; Public sudocoanell () {super ("sudoku"); SetSize (600,600); setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); SetLayout (new grid layout (1,1)); SetVisible (true); SetLocationRelativeTo (zero); Zpean panel = new zpinal (new grid layout (3,3)); (Int i = 0; i & lt; SQUARE_COUNT; i ++) for {intersections [i] = new squares (); Panel.add (square [i]); } Add (panels); Jemanubar Menubar = new JMUR (); SetJMenuBar (Menubar); Gemen reset = new jmnu (); MenuBar.add (reset); Jmnu help = new jmnu (); MenuBar.add (help); JMMenu newPuzzle = newJMU (); MenuBar.add (newPuzzle); JM menu exit = new JMNU (); MenuBar.add (exit); Class Execution Execution ActionListener {Public Zero Action Functional (ActionEvent e) {System.exit (0); }} Exit.addActionListener (new Exposure ()); }}    

setwibl (right) insert method that frame Adding all components of

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -