• Post Reply Bookmark Topic Watch Topic
  • New Topic

center some evil text  RSS feed

 
Graham King
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to center the text which is being displayed in a
how does one do this?
 
Chris Shepherd
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
############################################
Insert Cindy's "Change your name" post here.
############################################

As to your question, see what happens if you pass a JPanel containing a centered JLabel showing your text, instead of passing a string.

HTH
Chris
[ October 30, 2003: Message edited by: Chris Shepherd ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!