资源简介
代码片段和文件信息
/*
* Copyright (C) 2004 Sun Microsystems Inc. All rights reserved. Use is
* subject to license terms.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Lesser 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.
*/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.SwingConstants;
import java.io.File;
import java.net.URL;
import java.net.MalformedURLException;
import org.jdesktop.jdic.browser.*;
/**
* JDIC API demo main class.
*
* Browser
is a GUI application demonstrating the usage of the JDIC API package
* org.jdesktop.jdic.browser
(Browser component).
*/
public class Browser extends JPanel {
public static ImageIcon browseIcon = new ImageIcon(
Browser.class.getResource(“images/Right.gif“));
BorderLayout borderLayout1 = new BorderLayout();
JToolBar jBrowserToolBar = new JToolBar();
JButton jStopButton = new JButton(“Stopp“
new ImageIcon(getClass().getResource(“images/Stop.png“)));
JButton jRefreshButton = new JButton(“Refresh“
new ImageIcon(getClass().getResource(“images/Reload.png“)));
JButton jForwardButton = new JButton(“Forward“
new ImageIcon(getClass().getResource(“images/Forward.png“)));
JButton jBackButton = new JButton(“Back“
new ImageIcon(getClass().getResource(“images/Back.png“)));
JPanel jAddressPanel = new JPanel();
JLabel jAddressLabel = new JLabel();
JTextField jAddressTextField = new JTextField();
JButton jGoButton = new JButton();
JPanel jAddrToolBarPanel = new JPanel();
MyStatusBar statusBar = new MyStatusBar();
JPanel jBrowserPanel = new JPanel();
IWebBrowser webBrowser;
public Browser() {
try {
jbInit();
} catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {}
Jframe frame = new Jframe(“JDIC API Demo - Browser“);
Container contentPane = frame.getContentPane();
contentPane.setLayout(new GridLayout(1 1));
contentPane.add(new Browser());
frame.add
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2006-11-02 04:48 windows\
目录 0 2006-11-02 04:49 windows\demo\
目录 0 2006-11-02 04:48 windows\demo\Tray\
文件 503 2006-11-02 04:48 windows\demo\Tray\Tray$1.class
目录 0 2006-11-02 04:48 windows\demo\Tray\images\
文件 235 2006-11-02 04:48 windows\demo\Tray\images\middle.gif
文件 5429 2006-11-02 04:48 windows\demo\Tray\images\duke.gif
文件 531 2006-11-02 04:48 windows\demo\Tray\Tray$2.class
文件 6795 2006-11-02 04:48 windows\demo\Tray\Tray.class
文件 1362 2006-11-02 04:48 windows\demo\Tray\Tray$3.class
文件 8998 2006-11-02 04:48 windows\demo\Tray\Tray.java
文件 3683 2006-11-02 04:48 windows\demo\README
目录 0 2006-11-02 04:48 windows\demo\Browser\
文件 385 2006-11-02 04:48 windows\demo\Browser\Browser_jStopButton_actionAdapter.class
文件 397 2006-11-02 04:48 windows\demo\Browser\Browser_jAddressTextField_actionAdapter.class
文件 381 2006-11-02 04:48 windows\demo\Browser\Browser_jGoButton_actionAdapter.class
文件 911 2006-11-02 04:48 windows\demo\Browser\MyStatusBar.class
文件 2257 2006-11-02 04:48 windows\demo\Browser\MyStatusBar.java
文件 14458 2006-11-02 04:48 windows\demo\Browser\Browser.java
文件 391 2006-11-02 04:48 windows\demo\Browser\Browser_jRefreshButton_actionAdapter.class
目录 0 2006-11-02 04:48 windows\demo\Browser\images\
文件 390 2006-11-02 04:48 windows\demo\Browser\images\Forward.png
文件 407 2006-11-02 04:48 windows\demo\Browser\images\Back.png
文件 555 2006-11-02 04:48 windows\demo\Browser\images\Reload.png
文件 765 2006-11-02 04:48 windows\demo\Browser\images\Stop.png
文件 82 2006-11-02 04:48 windows\demo\Browser\images\Right.gif
文件 8043 2006-11-02 04:48 windows\demo\Browser\Browser.class
文件 391 2006-11-02 04:48 windows\demo\Browser\Browser_jForwardButton_actionAdapter.class
文件 385 2006-11-02 04:48 windows\demo\Browser\Browser_jBackButton_actionAdapter.class
文件 297 2006-11-02 04:48 windows\demo\Browser\Browser$1.class
文件 1576 2006-11-02 04:48 windows\demo\Browser\Browser$2.class
............此处省略173个文件信息
相关资源
- 讯飞语音类jar包
- java2word程序代码及jar包
- jmeter用到的json-20140107.jar包
- jsp的jar包,修复缺少jsp报错
- httpservlet的jar包,修复httpservlet报错
- javax jar包
- java播放mp3音频需要的全部三个jar包和
- fckeditor2.6的六个jar包,java-core-2.6.ja
- MPandroidChart jar包
- GreenDao所需Jar包3.22版全套亲测可行
- servlet所需jar包
- ezmorph jar包
-
xm
l.bind.jar包 - fastjson alibaba jar包
- asm3.3相关jar包集合
- easyPOI表格导入导出所需jar包
- recyclerview-v7-25.3.1-sources.jar 最新版 r
- gson(2.8.6)-jar包.zip
- zxing jar包
- okhttp_3.1.2的jar包,内含okio
- modbus4j 相关jar包 3.0.5-SNAPSHOT.jar
- ViewPager源码和兼容3.0一下属性动画J
- c3p0所需jar包和配置文件
- jxl.jar包,亲测可用
- matlabcontrol-4.1.0java中调用matlab代码ja
- 算法第四版,源代码非jar包,放src下
- commons-fileupload-1.2.1.jar与commons-io-1.3.
- JAVA操作串口demo和dll动态库和jar包__
- java基于IE内核网页浏览器
- fckeditor所需的jar包集合
评论
共有 条评论