It's not a secret anymore!*
The moose likes Game Development and the fly likes I forgot more one question --- ops,, sorry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "I forgot more one question --- ops,, sorry" Watch "I forgot more one question --- ops,, sorry" New topic
Author

I forgot more one question --- ops,, sorry

Fernando hiar
Greenhorn

Joined: Jan 11, 2008
Posts: 29
Why I initialize the variable tailPosn and headPosn in -1 both, if I initialize the botn in the middle of JPanel???


thanks,

sorry,

Fernando.
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Fernando hiar wrote:Why I initialize the variable tailPosn and headPosn in -1 both, if I initialize the botn in the middle of JPanel???

It would probably help a lot if you would provide context for this question. Myself, on reading this, I can't make heads or tails out of it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: I forgot more one question --- ops,, sorry
 
Similar Threads
h:inputText in h:dataTable, request scoped bean
final variables (instance and local)
SQL connection error
logic:iterate display entries
Initialize table with array of objects