paip.提升效率--gui 的选择--swing最佳实践swt awt
2014-03-23 23:28
429 查看
paip.提升效率--gui 的选择--swing最佳实践swt awt
////////////////弹出消息框.
////////////////myeclipse swing 开发最佳实践..
////////////// 新的窗体..new form
////////////////显示图片.
///////////////////byte 数组转换图片..
JOptionPane.showMessageDialog(null, s, "标题条文字串", JOptionPane.DEFAULT_OPTION);
想要swt,麻烦,新的ide,下载。。组哈。。SWING雅十容易的着了..
myeclipse7>new >eclipse > matisse form
app lication form : have default menu bar in top
jframe: normol form...
////double clieck button ,write event code
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
atiwrap.filemode=false;
// atiwrap.test=true;
String s=atiwrap.getResult("http://icode.renren.com/getcode.do?t=web_reg&rnd=1395024427820");
ImageIcon img= imgx.toImg(atiwrap.by);
jLabel2.setIcon(img);
// System.out.println("识别结果:"+s)
JOptionPane.showMessageDialog(null, s, "标题条文字串", JOptionPane.DEFAULT_OPTION);
}
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
作者Attilax 艾龙, EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
////////////////弹出消息框.
////////////////myeclipse swing 开发最佳实践..
////////////// 新的窗体..new form
////////////////显示图片.
///////////////////byte 数组转换图片..
JOptionPane.showMessageDialog(null, s, "标题条文字串", JOptionPane.DEFAULT_OPTION);
想要swt,麻烦,新的ide,下载。。组哈。。SWING雅十容易的着了..
myeclipse7>new >eclipse > matisse form
app lication form : have default menu bar in top
jframe: normol form...
////double clieck button ,write event code
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
atiwrap.filemode=false;
// atiwrap.test=true;
String s=atiwrap.getResult("http://icode.renren.com/getcode.do?t=web_reg&rnd=1395024427820");
ImageIcon img= imgx.toImg(atiwrap.by);
jLabel2.setIcon(img);
// System.out.println("识别结果:"+s)
JOptionPane.showMessageDialog(null, s, "标题条文字串", JOptionPane.DEFAULT_OPTION);
}
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
作者Attilax 艾龙, EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
相关文章推荐
- paip.提升效率--gui 的选择--swing最佳实践swt awt
- paip.提升性能--多核编程中的java .net php c++最佳实践 v2.0 cah
- paip.java gui swt/jface 最佳实践
- paip.java gui swt/jface 最佳实践
- paip.提升开发效率-----vs2010源码选择字串高亮
- paip.提升程序稳定性---最佳实践
- paip.提升性能--多核编程中的java .net php c++最佳实践 v2.0 cah
- atitit.Atitit. Gui控件and面板-----服务端控件 java struts的实现最佳实践
- paip.前端加载时间分析之道优化最佳实践
- 回归测试最佳实践--回归测试用例的优化选择与覆盖率分析
- paip.mysql fulltext 全文搜索.最佳实践.
- GUI实践 swing组件-----JSplitPane(拆分窗格)、JTextArea多行文本框组件、JTabbedPane(选项卡窗口)
- paip.快捷方式分组管理最佳实践ObjectDock
- 提升可伸缩性的八项最佳实践
- 来自雅虎的《提升网站速度的最佳实践》
- paip.提升效率--调试--日志系统日志参数含义---python
- paip.提升效率---filter map reduce 的java 函数式编程实现
- atitit.Atitit. Gui控件and面板-----服务端控件 java struts的实现最佳实践
- 回归测试最佳实践--回归测试用例的优化选择与覆盖率分析
- paip.前端加载时间分析之道优化最佳实践