placenames.java

来自「world wind java sdk 源码」· Java 代码 · 共 40 行

JAVA
40
字号
/*Copyright (C) 2001, 2008 United States Governmentas represented by the Administrator of theNational Aeronautics and Space Administration.All Rights Reserved.*/package gov.nasa.worldwind.examples;import javax.swing.*;import java.awt.*;/** * @author jparsons * @version $Id$ */public class PlaceNames extends ApplicationTemplate{    public static class AppFrame extends ApplicationTemplate.AppFrame    {        public AppFrame()        {            super(true, true, false);            this.getLayerPanel().add(makeControlPanel(),  BorderLayout.SOUTH);        }        private JPanel makeControlPanel()        {             return new PlaceNamesPanel(this.getWwd());        }    }    public static void main(String[] args)    {        ApplicationTemplate.start("World Wind Place Names", AppFrame.class);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?