I know this might be a little "basic" but I've looked at every tutorial possible, and they don't tell me.
So Question 1:
I am trying to put a link in the JMenuBar, how about would I go on doing that?
Question 2:
When I try to add something to a menu bar, it doesn't add it.
I have all of my imports right and I get 0 errors, so why is it not letting me?
Code:
JFrame frame = new JFrame();
JMenuBar mb = new JMenuBar();
frame.setJMenuBar(mb);
JMenu file = new JMenu("File");
mb.add(file);
Actually you can add JMenuItem to JMenuBar. I don't think you can add a file on JMenuBar. And you can listener on JMenuItem and link to wherever you want.