Java Swing

In this tutorial you will learn how to use JInternalFrame. The JInternalFrame can be used with JDesktopPane. In the real life, the JInternalFrame will be very different entities with their characteristics. A JInternalFrame is confined to a visible area of a container it is placed in. JInternalFrame a top level swing component that has a […]

In this tutorial you will learn about JFrame class. The components added to the frame are referred to as its contents, these are managed by the contentPane. To add a component to a JFrame, we must use its contentPane instead. JFrame is a Window with border, title and buttons. When JFrame is set visible, an […]

In this tutorial we will learn about the GridBagLayout in Java Swing. GridBagLayout is a layout manager that lays out a container’s components in a grid of cells with each component occupying one or more cells, called its display area. The display area aligns components vertically and horizontally, without requiring that the components be of […]