When you use the keyword new for example JFrame j = new JFrame(); you are creating an instance of the class JFrame.