posted 9 years ago
I am trying to call an actionListener which is shown below in my PSVM :
I get the following error :
Frame.java:409: error: non-static variable this cannot be referenced from a static context
menuItem1.addActionListener(new testMenuItemListener());