The FlowLayout is the simplest layout manager. By default, it puts all the components into a row in the order they are added to the container from left-to-right. If the row meets the end of the container then a new row is started beneath.
If you are new to Java programming, you are probably starting by using notepad. When you want to compile and run a program, you need to open a DOS window and type javac MyProgram.java and java MyProgram. Also, what you type is what you get: notepad does not help you any way with Java syntax or design. This is fine if you are just starting, and even experts sometimes use command-line Java options.
An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger.
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.
The GridLayout class is a layout manager that lays out a container's components in a rectangular grid. The container is divided into equal-sized rectangles, and one component is placed in each rectangle. For example, the following is an applet that lays out 3 textfields and 3 labels into three rows and two columns: