What thing i m missing? UnderLine my Errors it as 38 Errors but i don't see any big error
import java.awt.*; import javax.swing.*; Class Draw { public Draw() { JFrame frm= new JFrame("Example"); Container con = frm.getContentPane(); con.setLayout(new GridLayout(2,2)); MenuBar mb= new MenuBar(); Menu m1= new Menu("File"); Menu m2= new Menu("Edit"); Menu m3= new Menu("Format"); Menu m4= new Menu("Help"); MenuItem mi1= new MenuItem("New"); MenuItem mi11= new MenuItem("close"); MenuItem mi2= new MenuItem("Save"); MenuItemm mi3= new MenuItem("Save As"); MenuItem mi4= new MenuItem("Edit"); MenuItem mi5= new MenuItem("EXIT") MenuItem mi6= new MenuItem("Find"); MenuItem mi7= new MenuItem("Bold") MenuItem mi8= new MenuItem("Italic") MenuItem mi9= new MenuItem("Replace") MenuItem mi10= new MenuItem("Online Help"); m1.add(mi1); m1.add(mi2) m1.add(mi11); m1.add(mi3); m1.add(mi4); m2.add(mi6);m2.add(mi7); m2.add(mi8); m3.add(mi9); m4.add(mi10); m4.add(mi5); mb.add(m1); mb.add(m2); mb.add(m3); mb.add(m4); frm.SetMenubar(mb); JButton btn1= new JButton("check"); JButton btn2= new JButton("Balance"); JButton btn3= new JButton("Funds"); JButton btn4 = new JButton("Exit"); con.add(btn1);con.add(btn2);con.add(btn3);con.add(btn4); frm.setVisible(true); frm.setSize(300,300); frm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } } public class D45 { public static void main(String s []) { Draw obj=new Draw(); } }