上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 首先腾讯给出的那个几个版本是不能用的!大家都懂的!老马的东西没什么好的!http://www.longene.org/download/qq2011-for-wine_20120220.deb下载下来后进入终端:sudodpkg-i*.deb完成后,能的界面上就会出现qq了。如果成功了,那么恭喜!###卸载过程1.命令 dpkg -l | grep qq查看当前安装的qq的文件名(不一定和你安装时压缩包的名字一样哦)!2.命令 sudo dpkg -r *注释:其中的*为你第一步查到的文件名 阅读全文
posted @ 2012-12-16 15:44 梦你所梦 阅读(141) 评论(0) 推荐(0)
摘要: 装饰模式:最简单的理解就是在你出门前,你需要对身先修饰一下,比如弄点胭脂,水粉啊,弄点好看的衣服啊。这就是装饰模式。那么装饰模式用在什么地方呢。可能很多人会觉得其实继承也能达到那样的效果。那么如果要我要装饰很多东西呢。什么耳环啊,什么胭脂啊,什么衣服啊,什么什么的。而且还是不一定每次都要这么多。那你就去继承N个继承类么?这里主要是有存在装饰顺序问题,还是虽然装饰条件一样,但是可能某些需要装饰,某些条件不需要装饰。如果用继承,那么就需要将所有的装饰条件都列举出来。比如5个条件吧。那么装饰的可能就有:1,2,3,4,5,12,13,14,15,21,23,24,25......等等,很多。但是用装 阅读全文
posted @ 2012-12-15 10:38 梦你所梦 阅读(146) 评论(0) 推荐(0)
摘要: 那么何为内省呢?内省:以反射的方式去访问javabean对象。Jdk中的api : PropertyDescriptor类操作Bean的属性。以下为一个javabean的User对象。public class User{ private String name; private int age; public String getName() { return name; } public void setName(String name) { this.name = name; } public int get... 阅读全文
posted @ 2012-12-12 13:46 梦你所梦 阅读(295) 评论(0) 推荐(0)
摘要: nowdays,in an era of information and technology,abundant recreational activities are available for people to release theri stress and strain. there is a bot debate going to arguing whether they are good for public or not,especially for college students.as for such a question,different peple hod diff 阅读全文
posted @ 2012-12-10 19:37 梦你所梦 阅读(296) 评论(0) 推荐(0)
摘要: DisplayTag 阅读全文
posted @ 2012-12-06 20:14 梦你所梦 阅读(72) 评论(0) 推荐(0)
摘要: 代码重构! 阅读全文
posted @ 2012-12-06 17:12 梦你所梦 阅读(104) 评论(0) 推荐(0)
摘要: js文件中如下:$(pageInit);function pageInit(){ //这是用来在线编写代码的插件 以后程序题会用得到 内置在full样式里了 即用tools:'full'就可以调用 var plugins={ Code:{c:'btnCode',t:'代码',h:1,e:function(){ var _this=this; var htmlCode=''; var jCode=$(htmlCode),jType=$('#xheCodeType',jCode),jValue=$('#xheC 阅读全文
posted @ 2012-12-06 17:11 梦你所梦 阅读(184) 评论(0) 推荐(0)
摘要: 默认设置时非标准submit提交时无法同步编辑内容,需要指定提交按钮的ID值,以触发编辑值同步Class类初始化class="xheditor {submitID:'save'}"Javascript初始化$('#elem1').xheditor({submitID:'save'});方法1:在textarea上添加属性: class="xheditor"例如:test方法2:在您的页面初始JS代码里加上: $('#elm1').xheditor();$('#elm1').x 阅读全文
posted @ 2012-12-06 16:13 梦你所梦 阅读(319) 评论(0) 推荐(0)
摘要: 在hibernate中使用SQLQuery查询select count()或者使用 select sum(filed_name)返回的结果会是BigInteger等类型。而这些是不能够强制转换为Object或者是Integer类型。真的是很麻烦!但是BigInteger中有invalue()方法。可以自己转换为int类型。所有已会有了下面的代码! long result = (Integer)this.getHibernateTemplate().execute(new HibernateCallback() { public Object doInHibernate(Session ... 阅读全文
posted @ 2012-12-03 20:50 梦你所梦 阅读(1167) 评论(0) 推荐(0)
摘要: 先在该程序上右击,创建一个快捷方式。然后依次打开C:\Documents and Settings\All Users\「开始」菜单\程序\启动。然后将这个快捷方式剪切到启动里就行了。 阅读全文
posted @ 2012-11-30 09:41 梦你所梦 阅读(197) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页