No, you didn't descibe enough of what you're doing ("playing a little with writing in C"). I'm also unsure why you're searching in the Java code when you're going the native code route. The interesting parts for you would be in the native libraries for the Java framework, not the Java code.
Opening the framebuffer and doing the proper ioctl() ought to work just fine, though. I'm not sure if there's an API for the X11 layer, though. Anyway, you didn't tell whether you are using that.
|