Location:
Search - java jbutton
Search list
Description: JButton的应用Java源程序-JButton source Java Application
Platform: |
Size: 789 |
Author: 王彧博 |
Hits:
Description: java和matlab混合编程的应用:在java中调用matlab-java and mixed Matlab Application Programming : java Calling Matlab
Platform: |
Size: 2705 |
Author: ouyangxi |
Hits:
Description: java常用的各种布局,基本容器的使用,java组件JButton等的使用,String类里的图形用户界面.-java all the popular layout, the use of basic containers, java JButton components such as the use of the String class Lane graphical user interface.
Platform: |
Size: 35877 |
Author: xiaolanyao |
Hits:
Description: java扫雷游戏
程序文件说明
文件 内容 备注
AboutFrame.java 程序“关于”对话框。
JCounter.java 计数器类。 有小位数3位,图形。
JMine.java 主程序类
JMineArth.java 地雷分布图算法类
JMineButton.java Jbutton的扩展类有行号、列号、标记标志和单击标志
StartJMine.java 程序入口点
WinFrame.java 胜利对话框,有易中难三个启动选项
StartJMine.bat 运行程序的批处理文件
说明:
1. 在java环境下,运行java StartJMine启动程序,或双击StartJMine.bat启动程序。程序框架都在JMine.java中。JMine.java 还包括两个线程类,分别为计时器线程和胜利后等待用户重起游戏的线程。
版权声明:例子版权归作者所有,遵循GPLv3许可开源发布,您可以自由使用。
Platform: |
Size: 62151 |
Author: James |
Hits:
Description: JButton的应用Java源程序-JButton source Java Application
Platform: |
Size: 1024 |
Author: 王彧博 |
Hits:
Description: JButton的一个实例 用于检测其反转功能-JButton an example for its reversal detection function
Platform: |
Size: 193536 |
Author: |
Hits:
Description: 适合初学者看的JAVA原代码练习,有ppt说明,主要讲了SWING类里面的控件应用,JButton,JList,JPane-for beginners look at the Java source code practice, ppt stated that the main speakers SWING categories of control applications, JButton, JList, JPane
Platform: |
Size: 677888 |
Author: 芳房 |
Hits:
Description: java和matlab混合编程的应用:在java中调用matlab-java and mixed Matlab Application Programming : java Calling Matlab
Platform: |
Size: 2048 |
Author: ouyangxi |
Hits:
Description: 演示两种不同进度条的使用方法。5、 所用主要编程技术:Swing组件JButton、Timer 、Jpanel。
JCheckBox、JTextArea 后台线程编程、Thread类的使用。JProgressBar类的使用。
-demonstration of the progress of the two different methods of using. 5, the use of the main programming technology : Swing components JButton, Timer, Jpanel. JCheckBox, JTextArea background thread programming, the use of the Thread class. JProgressBar category of use.
Platform: |
Size: 1024 |
Author: wangyue |
Hits:
Description: java常用的各种布局,基本容器的使用,java组件JButton等的使用,String类里的图形用户界面.-java all the popular layout, the use of basic containers, java JButton components such as the use of the String class Lane graphical user interface.
Platform: |
Size: 35840 |
Author: xiaolanyao |
Hits:
Description: java扫雷游戏
程序文件说明
文件 内容 备注
AboutFrame.java 程序“关于”对话框。
JCounter.java 计数器类。 有小位数3位,图形。
JMine.java 主程序类
JMineArth.java 地雷分布图算法类
JMineButton.java Jbutton的扩展类有行号、列号、标记标志和单击标志
StartJMine.java 程序入口点
WinFrame.java 胜利对话框,有易中难三个启动选项
StartJMine.bat 运行程序的批处理文件
说明:
1. 在java环境下,运行java StartJMine启动程序,或双击StartJMine.bat启动程序。程序框架都在JMine.java中。JMine.java 还包括两个线程类,分别为计时器线程和胜利后等待用户重起游戏的线程。
版权声明:例子版权归作者所有,遵循GPLv3许可开源发布,您可以自由使用。
Platform: |
Size: 61440 |
Author: James |
Hits:
Description: JButton button
JTextArea text
JTextPane textpane
FileInputStream readfile
JScrollPane scroll
Container con
JFileChooser chooser=new JFileChooser()
Platform: |
Size: 1024 |
Author: adruomais |
Hits:
Description: 1。我们要实现一个比较简单的用鼠标画图工具,画图主要包括直线,椭圆,矩形,圆 ,圆弧的绘制。绘制过程中包括图像颜色的选择,是否填充等要求。
2。每次进行鼠标画图操作时,不能把以前画的图像清除掉。
3。在编程过程中希望同学们利用JAVA对象编程的思想:即类,接口,包等。
4。用到Swing和awt包中的组件如:Jbutton,Jradiobutton,APPLET,canvas(画图面板)等组件,以及组件响应事件,键盘,鼠标事件。
2。每次进行鼠标画图操作时,不能把以前画的图像清除掉。
3。在编程过程中希望同学们利用对象编程的思想:即类,接口,包等。
4。用(画图面板)等组件,以及组件响应事件,键盘,鼠标事件。-err
Platform: |
Size: 13312 |
Author: mygogliyuqi |
Hits:
Description: Java JButton的基本使用方法,初学者看。-The basic use of Java JButton Ways, beginners look.
Platform: |
Size: 1024 |
Author: 孟祥川 |
Hits:
Description: 基于GUI的Java五子棋游戏源码,可人机对战,用java swing做的,运行时
需要修改图片的路径。
制作思路:
用按钮做棋子,用图片填充每个按钮。
设置棋盘为24*24的,五子棋FiveChessGame类,继承了JFrame,并且
添加了时间监听,五子棋的棋子chess,用JButton表示,五子棋棋子chess
对应的棋子标识,用于标记棋子的状态。 1表示黑棋,-1表示白棋,默认0表
示无棋子,点击棋子时设置棋子的图标setOnChessIcon。 根据判断该位置
的棋子是否有棋子,和棋子颜色设置棋子图标
测试棋子的方法showChess。用于将chessInt数组内容打印到控制台,
以便观看。-GUI-based Java backgammon game source code, can be man-machine gaming, to do with java swing, run-time
Need to modify the image path.
Making ideas:
Using the button as a pawn to fill with pictures for each button.
Set the board to 24* 24, renju FiveChessGame class inherits JFrame, and
Add the time monitoring the game of the chess pieces chess, with a JButton that the game of chess pieces
Corresponding piece logo, used to mark pieces of state. 1 is Black, said the white side is-1, the default 0 table
Showed no pawn, click the icon pieces when set pieces setOnChessIcon. According to determine the location
The piece is a piece, and pieces color set piece icon
Test piece approach showChess. Array of content for the chessInt print to the console,
To watch.
Platform: |
Size: 346112 |
Author: 齐高 |
Hits:
Description: java的Jbutton,有视频,源码,笔记,方便大家的学习和交流。-java' s Jbutton, a video, source code, notes, we facilitate learning and exchange.
Platform: |
Size: 4101120 |
Author: huyunfei |
Hits:
Description: 登陆注册界面设计,注册失败自动返回,成功则跳转页面-public class Register extends JFrame implements ActionListener{
private static final long serialVersionUID = 1L
String Sex = ""
JLabel lb_title,lb_user,lb_psd,lb_repsd,lb_sex,lb_class,lb_age
JTextField tf_user,tf_age
JPasswordField pf_psd,pf_repsd
JRadioButton rbtn_male,rbtn_female
JComboBox cb_class
JButton btn_register,btn_reset,btn_cancel
JPanel p0,p1,p2,p3,p4,p5,p6
public String getTitle(){
return "用户注册"
}
public Register(){
p0=new JPanel()
lb_title=new JLabel("用户注册")
lb_title.setFont(new Font("宋体",Font.BOLD,23))
p0.add(lb_title)
p1 = new JPanel()
lb_user=new JLabel("用 户 名:")
tf_user=new JTextField(16)
p1.add(lb_user)
Platform: |
Size: 9216 |
Author: 李昭 |
Hits:
Description: public class BlurAndSharpenDemo extends JFrame implements ActionListener { private JPanel jPanel = new JPanel() //面板jPanel用于容纳模糊、锐化、还原图像按钮 private JButton buttonFile //打开图像文件按钮 private JButton buttonBlur //模糊图像按钮 private JButton buttonSharpen //锐化图像按钮 private JButton buttonReset //还原图像按钮 ImagePanel imagePanel = new ImagePanel() //创建ImagePanel对象用于绘制图像-public class BlurAndSharpenDemo extends JFrame implements ActionListener { private JPanel jPanel = new JPanel() private JButton buttonFile private JButton buttonBlur private JButton buttonSharpen private JButton buttonReset ImagePanel imagePanel = new ImagePanel()
Platform: |
Size: 92160 |
Author: 肖城 |
Hits:
Description: 计算器
/**
* @(#)Computer.java
*
*
* @author
* @version 1.00 2010/7/21
*/
import java.awt.*
import java.awt.event.*
import javax.swing.*
import java.lang.*
public class Computer {
private JFrame frame
private JButton -/**
* @(#)Computer.java
*
*
* @author
* @version 1.00 2010/7/21
*/
import java.awt.*
import java.awt.event.*
import javax.swing.*
import java.lang.*
public class Computer {
private JFrame frame
private JButton
Platform: |
Size: 2048 |
Author: 王国 |
Hits:
Description: package 常用组件之JButton
import java.awt.event.ActionEvent
import java.awt.event.ActionListener
import java.awt.event.WindowAdapter
import java.awt.event.WindowEvent
import javax.swing.JButton
import javax.swing.JFrame
import javax.swing.JLabel
import javax.swing.JPanel
public class TestJButton {
public static void main(String[] args) {
new MyFrame()
}
}
class MyFrame extends JFrame-JButton package of commonly used components import java.awt.event.ActionEvent import java.awt.event.ActionListener import java.awt.event.WindowAdapter import java.awt.event.WindowEvent import javax.swing.JButton import javax.swing.JFrame import javax.swing.JLabel import javax.swing.JPanel public class TestJButton {public static void main (String [] args) {new MyFrame () }} class MyFrame extends JFrame
Platform: |
Size: 2048 |
Author: Brian |
Hits: