Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

paramString() method of Button class?

 
kedar parundekar
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Posts: 51413
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic