![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2009
Posts: 2
![]() |
I followed the tutorial from
http://blogs.sun.com/geertjan/entry/...asa_world_wind but JFrame initComponemts() The .addComponent(..) are giving errors of "cannot find symbol" how do I fix this NetBeans6.7.1 issue that is related to Worldwind? Thanks in advance.. ---------this is the generated code----------------------------- gov.nasa.worldwind.awt.WorldWindowGLCanv as worldWindowGLCanvas1 = new gov.nasa.worldwind.awt.WorldWindowGLCanv as(); ----The error occurs here----------------------- .addComponent(worldWindowGLCanvas1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) Last edited by patmurris; 09-06-2009 at 06:06 PM. Reason: Solved |
|
|
|
|
|
#2 | |
|
Member
Join Date: Aug 2009
Location: Georgetown, TX
Posts: 72
![]() |
Hi sam03,
I'm brand new to Java and to WorldWind, but I've been pursuing development using NetBeans for a few weeks now. The instructions here from Chiss cover most everything required to get WWJ to the point you can run the examples from within the project in NetBeans (I have set this up successfully in both NB 6.5.1 and 6.7.1)... (Note: There is a problem in the WWJ project in NB 6.7 that does not present itself as an issue in NB 6.5. After following all the steps here there will still be a conflict that keeps the project from compiling. Some sort of 'have the same erasure, yet neither overrides the other' error in a class called 'geom' I think (I'm at home away from the code right now) related to the function 'positionsCrossDateLine'. I have not figured out how to fix this yet. But it doesn't prevent you from run example files from the project.) Quote:
- right click the project and click 'properties' again - click 'Run' in the tree on the left side - add the following in the VM Options field -Djava.library.path=path/to/folder/containing/jogl/jars (I have my jogl jars in a folder outside the project. You may not have to do this last step if the jogl jar files are in the project... I'm not sure.) Good luck with it! |
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2009
Posts: 2
![]() |
Thanks a lot..It worked fine
![]() |
|
|
|
|
|
#4 |
|
Guest
Posts: n/a
|
Its works fine..
Thanks.. I am able to see the examples now... |
|
![]() |
| 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 |
| NASA Uses Isilon IQ to Advance Visual Imaging of Earth | bull | Community Chat | 0 | 03-21-2007 06:29 AM |
| World Wind RC2 | bull | Announcements & News | 15 | 12-29-2006 01:14 AM |
| NASA World Wind 1.3.3.1 Released | bull | Announcements & News | 0 | 10-31-2005 06:52 PM |
| World Wind 1.3.3 released | Randy Kim | Announcements & News | 0 | 10-22-2005 05:37 AM |
| World Wind 1.3.2 released | Beansprout | Announcements & News | 0 | 09-07-2005 11:51 PM |