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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -