Monday, 11 September 2017

Subclasses of LayoutManager



1.FlowLayout
          To arrange the components like flow of writing.
          It is a default layout for applet and panel.

Constructors :
FlowLayout();
FlowLayout(int alignment);
FlowLayout(int alignment,int vgap,int hgap);
Constant Fields:
                   FlowLayout.LEFT
                   FlowLayout.RIGHT
                   FlowLayout.CENTER
public void setAlignment(int);

No comments:

Post a Comment

Featured post

Development Of JAVA Program