So im trying to make a simple drawing program and on the top of the screen im going to have a bar with dropdown menus with different colors and tools etc. My class that includes the methods used to build up the JFrame inherits from the class JFrame. But if i then set up my bar and try to add it, nothing shows up. It's like it's there because i can't paint on it but i can't see anything. However it works if i use MenuBar instead of JMenuBar. And JMenuBar only works if I create a object of the class JFrame and use that variable to set it up instead. I think the JMenuBar looks nicer then the MenuBar so i want to use that one.