I've been roaming the Internet looking for an answer to this question, but have come up rather empty handed. 

I'm following a JFrame practical from university, and using my lecture notes and the advice on the practical guidance sheet I have this basic code: 

```
public HelloFrameMenu()
{
    message = "Hello, World!";
    label = new JLabel(message);
    label.setFont(new Font("Serif", Font.PLAIN, DEFAULT_SIZE));
    add(label, BorderLayout.CENTER);
    createSouthPanel();

    setSize(FRAME_WIDTH, FRAME_HEIGHT);
}

```

This creates a text message on my JPanel and executes the createSouthPanel() method which works fine and adds some menu lists to the JFrame.

My question is regarding the add function. I don't understand what this is part of. I thought if it was a static method, its class name would precede it. As it doesn't, I assumed it was part of the JFrame package or one of the classes automatically loaded by Java, but I can't find the method in either.

Where does this method come from?  

Why is it not preceded by anything?  

What other methods can be used like this?