View Full Version : Newbie Question
06-08-2007, 08:43 PM
I followed the NetBeans setup guide for Mac OS X (PPC). Everything seems to work (except for WorldWindowGLJPanel known issue), but I get the below screen. Any ideas what is wrong?
06-08-2007, 10:04 PM
Dual core processor with one of them on strike ? :p
Does the webstart version (http://worldwind.arc.nasa.gov/java/index.html) do the same ?
06-09-2007, 12:39 AM
The webstart demo works perfectly on my system. Below is the important part of the code. The main method justs calls the constructor and then sets the frame visible.
* Created on June 8, 2007, 1:35 PM
public class MainGUI extends javax.swing.JFrame
/** Creates new form MainGUI */
Model m = (Model) WorldWind.createConfigurationComponent(A VKey.MODEL_CLASS_NAME);
}//end of constructor
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents()
world = new gov.nasa.worldwind.awt.WorldWindowGLCanv as();
world.setPreferredSize(new java.awt.Dimension(800, 600));
// Variables declaration - do not modify
private gov.nasa.worldwind.awt.WorldWindowGLCanv as world;
// End of variables declaration
}//end of mainGUI
I tried your code and it works fine (on my windows-system)
But sometimes the same error occured in my own little programs. Is the globe always shown in this strange way?
06-11-2007, 02:52 PM
With the above code it happened 95% of the time. When I modifed the code to create the layers before the WorldWindow the problem seems to go away. I have seen the issue maybe one more time since then. It almost seems like a thread race condition or safety issue.
06-11-2007, 08:56 PM
After looking some more, I belive this to be a compatibility issue for WWJ on OS X. It seems to happen some of the time. As I make changes to the constructor the problem becomes more or less frequent.
06-12-2007, 11:38 PM
Has anyone else tried this on OS X 10.4 for PPC?
vBulletin® v3.7.1, Copyright ©2000-2013, Jelsoft Enterprises Ltd.