In my MainMenu class, i have this line, which waits for a player selection:
while( (selectedWorld == -1) & (editSelectedWorld == -1) ){}
In windows Xp, it works. Now, i’ve tried it on my laptop at home, using Win7, 64 bits, and there’s no way it’ll work. It simply doesn’t seem to test either values.
But, if i add:
while( (selectedWorld == -1) & (editSelectedWorld == -1) ){
System.out.println( selectedWorld + "," + editSelectedWorld );
}
It works. ??? ???
Is there any reason for that?

As you said, it’s a Swing menu, so it’s just waiting for the player to press either the world to play in, or select the editor to edit a a world. Once pressed, a JButton returns selectedWorld == 3 for example, if the user wishes to play in world 3.