I've been trying to setup a JFrame with text but I'm having trouble. I can create the JFrame, but I can't get a background color or text to work with it.

```
import java.awt.Color;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

class FundManager {

    JFrame window;
    JPanel panel;
    JLabel text;

    public void createWindow()
    {

        //Create the window
        window = new JFrame();
        window.setVisible(true);
        window.setSize(960, 540);
        window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        window.setLocationRelativeTo(null);

        //Create the panel
        panel = new JPanel();
        panel.setBackground(Color.RED);

        //Create the label
        text = new JLabel("test");

    }

    public static void main(String args[]) {

        FundManager.createWindow();

    }

}

```

My `createWindow()` method is not running and I get the error:

> 
> cannot make a static reference to to the non-static method. 
> 
> 
> 

However, when I make it static the whole program breaks.