I'm getting this error with Eclipse. Any ideas why?

```
import java.awt.*;
import javax.swing.*;

public class Main {
    JFrame frame;
    frame.setTitle("Elevator build 11");
    frame.setPositionRelativeTo(null);
    frame.setVisible(true);
}

```