资源简介

代码片段和文件信息
/*
* 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个文件信息
相关资源
- JNA所需要的jar包
- jsonarray所必需的6个jar包.rar
- utgard用到的jar包
- java 程序设计网页浏览器
- Android v7的一些jar包
- windows 系统下启动与结束java的jar包的
- axis.jar及依赖jar包
- Java HttpClient 4.x Jar包
-
ba
se64Encode编码,jar包源代码打包 - sqlserver2008连接所需jar包六个
- jdk和cglib动态代理的{jar包+源码}
- cglibjar包
- 传智itcast-bookstore所需jar包
- kettle连接数据库相关jar包
- mysql-connector-java-5.1.17.jar
- java实现生成Excel默认.xls,可自己修改
- Android直连Mysql数据库需要导入的jar包
- oracle11g jar包for JDBC
- oracle 11g jdbc jar包
- mysql-5.1.40-bin jar包
- DBCP 数据源jar包
- c3p0-0.9.5.2的三个jar包 数据库连接池
- jersey1.18 jar包
- 使用JSTL需要的jar包程序文件
- JavaMail的JAR包
- websocket推送(兼容低版本的IE浏览器)
- 连接数据库mysql所需jar包
- DbVisualizer 10.0.14 破解jar包
- smali jar包
- android-support-design.jar(24.0.0版本)
评论
共有 条评论