This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Flowlayout()  RSS feed

 
Jeffrey Chu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whats does the first parameter for this constructer represent?
 
Giovanni De Stefano
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the API Specification before asking.

People are not here to do your work, ask for doubts, problems...BUT do some search BEFORE posting!

Giovanni
 
Jeffrey Chu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ahh sry about that, i looked at thta before but i was looking for a int value not RIGHT or LEFT
[ May 01, 2005: Message edited by: Jeffrey Chu ]
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can just print those constants:

System.out.println(FlowLayout.LEFT);

But such knowlege may be dangerous. Don't start coding 0 or 1 instead of using the constant. The constant has information value to the reader and protects you from possible value changes in the future.
[ May 02, 2005: Message edited by: Stan James ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!