A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Game simple on Java
Joined: Jun 15, 2011
Jul 19, 2011 15:06:56
I'm developing one game in Java!
I know of you, if I'm making certain.
detail = String.format("%s",players.getPlayerOne()); playerOne = new JLabel(detail); add(playerOne); //add playerOne to Frame
In that coder, I display the name of users. But, I'm receiving value how null.
Madhan Sundararajan Devaki
Joined: Mar 18, 2011
Jul 19, 2011 23:18:18
A very cryptic request
However, posting more code snippet might help. We need to see how "players" is initialized.
Not many get the right opportunity !
subject: Game simple on Java
Jsdk & Jswdk..
general irksome headbanging problem!
variables may not be initialized
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014