Package org.earth3d.jearth.util

Examples of org.earth3d.jearth.util.InfoWindow


        );
        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButtonHelpActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonHelpActionPerformed
        InfoWindow frame = new InfoWindow();
        frame.setLocationRelativeTo(null);
        frame.getJLabelHelp().setText("<html><h1>Create an own map</h1><p>It is quite easy to " +
                "create and load an own map. To create a map, you first need a \"configuration file\" where you " +
                "specify which input files to use:</p>" +
                "<pre>&lt;mapCreationConfig&gt;<br>"+
                "  &lt;map filename=\"world.200404.3x5400x2700.jpg\" x=\"0\" y=\"0\" width=\"1\" height=\"1\" /&gt<br>"+
                "  &lt;heightfield filename=\"testheight.png\" x=\"0\" y=\"0\" width=\"1\" height=\"1\" /&gt;<br>"+
                "&lt;/mapCreationConfig&gt;" +
                "</pre>"+
                "<p>You can have multiple maps and heightfields. They will be added in the given order, which is " +
                "important if their coordinates overlap. The coordinate range goes from 0 to 1 in double precision. So " +
                "if you just want to insert a map for the western hemisphere, you would use the coordinates (0,0,0.5,1).</p>" +
                "<p>The heightfield is given as grayscale png file, where white pixels are high points/mountains and darker/black " +
                "pixels are lower points.</p>" +
                "<p>With this file and a given output directory, you can start the map creation.</p>" +
                "<p>When the map creation has finished, a file service.sxml should have been created in the " +
                "output directory that can be opened with File-&gt;Open URL.</p>" +
                "</html>");
        frame.pack();
        frame.setVisible(true);
    }//GEN-LAST:event_jButtonHelpActionPerformed
View Full Code Here

TOP

Related Classes of org.earth3d.jearth.util.InfoWindow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.