The problems with this is that im passing a service to the constructor so when i create an instance of the frame from the menubar class i cant access the current service.
Can i create a global...
Type: Posts; User: kurt-hardy
The problems with this is that im passing a service to the constructor so when i create an instance of the frame from the menubar class i cant access the current service.
Can i create a global...
i either get a nullpointer exception if i dont create a new instance of the frame or it creates more than one instance of the same frame. if it does this when i close one frame down it closes the...
I have a generic class which creates a menubar
public class CreateMenuBar {
JMenuBar MenuBar;
JMenu FileMenu;
JMenuItem AddAction;
ActionListener MyListener;