Java FlowLayout Constructor's

Beginner java tutorial site is rehosted with updated content and useful information under the domain name javabeginner.com

javax.swing
Class FlowLayout

java.lang.Object
  extended byjava.awt.FlowLayout
All Implemented Interfaces:
LayoutManager, Serializable
 

FlowLayout Constructor

 

 

 

FlowLayout()
Constructs a new FlowLayout with a centered alignment and a default 5-unit horizontal and vertical gap.


FlowLayout(int align)
Constructs a new FlowLayout with the specified alignment and a default 5-unit horizontal and vertical gap.


FlowLayout(int align, int hgap, int vgap)
Creates a new flow layout manager with the indicated alignment and the indicated horizontal and vertical gaps.

 

Google
 
Web www.beginner-java-tutorial.com