I found this bug bizarre, but #java just redirected me to ##java on freenode and they didn't help and I even asked on Stack Overflow, so I am asking here.
When I have this code:
It makes my JMenuBar appear only sometimes(Is there a few times but then is gone another few times but no pattern either).frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
BUT, when I do this:
The JMenuBar is there 100% of the time.//frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
My full code is here:
[Java] package main; import java.awt.event.ActionEvent; import java.awt.event.Actio - Pastebin.com