java - Unable to setVisible(false) of JFrame -


i creating medical shop billing software in have 3 jframes 1 of need setvisible(false) on click jmenuitem. each time compile error displayed

jframe f accessed within inner class; needs declared final  

can please me on this?

if need access variable on outer class. need add final this:

final public jframe frame 

you can read here more information final (java) on wikipedia.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -