KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > Label

java.awt
Class Label

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Label
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
See Also:
Top Examples, Source Code

public void addNotify()
See Also:
Component.removeNotify(), Component.isDisplayable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int CENTER
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
Component, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getAlignment()
See Also:
setAlignment(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getText()
See Also:
setText(java.lang.String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Label()
      throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Label(String text)
      throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Label(String text,
             int alignment)
      throws HeadlessException
See Also:
GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int LEFT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String paramString()
See Also:
Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int RIGHT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setAlignment(int alignment)
See Also:
getAlignment(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setText(String text)
See Also:
getText()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[2]_
By Anonymous on 2002/07/04 19:14:51  Rate
setText ( "HI........" ) ;
Popular Tags