jmenubar,menuitem

sir i have a problem on my project.in my project i was used Jmenubar, menuitems it is not refresh based on the component now i am looking for a solution that is whenever user selected one menu item corresponding result will be displayed on same frame