Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where can I get this add method in API

 
Santosh Jaiswal
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

setLayout(new BorderLayout());
p = new Panel();
p.add(new Button("OK"));
p.add(new Button("CANCEL"));
add("south",p);
Which class can I get the syntax for above add("south",p); method. I am not finding it in java.awt.Component class
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic