Q1>How to use protected String paramString() method of Button class?
Q2> How to use public void addNotify() method of Button class?
If any one having examples for above methods Pl.help me.
posted 9 years ago
Have you read the methods? I tried paramString; since it is protected you can only access it from a subclass of JButton. It returns a String which looks similar to the toString() method; try the two together and see whether thre is a difference in the results.
Read about addNotify(); it is a bit difficult to understand in the API. Try the two methods, and tell us what you found.