Need advice on the use of OpenGL with Java ..

Hi all,

I have to design a widget that users can download on their personal computers(PC MC) and put on their desktop or integrate to their toolbars. The widget i would like to create for now represents a single clock with its classic representation (2 hands that represent both hours and minutes etc.).

Is openGL in your opinion adapted to this kind of use or is it too complicated (am absolute beginner to it) ?

My other question is : is it obligatory to use awt or swing to render my drawings ? I would like my widget to be free of anything related to frames etc.

Thanks in advance for any help.

Disclaimer: I am not an expert to JOGL.

You could use either Swing widgets or OpenGL for that. If you want a frameless window in Swing, you might just use JWindow.

OpenGL might make some 3d/gradient/transparency effects easier/faster, Swing has a lot of widgets and layouts and does not require OpenGL support on the machine your widget would run on.