搜索资源列表
jpanel
- java布局管理器嵌套综合使用,实现复杂布局已满足用户需要-java layout manager to use nested integrated, complex layout has to meet user needs
WindowEvents
- 掌握java.io.swing中容器类的使用方法,如:JFrame、JPanel等; 2.掌握布局管理器的使用方法,如:FlowLayout、BorderLayout等; 3.掌握java.io.swing中组件类的作用,如:菜单、工具栏、按钮等; 4.掌握Java事件驱动程序设计-委托模型的设计方法。-master java.io.swing Vessel type of use, such as : class, JPanel; 2. Master layout manager to use
snake(java)
- 设计思路 首先该程序主要知识点就是图形用户界面,对程序界面的基本结构设计如下 建立框架作为可视化程序界面的基本界面,考虑到要在程序中添加各种组件,所以采用面板比较合理,故将类将要继承JPanel类。 接下来就是在程序中添加各类元素,其中包括有蛇体,食物(蛇体和食物都是由小方形块构成,采用不同的颜色区别,);另外还计分器(即蛇的长度乘以10).计关器。 再者就是程序的运动过程设计:其中应包括蛇的移动.方向的改变。 最后就是蛇的状态判断:其中应包括蛇是否吃到时了食物,是否有碰壁,
细分时钟刻度算法.txt
- import java.awt.*; import javax.swing.*; public class Exercise8_12 extends JFrame { // Main method with three auguments: // args[0]: hour // args[1]: minute // args[2]: second public static void main(String[] args) { // Declare hour, minute, and seco
Calculator
- 本程序是用java编写的类似与windows下的计算器程序!是继承于jpanel类编写而成的!实现了很多功能!-This procedure is written in Java similar with Windows of the calculator program! In jpanel class is inherited and compiled! Realized many function!
a
- Windows计算器,是Windows操作系统自带计算器,,可以帮助用户完成数据的运算,它可分为“标准型”和“科学型”,本章的仿Windows计算器是标准型的Java实现,标准型Windows计算器实现的主要功能有:四则运算;求倒数;求开方;存储计算结果;读取计算结果;累积计算结果。 使用到JFrame和JPanel两个Swing容器,使用到JTextField和JButton两个Swing容器,使用BorderLayout和GridLayout做两个布局器,以及使用到事件、事件监听器和事
ClientGUI
- swing component example code illustrating JTabbedpane and JPanel. -swing component example code illustrating JTabbedpane and JPanel.
TabbedPaneDemo
- Java JPanel中的分页代码,初学者做的。-Java JPanel in pagination code, beginners do.
JMF_Movie_Player_funcional
- this an example of class suporting video on java. This code use the classes of the JMF API, this example describes a video player with function os JPanel, making easy to add in JFrames and anothers JPanels-this is an example of class suporting vide
dataapple
- 這是一個用JAVA所寫的簡單繪圖應用程式 JPanel為容器物件.pane1為畫布.pane2物件用來放置繪圖工具按鈕.pane3放置顏色按鈕-This is a book with a simple JAVA application mapping for the JPanel container object. Pane1 for the canvas. Pane2 object mapping tool used to place the button. Pane3 placed co
GUI(JPanel)
- JAVA GUI设计,详细讲述JPanel用法-JAVA GUI design, detail JPanel usage
MiniDrawPad
- 本程序通过调用JAVA提供的BasicStroke;Button; Color Container Graphics Panel ButtonGroup JFrame JComboBox;JCheckBox;JMenu;JMenuItem;ImageIcon;JPanel UIManager等基本类进行了简单的界面设计。 程序运用了JAVA中类的继承特性实现了对父类方法的调用,运用了ButtonHandler类用来侦听基本按钮的操作;运用ButtonHandler1类侦听颜色选择,画笔粗细设
java
- java设置背景图片的源代码,可以实现在JPanel上面绘图-java source code to set the background image can be achieved in the above drawing JPanel
Java界面添加背景图片
- 对JPanel窗口添加背景图片的程序,可选择将图片居中或拉伸
java
- 创建一个JFrame对象,设置器关闭操作为推出应用程序 从JPanel 派生出一个绘画类,让其具有一定的绘图功能,设置一个定时器,周期的更新绘画对象,产生动画效果-Create a JFrame object setter closing operation for the introduction of applications derived JPanel a painting class, let it have some drawing functions, a timer is se
lzw_src
- lzw_copmersion; ... /** Creates a new instance of Main */. public Main() {. } public static void main(String[] args) {. // TODO code application logic here ... class comPanel extends JPanel { ... addActionListener( new ActionListener() {. NetBeans I
Snake
- 运用纯Java来开发有个简单的小游戏:贪吃蛇游戏。其中用到的知识有Java的多线程,Jpanel,和一些简单的逻辑知识。(The use of pure Java to develop a simple game: snake game. The knowledge used is Java multithreading, Jpanel, and some simple logic knowledge.)
javaflashbridge-v1
- javaFlashBridge,Java播放Flash,(Play flash on Jpanel)
Clock
- 一个可以自动计时的时钟,北京化工大学java编程作业。使用java的JPanel绘图功能。(A clock that can be automatically timed, Java programming at Beijing University of Chemical Technology. Use the JPanel drawing function of Java.)
swing
- java swing开发例子,其中的组件如JList,JPanel以及其中的一些布局方式如BorderLayout等(the example of java swing progaming)