Developing Games In Java chapter 2 example not doing as i would have expected
posted 5 years ago
Hi i'm not sure if this is really the right forum but as I see the book "Developing Games in Java" mentioned a lot around here i thought someone might be able to help me.
Here is the code that is in Chapter 2.
Basically it's just to teach you how to have a program be full screen, which is something I have not done before. The only thing that is different to what i expect are the colors of the screen when th program is running. In the run() method of class FullScreenTest is says this...
But the screen color turns out being black. Even if i switch the colors around it makes no difference. Should the color not be white? I know the book is pretty old so is there something else i have to now to change the foreground color?
posted 4 years ago
First of all , If your expectation is only on the full screen and the background color let me know. Ill get you another code that does your need.