Very Basic Example

Started by TimmerCA, February 23, 2012, 05:29:20

Previous topic - Next topic

TimmerCA

Hi,

I'm trying to get a very basic LWJGL application going.  I've more or less copied the example code from the documentation pages and wound up with the attached Java file.  The Java file runs, but the display is completely black and no box is displayed.  Also, the title I've set in the code here does not appear in the window (instead it just says "Game") and the window is not re-sizable.

I feel like I'm missing something very basic here, but I can't imagine what.  What am I doing wrong?

Thanks!

TimmerCA

Gah!

Shortly after I posted this request, I did a "Clean and Build" on a hunch and it turns out that fixed the problem.  I now have a resizable window with a proper title and lavender box on the bottom left corner.

The problem was the connection between the keyboard and the chair.