Location:
Search - JColorChooser
Search list
Description: 制作一个简单的调色板,不用java自带的包,大家可以-production of a simple palette, not java own package, we can s
Platform: |
Size: 19119 |
Author: 徐 |
Hits:
Description: ColorChooser可以让你选择所想要的颜色,并更改某个组件的颜色。JAVA提供一个JColorChooser组件,最常使用JColorChooser的方式是使用JColorChooser的静态方法(static method): showDialog()。-ColorChooser lets you choose the desired color, and alter the color of a particular component. JAVA provide a JColorChooser components, JColorChooser the most commonly used method is to use the static side JColorChooser (static method) : showDialog ().
Platform: |
Size: 4796 |
Author: 袁慧萍 |
Hits:
Description: 直接以ColorSelectionModel的addChangeListener()方法来检测用户是否对颜色的选择有所改变。每当用户在JColorChooser上做一次颜色的改变时,就会触发ChangeEvent事件,因此我们必须实现ChangeListener界面来处理这个事件。-directly to the addChangeList ColorSelectionModel ener () method to detect whether users choose the right color change. Whenever users JColorChooser done a color change, ChangeEvent will trigger events, Therefore, we must realize ChangeListener interface to handle this incident.
Platform: |
Size: 1588 |
Author: 袁慧萍 |
Hits:
Description: 制作一个简单的调色板,不用java自带的包,大家可以-production of a simple palette, not java own package, we can s
Platform: |
Size: 18432 |
Author: 徐 |
Hits:
Description: ColorChooser可以让你选择所想要的颜色,并更改某个组件的颜色。JAVA提供一个JColorChooser组件,最常使用JColorChooser的方式是使用JColorChooser的静态方法(static method): showDialog()。-ColorChooser lets you choose the desired color, and alter the color of a particular component. JAVA provide a JColorChooser components, JColorChooser the most commonly used method is to use the static side JColorChooser (static method) : showDialog ().
Platform: |
Size: 4096 |
Author: 袁慧萍 |
Hits:
Description: 直接以ColorSelectionModel的addChangeListener()方法来检测用户是否对颜色的选择有所改变。每当用户在JColorChooser上做一次颜色的改变时,就会触发ChangeEvent事件,因此我们必须实现ChangeListener界面来处理这个事件。-directly to the addChangeList ColorSelectionModel ener () method to detect whether users choose the right color change. Whenever users JColorChooser done a color change, ChangeEvent will trigger events, Therefore, we must realize ChangeListener interface to handle this incident.
Platform: |
Size: 1024 |
Author: 袁慧萍 |
Hits:
Description: javax.swing | 最常用的pachage,包含了各种swing组件的类
javax.swing.border | 包含与swing组件外框有关的类
javax..swing.colorchooser | 针对swing调色盘组件(JColorChooser)所设计的类
javax.swing.event | 处理由swing组件产生的事件,有别于AWT事件
javax.swing.filechooser | 包含针对swing文件选择对话框(JFileChooser)所设计的类 -javax.swing | The most commonly used pachage, contains a variety of swing types of components javax.swing.border | contains the swing-type frame components javax .. swing.colorchooser | color palette for the swing components (JColorChooser ) category designed javax.swing.event | deal with swing components generated by the case is different from the AWT Event javax.swing.filechooser | contains documents for the swing dialog box select (JFileChooser) designed by category
Platform: |
Size: 146432 |
Author: 穆鹏 |
Hits:
Description: 可以实现字体,大小等的选择的对话框,对话框内有各种系统自带的字体可以选择-As the culminating project for last semester’s Java programming class, I demonstrated how to emulate the features found in Windows Notepad in a Java application. Most of the algorithms were routine as the Java API is pretty robust. The one glaring omission in the API is a dialog analogous to the JFileChooser or JColorChooser to choose a font. Rather than omit the ability to choose a font, I chose to implement it myself.
Platform: |
Size: 2048 |
Author: 于 |
Hits:
Description: Example, how use the JColorChooser with java
Platform: |
Size: 12288 |
Author: eeeee |
Hits:
Description: 01_游戏功能演示与说明
02_游戏中的面向对象分析与设计
03_使用传智播客提供的API类组装贪吃蛇游戏
04_编写贪吃蛇游戏中的各个类的主体框架性代码
05_编写Controler类与实现蛇移动的事件监听
06_编写对各个类进行测试的程序代码
07_蛇的数据结构设计与移动显示
08_测试与修正蛇的移动与显示问题
09_排除蛇的相反方向与无效方向的按键问题
10_编写与测试表示食物的类
11_完成蛇吃食物的相关代码
12_为游戏增加作为障碍物的石头
13_为蛇增加吃到石头而死掉的功能
14_解决食物与石头蛇身重叠的问题
15_为蛇增加吃到蛇身而死掉的功能 -1.package cn.itcast.snake.game
2.
3.import java.awt.Color
4.import java.awt.Font
5.import java.awt.event.ActionEvent
6.import java.awt.event.ActionListener
7.import java.awt.event.FocusAdapter
8.import java.awt.event.FocusEvent
9.
10.import javax.swing.JColorChooser
11.import javax.swing.JFrame
12.import javax.swing.JLabel
13.import javax.swing.JPanel
14.import javax.swing.JTextArea
15.import javax.swing.border.EtchedBorder
16.import javax.swing.event.ChangeEvent
17.import javax.swing.event.ChangeListener
18.
19.import cn.itcast.snake.controller.Controller
20.import cn.itcast.snake.entities.Food
21.import cn.itcast.snake.entities.Ground
22.import cn.itcast.snake.entities.Snake
23.import cn.itcast.snake.listener.GameListener
24.import cn.itcast.snake.util.Global
25.import cn.itcast.snake.view.GamePanel
Platform: |
Size: 3072 |
Author: h |
Hits:
Description: Swing 运用:
掌握Swing常用容器JFrame、JPanel的使用;
掌握Swing常用组件使用;
掌握JTable、JTree的基本功能
掌握JOptionPane、JFileChooser、JColorChooser类的基本用法。-Swing use:
Master Swing commonly used JFrame container, JPanel use
Master Swing components for common use
Master the basic function of JTable, JTree
Master JOptionPane, JFileChooser, JColorChooser kind of basic usage.
Platform: |
Size: 108544 |
Author: 泉 |
Hits:
Description: 时间控件,用于在选择时间时点击可以自动弹出时间选择框-A time chooser
Platform: |
Size: 4096 |
Author: 123321 |
Hits:
Description: 四叶玫瑰线的图形设计。使用JColorChooser组件-The graphic design of the four-leaf rose curve. JColorChooser components
Platform: |
Size: 5120 |
Author: |
Hits:
Description: Using Java to Build a Simple Text Editor Application Create menu, contextual menu Using toolbox component Using JTextPane Understand JFileChooser, JColorChooser
Platform: |
Size: 47103 |
Author: antoinette89820@mygeoweb.info |
Hits: