Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting text alignment in a TextField

 
MervinMel Welsh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I set the Alignment of the text inside a TextField, but withou using Swing?
 
Wayne L Johnson
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't believe you have that ability when using AWT. You can set the alignment of a java.awt.Label when you create it, but not with a java.awt.TextField.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic