jframe

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.

JWindow and JFrame Component in Java

This is a tutorial in which we will going to create a program that will have a JWindow and JFrame Component in Java. We will first differentiate the two components. The JFrame can be a container of other components, has title and border, and has buttons for minimize, maximize, and close. Unlike JFrame, a JWindow can also hold other components but it has no title and border, and no minimize, maximize, and close button. So, now let's start this tutorial! 1.