![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member Extraordinaire
Join Date: Jan 2009
Location: Arlington, VA
Posts: 82
|
Does anyone know how hard it would be to render Swing components such as a JMenuBar on-top of worldwind like a screen annotation?
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2009
Location: Paris
Posts: 112
|
You can have a look there : http://theballoonproject.blogspot.co...ns-on-wwj.html
|
|
|
|
|
|
#3 |
|
Junior Member Extraordinaire
Join Date: Jan 2009
Location: Arlington, VA
Posts: 82
|
Where is the code for that? That is really nice, but I need to tweak it a little so that it will be a screen annotation instead of a globe annotation.
|
|
|
|
|
|
#4 |
|
Junior Member Extraordinaire
Join Date: Jan 2009
Location: Arlington, VA
Posts: 82
|
I found FengGUI which is a JOGL library that exposes functionality like swing does. It is missing some stuff but it works really well for creating Screen Annotations that look like swing.
|
|
|
|
|
|
#5 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Annotations can support child annotations and layout control to create more complex display. Have a look at examples.AnnotationControls and examples.util.DialogAnnotation, AudioPlayerAnnotation, ButtonAnnotation, ImageAnnotation and other such compounded annotation examples.
This is a rather new addition to annotations that we didn't put to work that much yet. You would have to create your own annotation 'components' though. |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jun 2010
Posts: 5
|
I went to this link http://theballoonproject.blogspot.co...ns-on-wwj.html and there was a link on this site for source code but it leads to a dead link. Does anyone know any other links or information about adding Swing Components to ScreenAnnotations?
|
|
|
|
![]() |
| Tags |
| jogl, screen annotation, swing |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Screen Annotation relative to screen | Unregistered | Development Help | 11 | 04-12-2010 02:12 PM |
| DirectX Screen Lock Issue | beaker | Bug Reports | 13 | 08-02-2009 02:58 PM |
| Offet annotations are below ground | Darkie | Development Help | 4 | 04-13-2009 02:00 PM |
| Icon info popup bubble on wrong screen??? | James_In_Utah | Developers' Corner | 7 | 10-15-2008 07:39 PM |
| Annotations | Shadre | Development Help | 1 | 07-17-2008 07:02 PM |