Im having a problem using the setVerifyInputWhenFocusTarget(false) method. Basically, this seems to work fine with a JButton (i.e. a cancel button which doesnt need to verify the input). However, as soon as I click on a JMenu item or JMenuBar item my program tries to verify the input, even though I have setVerifyInputWhenFocusTarget(false).

Is this a persistent problem with JMenu items? Is there a workaround? I found this on the sun website Bug ID: 4403182 InputVerifier failed on JTabbedPane & JMenuBar

Please help!!