资源简介
Java GUI程序实例,包括事件、布局、各种控件使用等实例。
代码片段和文件信息
/*
* Copyright (c) 1995 2008 Oracle and/or its affiliates. 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 Oracle or 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.
*/
package events;
/*
* BlankArea.java is used by:
* MouseEventDemo.java.
* MouseMotionEventDemo.java
*/
import javax.swing.*;
import java.awt.Dimension;
import java.awt.Color;
import java.awt.Graphics;
public class BlankArea extends JLabel {
Dimension minSize = new Dimension(100 50);
public BlankArea(Color color) {
setBackground(color);
setOpaque(true);
setBorder(BorderFactory.createLineBorder(Color.black));
}
public Dimension getMinimumSize() {
return minSize;
}
public Dimension getPreferredSize() {
return minSize;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 782698 2013-11-12 13:59 Java GUI139\10 Java (11级)——异常处理.pdf
文件 612723 2013-11-12 14:32 Java GUI139\11 Java(11级)——输入输出流.pdf
文件 1634808 2013-11-28 20:34 Java GUI139\13 Java(11级)——多线程.pdf
文件 5416854 2013-10-31 19:47 Java GUI139\8-9 Java(11级)——GUI编程.pdf
文件 22601 2010-09-23 23:13 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-BorderDemoProject.zip
文件 9883 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-ButtonDemoProject.zip
文件 10076 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-ButtonHtmlDemoProject.zip
文件 85669 2010-09-23 23:16 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-CheckBoxDemoProject.zip
文件 61579 2010-09-23 23:16 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-ColorChooserDemo2Project.zip
文件 34311 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-ColorChooserDemoProject.zip
文件 21164 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-ComboBoxDemo2Project.zip
文件 36103 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-ComboBoxDemoProject.zip
文件 17040 2010-09-23 23:16 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-ConverterProject.zip
文件 36776 2010-09-23 23:13 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-CustomComboBoxDemoProject.zip
文件 13779 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-CustomIconDemoProject.zip
文件 28183 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-DialogDemoProject.zip
文件 10908 2010-09-23 23:16 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-DynamicTreeDemoProject.zip
文件 18258 2010-09-23 23:16 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-FileChooserDemo2Project.zip
文件 10099 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-FileChooserDemoProject.zip
文件 22675 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-FormattedTextFieldDemoProject.zip
文件 22828 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-FormatterFactoryDemoProject.zip
文件 12267 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-fr
文件 7797 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-fr
文件 8732 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-fr
文件 14035 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-GenealogyExampleProject.zip
文件 21636 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-GlassPaneDemoProject.zip
文件 46683 2010-09-23 23:16 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-HtmlDemoProject.zip
文件 169684 2010-09-23 23:17 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-IconDemoProject.zip
文件 10073 2010-09-23 23:15 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-Internalfr
文件 16110 2010-09-23 23:16 Java GUI139\java-界面组件案例大全(内含139个完整Demo)\components\components-JWSFileChooserDemoProject.zip
............此处省略135个文件信息
相关资源
- 基于java的在线答疑系统
- Aspose word for java-14.11最新完美破解版,
- 图解数据结构使用Java.zip
- 超级漂亮java Swing UI 源码
- java手机游戏50例代码
- javaweb网上书城源码(包含数据库)
- JavaEE开发的颠覆者 Spring Boot实战源代
- java学习笔记全
- java2实用教程(第四版)耿祥义ppt课件
- Java经典面试题 传智播客
- Java反序列化漏洞利用工具全
- Java文件上传并自动解压
- 《java从入门到精通 高宏静版》适合初
- Java语言面向对象程序设计第2版清华大
- android 客户端访问java后台实现登陆,
- Java EE Web开发与项目实战code
- 基于Jsp网络在线考试系统源码
- android 用java动态设置布局增添删除修
- java bbs在线论坛系统
- 斑马打印机pc端java的demo
- JAVA swing+mysql 进销存管理系统
- 达内当当网项目源码java
- Functional Programming in Java
- Java POI所需jar包
- JavaWeb医药管理系统235615
- javaEEapi文档中文版
- 疯狂java新浪微博代码
- Java编程思想-第三版.zip
- 基于JavaWeb的论坛项目
- Java+mySQL实现的购物商城项目
评论
共有 条评论