World Wind Forums

Go Back   World Wind Forums > Community > WorldWind General

WorldWind General General WorldWind discussions.
Note: This is not a technical support forum. It is for World Wind topics that don't fit into other categories.

Reply
 
Thread Tools Display Modes
Old 12-08-2010, 12:50 AM   #1
tmkd
Junior Member
 
Join Date: Nov 2010
Posts: 1
tmkd is on a distinguished road
Default How to put WorldWindowGLJPanel in JPanel

As i said in title.
I am trying to put WorldWindowGLJPanel object in other JPanel(for example called worldwind).
But this code doesnot work.
Code:
 WorldWindowGLJPanel wwpanel = new WorldWindowGLJPanel();
 wwpanel.setModel(new BasicModel());
 this.worldwind.add(wwpanel);
When i put WorldWindowGLJPanel as main JPanel in (by setComponent)FrameView it appears in window.
Can you help me?
tmkd is offline   Reply With Quote
Old 12-08-2010, 06:11 PM   #2
guy
Junior Member
 
Join Date: May 2010
Posts: 29
guy is on a distinguished road
Default

hi, see (or use) class ApplicationTemplate for a full sample and use WorldWindowGLJCanvas instead of WorldWindowGLJPanel (WorldWindowGLJPanel is buggy)
guy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Share Resources in WorldWindowGLJPanel caller Development Help 0 10-03-2009 01:29 PM
Problem with repainting JPanel RaRu Development Help 2 01-27-2009 10:42 PM
Centering the globe in a WorldWindowGLJPanel nigel25840 Development Help 1 01-13-2009 09:24 PM
WorldWindowGLJPanel and GlobeAnnotation shawngano Development Help 2 12-15-2007 07:42 PM
About WorldWindowGLJPanel asantiago Development Help 6 11-06-2007 06:55 PM


All times are GMT +1. The time now is 06:43 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.