i have a JMenu on my MenuBar called as Window I am opening a jinternal frame everytime i click on a button How can i dynamically load the Jmenu with the frame name or any reference to the frame. Also these are going to be JCheckBoxMenuItem. I want the menuitem corresponding to the currently active focussed internal frame to be checked. How do i achieve this Please HELP Chhaya
posted 16 years ago
Hi Chhaya, Don't know if it will help. But here is a first pass on what I think you are trying to do. The code below works and might help your cause.