Method is obsolete?
I was making a few GUIs in preparation for an upcoming Java test and one of the method my professor showed us was setMnemonic, which can take in either an integer or char value. I use NetBeans as my IDE and the Javadoc it provides seems unusual. For setMnemonic(char mnemonic), it says the method is obsolete and to instead use setMnemonic(int mnemonic). I have 3 questions:
1) Does the JDK no longer support setMnemonic(char mnemonic) or simply advising to not use it?
2) Do other IDEs provide the same information and do they support the method?
3) Are there other primitive methods that are also described as being obsolete?
Re: Method is obsolete?
What class is that method in? That is needed to be able to read the API doc for the method you are talking about.
What does the API doc say?