public class AdminLogin extends JFrame { 
        static AdminLogin frame;
        private JPanel contentPane;
        private JTextField textField;
        private JPasswordField passwordField;
Is the first line declaring a class or an interface? I had a doubt because I found out that only an interface can extend another interface. And, in the second line, how is AdminLogin behaving? Is it behaving like a JFrame class from which it is extended?
 
    