• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do you label a TextField

 
Jbowl
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
i would like to label my TextField, so that i can see some text to indicate whats what. How do i do this?
private TextField input;
public void init () {
input = new TextField (20);
add (input);
input.addActionListener(this);
}
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBowl aka Jeremiah jjjjjjjjjjjjjjjj,

Since you refuse to abide by the naming policy, I am inactivating your account. If you want to reactivate it and use a compliant display name, please contact either one of the bartenders or me.

Marilyn
sheriff
[ March 29, 2003: Message edited by: Marilyn de Queiroz ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a Label.
 
Dirk Schreckmann
Sheriff
Posts: 7023
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic