上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页
摘要: 推荐两个界面原型设计工具--GUIDesignStudio 和 Mockups For Desktop http://www.cnblogs.com/wuhuacong/archive/2010/01/22/1654021.html GUIDesignStudio 和 Mockups For Desktop 阅读全文
posted @ 2015-07-19 11:03 aprial 阅读(188) 评论(0) 推荐(0) 编辑
摘要: JAVA_SWT常用事件, 和方法 http://blog.csdn.net/lyq19870515/article/details/9450275 swt中在shell上设置快捷键 http://zhsh666.iteye.com/blog/497243 swt中多个button按钮注册同一个监听器,监听事件时如何区别是哪个按钮触发的事件?15 http://www.ite... 阅读全文
posted @ 2015-07-18 23:33 aprial 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 转自: http://www.iteye.com/topic/56496 在现实工作中,我们常常需要保存一些系统配置信息,大家一般都会选择配置文件来完成,本文根据笔者工作中用到的读取配置文件的方法小小总结一下,主要叙述的是spring读取配置文件的方法。 一.读取xml配置文件 (一)新建一个java bean(HelloBean.java) java 代码 p... 阅读全文
posted @ 2015-07-18 23:21 aprial 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 转自: http://blog.csdn.net/chulaixi/article/details/3095478 我们书写swt程序的步骤,这些步骤是: 1. 创建一个Display对象 2. 创建一个或者多个Shell对象,你可以认为Shell代表了程序的窗口。 3. 在Shell内创建各种部件(widget) 4. 对各个部件进行初始化(外观,状态等),同时为各种部件的事件创建监听... 阅读全文
posted @ 2015-07-17 19:43 aprial 阅读(507) 评论(0) 推荐(0) 编辑
摘要: Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method addInfo() in the type new MouseAdapter(){} is not applicable for the arguments (String) at Test$1.mou... 阅读全文
posted @ 2015-07-17 19:42 aprial 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 手机内存是data/data/下的目录 阅读全文
posted @ 2015-07-12 00:04 aprial 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 转: http://blog.csdn.net/flyingpig4/article/details/7675557 1.早期Java提供java.lang.Thread类型包含了一些列的方法start(), stop(), stop(Throwable) and suspend(), destroy() and resume()。,Sun公司的一篇文章《Why are Thread.st... 阅读全文
posted @ 2015-07-11 22:58 aprial 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 关于如何正确停止线程,这篇文章(how to stop thread)给出了一个很好的答案, 总结起来就下面3点(在停止线程时): 1. 使用violate boolean变量来标识线程是否停止 2. 停止线程时,需要调用停止线程的interrupt()方法,因为线程有可能在wait()或sleep(), 提高停止线程的即时性 3. 对于blocking IO的处理,尽量使用Int... 阅读全文
posted @ 2015-07-11 22:57 aprial 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1. 在布局文件中添加button的监听名字 Android:onClick=”buttonOnClick” 例如: 在activity中创建响应的函数 publicvoid buttonOnClick(View view){ Mytext1.setText("hello!");//设置文档的显示 } 2. 在OnCreate函数中写 Mybutton = (Butto... 阅读全文
posted @ 2015-07-11 15:52 aprial 阅读(870) 评论(0) 推荐(0) 编辑
摘要: 转: http://www.cnblogs.com/leehyuan/p/3389527.html 像素单位的变化:是用dip,而不是px,主要用于宽高的设置 在Android中支持的描述大小区域的类型有以下几种。 px(pixels)——像素:不同的设备显示效果相同,一般我们HVGA代表320x480像素,这个用的比较多。 dip(device independent pi... 阅读全文
posted @ 2015-07-11 15:50 aprial 阅读(231) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页