GeeCON Prague 2014*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Where can I get this add method in API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Where can I get this add method in API" Watch "Where can I get this add method in API" New topic
Author

Where can I get this add method in API

Santosh Jaiswal
Greenhorn

Joined: Oct 04, 2000
Posts: 26

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Where can I get this add method in API