Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Baseline and Leading  RSS feed

 
Suhaas Mohandos
Greenhorn
Posts: 21
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If something is not baseline then does that mean it is leading? I am not clear about the difference between baseline and leading. I don't see any difference in the output between Baseline(Code 1) and Leading(Code 2) except for difference between the textbox sizes. So what is the difference between Baseline and Leading?

Baseline(Code 1):



Leading(Code 2):

 
Tony Docherty
Bartender
Posts: 3195
78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The API docs explain what they do.
See http://docs.oracle.com/javase/6/docs/api/javax/swing/GroupLayout.Alignment.html#LEADING
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!