亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? install.java

?? OSGI 的 源碼實現,采用JAVA書寫
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * Oscar - An implementation of the OSGi framework. * Copyright (c) 2004, Richard S. Hall * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * *   * Redistributions of source code must retain the above copyright *     notice, this list of conditions and the following disclaimer. *   * Redistributions in binary form must reproduce the above copyright *     notice, this list of conditions and the following disclaimer in *     the documentation and/or other materials provided with the *     distribution. *   * Neither the name of the ungoverned.org nor the names of its *     contributors may be used to endorse or promote products derived *     from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * Contact: Richard S. Hall (heavy@ungoverned.org) * Contributor(s): ***/package org.ungoverned.oscar.installer;import java.awt.*;import java.awt.event.*;import java.io.File;import java.util.*;import javax.swing.*;import javax.swing.border.BevelBorder;import org.ungoverned.oscar.installer.artifact.*;import org.ungoverned.oscar.installer.editor.*;import org.ungoverned.oscar.installer.property.*;import org.ungoverned.oscar.util.OscarConstants;public class Install extends JFrame{    private static transient final String PROPERTY_FILE = "property.xml";    private static transient final String ARTIFACT_FILE = "artifact.xml";    public static transient final String JAVA_DIR = "Java directory";    public static transient final String INSTALL_DIR = "Install directory";    private PropertyPanel m_propPanel = null;    private JButton m_okayButton = null;    private JButton m_cancelButton = null;    private JLabel m_statusLabel = null;    private java.util.List m_propList = null;    private java.util.List m_artifactList = null;    public Install()        throws Exception    {        super("Install");        // Load properties before resources, because resources        // refer to properties.        m_propList = loadPropertyList();        m_artifactList = loadArtifactList();        getContentPane().setLayout(new BorderLayout());        getContentPane().add(            m_propPanel = new PropertyPanel(m_propList), BorderLayout.CENTER);        getContentPane().add(createButtonPanel(), BorderLayout.SOUTH);        pack();        setResizable(true);        centerWindow(this);        // Make window closeable.        setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);        addWindowListener(new WindowAdapter() {            public void windowClosing(WindowEvent event)            {                doCancel();            }        });    }    public java.util.List loadPropertyList()    {        String installDir = System.getProperty("user.home");        if (!installDir.endsWith(File.separator))        {            installDir = installDir + File.separator;        }        Property prop = null;        // Eventually these should be read from a file.        java.util.List list = new ArrayList();        // Add the shell choice property.        prop = new BooleanPropertyImpl("Shell", true);        prop.setEditor(new BooleanEditor((BooleanProperty) prop, "Text", "GUI"));        list.add(prop);        // Add the java directory property.        prop = new StringPropertyImpl(JAVA_DIR, System.getProperty("java.home"));        prop.setEditor(new FileEditor((StringProperty) prop, true));        list.add(prop);        // Add the installation directory property.        prop = new StringPropertyImpl(INSTALL_DIR, installDir + "Oscar");        prop.setEditor(new FileEditor((StringProperty) prop, true));        list.add(prop);        // Add the documentation URL property.        prop = new BooleanStringPropertyImpl(            "User documentation",            true,            "http://download.forge.objectweb.org/oscar/oscar-doc-"            + OscarConstants.OSCAR_VERSION_VALUE + ".jar");        list.add(prop);        // Add the documentation URL property.        prop = new BooleanStringPropertyImpl(            "API documentation",            true,            "http://download.forge.objectweb.org/oscar/oscar-api-"            + OscarConstants.OSCAR_VERSION_VALUE + ".jar");        list.add(prop);        return list;    }    public java.util.List loadArtifactList() throws Exception    {        // Eventually I will changed these to be read from a file.        java.util.List list = new ArrayList();        list.add(            new ArtifactHolder(                (BooleanProperty) getProperty("User documentation"),                new URLJarArtifact(                    (StringProperty) getProperty("User documentation"))));        list.add(            new ArtifactHolder(                (BooleanProperty) getProperty("API documentation"),                new URLJarArtifact(                    (StringProperty) getProperty("API documentation"))));        list.add(            new ArtifactHolder(                new ResourceJarArtifact(                    new StringPropertyImpl("sourceName", "package.jar"))));        list.add(            new ArtifactHolder(                new ResourceFileArtifact(                    new StringPropertyImpl("sourceName", "src.jar"))));        list.add(            new ArtifactHolder(                new ResourceFileArtifact(                    new StringPropertyImpl("sourceName", "LICENSE.txt"))));        list.add(            new ArtifactHolder(                (BooleanProperty) getProperty("Shell"),                new ResourceFileArtifact(                    new StringPropertyImpl("sourceName", "system.properties.text"),                    new StringPropertyImpl("destName", "system.properties"),                    new StringPropertyImpl("destDir", "lib"))));        list.add(            new ArtifactHolder(                new NotBooleanPropertyImpl((BooleanProperty) getProperty("Shell")),                new ResourceFileArtifact(                    new StringPropertyImpl("sourceName", "system.properties.gui"),                    new StringPropertyImpl("destName", "system.properties"),                    new StringPropertyImpl("destDir", "lib"))));        list.add(            new ArtifactHolder(                new ResourceFileArtifact(                    new StringPropertyImpl("sourceName", "example.policy"))));        list.add(            new ArtifactHolder(                new ResourceFileArtifact(                    new StringPropertyImpl("sourceName", "oscar.bat"),                    new StringPropertyImpl("destName" , "oscar.bat"),                    new StringPropertyImpl("destDir", ""),                    true)));        list.add(            new ArtifactHolder(                new ResourceFileArtifact(                    new StringPropertyImpl("sourceName", "oscar.sh"),                    new StringPropertyImpl("destName" , "oscar.sh"),                    new StringPropertyImpl("destDir", ""),                    true)));        return list;    }    private Property getProperty(String name)    {        for (int i = 0; i < m_propList.size(); i++)        {            Property prop = (Property) m_propList.get(i);            if (prop.getName().equals(name))            {                return prop;            }        }        return null;    }    protected void doOkay()    {        m_propPanel.setEnabled(false);        m_okayButton.setEnabled(false);        m_cancelButton.setEnabled(false);        new Thread(new InstallRunnable()).start();    }    protected void doCancel()

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美r级在线观看| 午夜伦欧美伦电影理论片| 亚洲伦理在线精品| 蜜臀av亚洲一区中文字幕| 国产精品一二三区在线| 7777精品伊人久久久大香线蕉经典版下载 | 一本一道久久a久久精品综合蜜臀| 欧美三级三级三级爽爽爽| 亚洲国产激情av| 久久精品免费观看| 欧美日韩一区二区不卡| 国产精品久久毛片a| 久久爱另类一区二区小说| 欧美三级三级三级| 亚洲美女屁股眼交| 不卡高清视频专区| 欧美精品一区二区三区蜜桃| 亚洲曰韩产成在线| 91色九色蝌蚪| 亚洲欧洲国产专区| 成人av在线影院| 国产精品伦一区二区三级视频| 奇米精品一区二区三区四区| 欧美三日本三级三级在线播放| 亚洲精品日产精品乱码不卡| 成人av资源下载| 中文字幕欧美日本乱码一线二线| 国产美女娇喘av呻吟久久| 欧美电影精品一区二区| 麻豆成人久久精品二区三区红 | 亚洲激情成人在线| av在线这里只有精品| 国产精品电影一区二区三区| 国产福利精品一区二区| 久久久久久亚洲综合| 久久不见久久见中文字幕免费| 日韩视频免费观看高清完整版| 青青草国产精品亚洲专区无| 在线播放欧美女士性生活| 日韩av一区二| 久久综合色一综合色88| 国产69精品久久777的优势| 国产片一区二区| 91色porny| 水蜜桃久久夜色精品一区的特点| 欧美精品电影在线播放| 精品一区二区三区在线播放| 精品国产免费人成在线观看| 国产老肥熟一区二区三区| 中文字幕乱码日本亚洲一区二区 | 91精品福利在线一区二区三区| 美女视频免费一区| 国产亚洲精品aa| 色综合天天天天做夜夜夜夜做| 一区二区三区中文在线观看| 欧美挠脚心视频网站| 精品一区二区三区在线播放视频| 国产亚洲精品资源在线26u| 91女神在线视频| 日韩国产高清影视| 国产亚洲一区二区三区在线观看| 99久久综合狠狠综合久久| 亚洲电影在线播放| 久久噜噜亚洲综合| 91国产丝袜在线播放| 麻豆成人免费电影| 亚洲精品免费在线观看| 日韩免费高清视频| 91免费在线播放| 免费在线视频一区| 亚洲色图都市小说| 精品久久久久香蕉网| 91视频com| 激情综合亚洲精品| 亚洲成人www| 国产欧美日韩中文久久| 欧美日韩精品一区二区| 成人免费看视频| 奇米影视一区二区三区| 17c精品麻豆一区二区免费| 欧美va日韩va| 欧美人成免费网站| 91婷婷韩国欧美一区二区| 久久国产麻豆精品| 天天操天天综合网| 亚洲人成在线播放网站岛国| 精品少妇一区二区三区| 欧美性受xxxx黑人xyx| 成a人片国产精品| 精品写真视频在线观看| 午夜精品福利一区二区三区av| 国产精品剧情在线亚洲| www欧美成人18+| 91精品国产色综合久久不卡电影 | 亚洲黄色片在线观看| 欧美国产欧美综合| 精品国产91洋老外米糕| 欧美久久久久久久久久| 欧美专区在线观看一区| 99re8在线精品视频免费播放| 久久超碰97中文字幕| 秋霞成人午夜伦在线观看| 天天色天天爱天天射综合| 一区二区视频在线| 亚洲天堂久久久久久久| 欧美激情中文字幕| 久久久精品国产99久久精品芒果| 日韩欧美国产高清| 日韩欧美一级精品久久| 欧美一区二区视频在线观看| 欧美日韩色综合| 欧美日韩1区2区| 91精品国产入口| 日韩精品一区二区三区视频在线观看| 欧美精品一级二级| 日韩视频在线永久播放| 欧美一二三区精品| 欧美精品一区二区三区蜜桃视频| 精品黑人一区二区三区久久| 欧美xingq一区二区| 亚洲精品在线一区二区| 国产亚洲成aⅴ人片在线观看| 久久香蕉国产线看观看99| 国产人妖乱国产精品人妖| 国产日本亚洲高清| 亚洲视频中文字幕| 亚洲一区电影777| 蜜臂av日日欢夜夜爽一区| 久久99精品久久久久久动态图| 国产一本一道久久香蕉| 不卡的av在线| 欧美日韩一级二级三级| 日韩欧美自拍偷拍| 国产亚洲精久久久久久| 亚洲美女屁股眼交| 人禽交欧美网站| 国产精品亚洲午夜一区二区三区 | 性做久久久久久久久| 日韩成人伦理电影在线观看| 久久99精品一区二区三区三区| 韩国午夜理伦三级不卡影院| 成人免费视频一区| 欧美性大战久久| 日韩欧美国产一区二区三区 | 五月婷婷久久丁香| 精品一区二区av| 成人黄色电影在线| 欧美日韩情趣电影| 久久免费国产精品| 亚洲第一福利一区| 国内精品第一页| 欧美在线三级电影| 久久久精品人体av艺术| 亚洲午夜在线观看视频在线| 精品一区二区三区蜜桃| 91片黄在线观看| 精品国产一区二区三区av性色| 国产精品天干天干在观线 | 中文字幕综合网| 婷婷激情综合网| 成人黄色软件下载| 日韩女优av电影| 亚洲黄色小视频| 国产白丝精品91爽爽久久| 欧美日韩成人在线| 国产精品久久久一本精品| 免费观看久久久4p| 色天使色偷偷av一区二区| 欧美电影免费提供在线观看| 亚洲精品乱码久久久久| 国产一二精品视频| 884aa四虎影成人精品一区| 综合久久久久久| 国产精品亚洲午夜一区二区三区 | 中文无字幕一区二区三区 | 久久看人人爽人人| 美女精品一区二区| 欧美日韩高清一区二区不卡| 亚洲欧洲精品一区二区三区 | 欧美极品美女视频| 韩国三级在线一区| 日韩免费高清电影| 免费人成黄页网站在线一区二区| 色综合激情五月| 综合激情网...| 99re这里只有精品视频首页| 国产欧美日韩麻豆91| 黄色精品一二区| 欧美电影免费观看高清完整版在线 | 91香蕉视频污在线| 国产精品精品国产色婷婷| 国产福利一区二区三区视频在线| 欧美xxxx老人做受| 国产在线精品不卡| 亚洲精品一区二区精华| 久久国产尿小便嘘嘘尿| 精品成人佐山爱一区二区| 麻豆91精品91久久久的内涵| 欧美一区二区三区视频在线| 亚洲高清免费观看高清完整版在线观看|