⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wapide.java

📁 WAP ide 代码
💻 JAVA
字号:
package wapide;import javax.swing.UIManager;import java.awt.*;/** * WAP Application Development Kit * Description:  This project seeks to develop a free distribution of a cross-platform WAP Application Development Kit with a fully integrated development environment which supports WAP version 1.2.  It is being developed as a partial fulfillment to my Master's Degree at the University of Asia and the Pacific(UA&P) in Information Technologies. * The Kit will include the following components: * 1. A fully integrated development environment with support for expansion modules. * 2. A WML/WMLScript editor with color coding support for WAP syntax. * 3. A micro-browser for testing new WAP programs (will use html initaillt for simple display only). * 4. A visual WAP designer for easy WAP creation. * 5. WAP encoders and decoders. * The kit will eventually have the following components added to it: * 1. WMLScript support for the micro-browser and encoders and decoders. * 2. WBMP support in the mico-browser and WAP designer. * 3. Full WAP support in the micro-browser. * Copyright:    Copyright (c) 2001 * @author Mark Busman * @version 1.0 * Contact Info: cougar@skyinet.net * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */public class WAPIDE {  boolean packFrame = false;  /**Construct the application*/  public WAPIDE() {    IDEFrame frame = new IDEFrame();    //Center the window    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();    Dimension frameSize = frame.getSize();    if (frameSize.height > screenSize.height) {      frameSize.height = screenSize.height;    }    if (frameSize.width > screenSize.width) {      frameSize.width = screenSize.width;    }    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);    frame.setVisible(true);  }  /**Main method   * param String[] Commandline Arguments.  DOES NOT TAKE ANY!!!!*/  public static void main(String[] args) {    // display copyright    String message = "WAPIDE version 1.0, Copyright (C) 2003 Mark Busman\n";    message = message + "WAPIDE comes with ABSOLUTELY NO WARRANTY;\nfor details see Copying.txt\n";    message = message + "This is free software, and you are welcome to redistribute it under certain conditions; see Copying.txt for the details.";    System.out.println(message);    try {      // load the main IDE frame      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());    }    catch(Exception e) {      e.printStackTrace();    }    new WAPIDE();  }}

⌨️ 快捷键说明

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