SDLbits is a very lightweight SDL wrapper for Java. This library was designed to be very small and simple. It does not use Swig, but goes directly from "native" Java definitions to the sdlbits C wrapper library to SDL or OpenGL (in C). All symbols are exposed as they would be in C, except the "SDL_" prefix has been removed, since all names are inside the SDL class. The SDL structures from C are translated to very simple Java classes, such as SDL.VideoInfo. Most fields are exposed as read-only "get" methods, but "set" methods for writable members are supported as well. These classes simply interface to the actual C data with a ByteBuffer "pointer".