testCase for RButton
来源:互联网 发布:天天动听 阿里星球软件 编辑:程序博客网 时间:2024/05/13 10:56
import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class TestCase {
private JFrame frame;
private JPanel view;
public TestCase() {
frame = new JFrame();
view = new JPanel();
view.setLayout(new FlowLayout());
frame.setContentPane(view);
frame.setSize(320, 80);
frame.setTitle("Test Case");
frame.setLocation(352, 252);
JButton button1 = new JButton();
button1.setText("old style button");
RButton button2 = new RButton();
button2.setText("new style button");
view.add(button1);
view.add(button2);
frame.setVisible(true);
}
public static void main(String[] args) {
new TestCase();
}
}
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class TestCase {
private JFrame frame;
private JPanel view;
public TestCase() {
frame = new JFrame();
view = new JPanel();
view.setLayout(new FlowLayout());
frame.setContentPane(view);
frame.setSize(320, 80);
frame.setTitle("Test Case");
frame.setLocation(352, 252);
JButton button1 = new JButton();
button1.setText("old style button");
RButton button2 = new RButton();
button2.setText("new style button");
view.add(button1);
view.add(button2);
frame.setVisible(true);
}
public static void main(String[] args) {
new TestCase();
}
}
- testCase for RButton
- TestCase
- TestCase
- TestCase设计
- TestCase目录
- Junit TestCase
- Android testcase
- Android Testcase
- Android Testcase
- TestCase学习
- How to Submit a Testcase to Oracle Support for Reproducing an Execution Plan (文档 ID 390610.1)
- 将TestCase整合
- junit.framework.TestCase
- AS TestCase: XMLList
- 只运行部分testcase
- mogilefs文件系统TestCase
- 理解TestCase类(转)
- Android-Junit-TestCase-ClassLoader
- VS2005调试相干设置-pdb文件
- Precompiled Header Files - stdafx.h and stdafx.cpp
- printf and wprintf
- 很经典的问题---在VC++ 2005中fstream对象无法访问中文路径下的文件,包括英文路径下的中文名文件。
- 最著名的问题-------本机编译好的程序无法在没有装VC的机子上运行
- testCase for RButton
- JButton style
- 线程传参 和 Invoke方法的使用
- Linux系统介绍
- 从SQL导出数据到Excel
- 台球中的物理学
- 20080617 新开始
- 嘴巴苦
- Using the UIComponent class