Hi James,
I was able to get it to fit into a JPanel and resize correctly (for most
instances.) I resorted to doing the drawing on the screenshot hack to
deal with the lightweight component overlaying a heavyweight window
(create screen shot of window, hide 3D window, draw polygon for
instance, send polygon KML to Google Earth, show 3D window.) I'd be
happy to send you my source if you're interested.
Of course, NASA's World Wind using the new JOGL has solved the
heavyweight/lightweight mixing problem, which is very cool, so I'd
recommend using WW if you want a 3D map.
(I think the mixing works best on nVidia graphics cards though.)
BTW, I read on the WW message board, that somebody wrote a plug-in that
can access GE server data, which I believe would be legal if you bought
your own GE map server and populated it with data from the NGA for
instance. (The only reason I was trying to embed GE into a Java
application was that Google has a richer dataset that streams faster
than the default WW servers.)
[EMAIL PROTECTED] wrote:
Hey Robert,
any news on this thread. I am doing the same thing, need to put the google
earth render inside one of my applications, though I am having problems fitting
it exactly into a JPanel or any other container other than a JFrame, which by
the way still does not centre properly.
James
[Message sent by forum member 'jb489' (jb489)]
http://forums.java.net/jive/thread.jspa?messageID=263893
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".