Window

Setting Up JFrame/Program Window

Introduction: Hello. This page will teach you how to use JFrames within Java. What is a JFrame? A JFrame is a Java component which is able to hold or contain multiple more components. The JFrame is the 'window' of the program (the outer part which has the re-size options, the minimize, maximize and close options as well as the title of the program and icon). Should I use a JFrame in my program? You should only use a JFrame if you need a GUI/UI in your program.