Split Screen on any platform?

ello all,
I won’t to know if I can use a 4 generation language (VB, JAVA, etc) to uses it’s regular create window functionality under what ever OS, and define half the screen to OpenGL rendering and the other half dedicated to the language’s native GUI controls. An example would be a java screen with OpenGL on the right side, and buttons running down on the left side. I’m not really going to use Java, but a similiar language that is portable.
Is this possible?

thanks in advance,
Brad

Yes it’s possible.

Typically you get an OpenGL context/drawable for a window which covers the portion of the screen you want to draw OpenGL in. It is pretty conventional in that you usually use the native interface to create the base drawable and then use the platform specific OpenGL ‘glue’ to create the OpenGL context. The native platform interface (GDI/X11/whatever) is still used everywhere else.