搜索资源列表
MySwingTest
- 适合初学者看的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
ying-test
- 编写程序验证 JButton, JCheckBox, JRadioButton-prepared to verify JButton, JCheckBox, JRadioButton
Example for JButton
- JButton的应用Java源程序-JButton source Java Application
Example for JTabbedPane
- JButton 在网页的应用-JButton use of the web site,
JButton
- java和matlab混合编程的应用:在java中调用matlab-java and mixed Matlab Application Programming : java Calling Matlab
MYProgressBarTest
- 演示两种不同进度条的使用方法。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 component
buju
- 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.
aframe
- 主要是练习java中的按钮事件.通过对JButton 的注册来实现-practice java is the button events. JButton right through to achieve registration
javamine
- java扫雷游戏 程序文件说明 文件 内容 备注 AboutFrame.java 程序“关于”对话框。 JCounter.java 计数器类。 有小位数3位,图形。 JMine.java 主程序类 JMineArth.java 地雷分布图算法类 JMineButton.java Jbutton的扩展类有行号、列号、标记标志和单击标志 StartJMine.java 程序入口点 WinFrame.java 胜利对话框,有易中难三个启动选项
MyButton
- JAVA里面的一种好看实用的JButton
JButton
- JButton的一个实例 用于检测其反转功能-JButton an example for its reversal detection function
Jfilechooser
- JButton button JTextArea text JTextPane textpane FileInputStream readfile JScrollPane scroll Container con JFileChooser chooser=new JFileChooser()
paintboard
- 1。我们要实现一个比较简单的用鼠标画图工具,画图主要包括直线,椭圆,矩形,圆 ,圆弧的绘制。绘制过程中包括图像颜色的选择,是否填充等要求。 2。每次进行鼠标画图操作时,不能把以前画的图像清除掉。 3。在编程过程中希望同学们利用JAVA对象编程的思想:即类,接口,包等。 4。用到Swing和awt包中的组件如:Jbutton,Jradiobutton,APPLET,canvas(画图面板)等组件,以及组件响应事件,键盘,鼠标事件。 2。每次进行鼠标画图操作时,不能把以前画
msjavx86
- ImageIcon icon 构造方法 JButton() JButton(str) JButton(icon) JButton(str,icon) -ImageIcon icon Construction JButton () JButton (str) JButton (icon) JButton (str, icon)
ExampleBar1
- 创建进度条 jpb = new JProgressBar() jbutton = new JButton("观看演示") jbutton.addActionListener(this) this.getContentPane().add(jbutton) //设置进度条的前景色为红色 jpb.setForeground(Color.red) this.getContentPane().add(jpb)
button
- Java JButton的基本使用方法,初学者看。-The basic use of Java JButton Ways, beginners look.
ins123
- 基于GUI的Java五子棋游戏源码,可人机对战,用java swing做的,运行时 需要修改图片的路径。 制作思路: 用按钮做棋子,用图片填充每个按钮。 设置棋盘为24*24的,五子棋FiveChessGame类,继承了JFrame,并且 添加了时间监听,五子棋的棋子chess,用JButton表示,五子棋棋子chess 对应的棋子标识,用于标记棋子的状态。 1表示黑棋,-1表示白棋,默认0表 示无棋子,点击棋子时设置棋子的图标setOnChessI
JButton
- java的Jbutton,有视频,源码,笔记,方便大家的学习和交流。-java' s Jbutton, a video, source code, notes, we facilitate learning and exchange.
JButton常用的一些方法
- JButton 实现了普通的三态外加选中、禁用状态,有很多方法可以设置,不要自己去写鼠标监听器。 setBorderPainted(boolean b) //是否画边框,如果用自定义图片做按钮背景可以设为 false。 setContentAreaFilled(boolean b) //是否填充,如果你的自定义图片不是矩形或存在空白边距,可以设为 false 使按钮看起来透明。 setFocusPainted(boolean b) //是否绘制焦点(例如浅色虚线框或者加粗的边框
JButton
- 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 j