I am creating a Medical Shop Billing software in which I have three JFrames
one of which I need to setVisible(false)
on the click a JMenuItem
. However each time I compile an error is displayed
JFrame f is accessed from within inner class; needs to be declared final
Can anyone please help me on this?