java - Rebuilding MenuItem after changing caption -
i've added menuitem menubar in app. problem in menuitem constructor setting caption taking database. while working app value changing, stay same on menuitem. it's change when clear session. question is: how refresh after every change? possible?
so @morfic resolve problem. took map of active sessions, iterate on finding sessions in values i'd update. use method of menuitem - settext() , put there new value.
everything of putted on save button.
Comments
Post a Comment