[LEGACY] LWJGL 2.X - The Lightweight Java Game Library.
Find a file
Ioannis Tsakpinis 9a895b1dba Attempt to fix focus transfer issue between Display and AWT components in JDK 7:
- Instead of grabbing focus directly to our window, we call requestFocus on the Canvas component. This will clear focus from any other AWT component.
- When the parent Canvas gets focus, we detect it in update and that's when we grab focus to our window. We can't use a listener, setFocus must be called in our thread.
- Alt-tabbing out/in also works because focus goes to the Canvas. The above check will trigger again and our window will be refocused.
2013-04-18 17:02:48 +03:00
applet update applet html files to include al_min_jre tag 2011-09-03 18:41:22 +00:00
doc update credits 2011-10-06 21:11:46 +00:00
eclipse-update LWJGL info and test view are now sorted into category "general" (otherwise they are not visible in Eclipse 4.2) 2012-05-09 12:33:16 +00:00
libs Update to latest build of OpenAL-Soft 1.15.1 2013-04-06 23:58:40 +01:00
maven applying rubens latest maven patches 2011-10-15 20:18:01 +00:00
platform_build Fix the now infamous "Could not get the JAWT interface" exception when 2013-03-25 22:55:46 +00:00
res Fixed JDK5 compilation issue and added SpriteShootout textures. 2011-04-08 03:41:19 +00:00
src Attempt to fix focus transfer issue between Display and AWT components in JDK 7: 2013-04-18 17:02:48 +03:00
.gitignore Shrink .gitignore 2012-11-27 20:18:16 +01:00
build.xml Merge pull request #19 from LWJGL/osx-java7 2013-03-14 04:49:43 -07:00
README.md Adding README file 2012-11-18 00:32:14 +01:00

LWJGL - Lightweight Java Game Library

The Lightweight Java Game Library (LWJGL) is a solution aimed directly at professional and amateur Java programmers alike to enable commercial quality games to be written in Java. LWJGL provides developers access to high performance crossplatform libraries such as OpenGL (Open Graphics Library), OpenCL (Open Computing Language) and OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound. Additionally LWJGL provides access to controllers such as Gamepads, Steering wheel and Joysticks. All in a simple and straight forward API.

Website: http://lwjgl.org Forum: http://lwjgl.org/forum Bugs/Suggestions: https://github.com/LWJGL/lwjgl/issues

Compilation

LWJGL requires a JDK and Ant installed to compile, as well as your platforms native compiler to compile the JNI.

  • ant generate-all
  • ant compile
  • ant compile_native