Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the source code for javax.swing.BorderLayout class please?

Tags:

java

swing

Where can I find the source code for javax.swing.BorderLayout class, please?

like image 652
Joel Avatar asked Jun 29 '11 15:06

Joel


People also ask

What is BorderLayout in Java Swing?

A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. Each region may contain no more than one component, and is identified by a corresponding constant: NORTH , SOUTH , EAST , WEST , and CENTER .

What is the BorderLayout manager in Java?

BorderLayout is the default layout for the window objects such as JFrame, JWindow, JDialog, JInternalFrame etc. BorderLayout arranges the components in the five regions. Four sides are referred to as north, south, east, and west. The middle part is called the center.

What is the BorderLayout manager?

The BorderLayout is used to arrange the components in five regions: north, south, east, west, and center. Each region (area) may contain one component only. It is the default layout of a frame or window.

What is javax.swing package in Java?

Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. javax.swing. Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.


1 Answers

In the JDK that you dowloaded, in the src.zip file.

like image 176
JB Nizet Avatar answered Oct 05 '22 22:10

JB Nizet