Friday, March 28, 2008

WWJ and using JWindow to improve annotations

Here is a screenshot about something I'm trying. I have created a new Renderable object that shows a JPanel into a JWindow at a specified Position (and also a little triangle using OpenGL). The object is responsible to move the JWindow when the globe is rotated and hide it when the position is outside the frustum.



It is not finished but is a easy way to create annotation with all the power of Java :) Also it has a great effect because JWindow annotation can exists and move out the Canvas.

2 comments:

Anonymous said...

I don't know if it is better to use FengGUI for that...

Antonio Santiago said...

I don't know too ;) if it is a better way than FengGUI. I think it can be usefull if you need annotation with full Java "power" or with component not implemented in FenGUI.