Rob Prime wrote:Have you already tried calling setEnabled(false) and setEnabled(true)? These should work for just about any component, including menus and menu items.
sir,
I am sending the code of my classes:
1. Module.java
2. PersonalDetails.java
3. DefaultPage.java (this is just an empty page to be displayed at first)
My Questions are:
1. I want to write the code of enabling all or some menuitems in "close" button of PersonalDetails.java at line number 247 and can i write the same coding to enable and disable the menuitems in DefaultPage.java
2. In PersonalDetails.java class, I am unable to use JScrollPane appropriately and if somehow i am able to display the scrollbar, scrollbar is not working at all.
My codes are:
Module.java
PersonalDetails.java
DefaultPage.java
thanks.