package Gui;/** * check box must be in a same ButtonGroup can`t be selected * at the same time * * */import javax.swing.*;import java.awt.*;public c.....
分类:
其他好文 时间:
2014-07-03 07:18:15
阅读次数:
142
extjs4 tree check 级联选择实现效果:关键代码:function changeAllNode(node, isCheck) { allChild(node, isCheck); allParent(node, isCheck); function allChild(...
分类:
Web程序 时间:
2014-07-01 16:11:24
阅读次数:
200
今天遇到了一个奇葩的问题,我把我的sdk tools的版本升级到23后,我在eclipse中尝试升级ADT,发现了这么一个问题,下面分析下原因:
当我在eclipse中选择Help-->Check for updates时,会弹出一个框,如下:
首先解释下这个错误出现的原因:
Eclipse在check for updates时,是根据下图列表中所有的Available Softwa...
分类:
系统相关 时间:
2014-07-01 11:13:52
阅读次数:
441
TortoiseGit只是一个界面而已,它调用的是msysgit,所以要先安装msysgit。安装TortoiseGit时,要注意下面两点。安装后,要配置一下,如下。 这是TortoiseGit的设置界面,可以看到用来定位MSysGit的路径。 点"Check now"检查有效性。如果有错的话,就自...
分类:
其他好文 时间:
2014-07-01 10:41:47
阅读次数:
615
很久没写博文,今天刚好有同事问到:NGUI为什么做的界面图片那么模糊,比美术给的图片相比不是很清晰。
其实这个问题解决方法很简单,只要把NGUI生成的图集的图片类型改成“GUI”或者“Advance”(去掉generate mip maps),而且Filter Mode都选择(Point)。
这样即可。...
分类:
其他好文 时间:
2014-07-01 09:00:07
阅读次数:
321
/*
* 备忘录模式
*/
#include
//保存值
class mySavevalue
{
public:
mySavevalue(string user_name = "",
int life_value = 100,
int magic_point = 100,
int rank_values =...
分类:
其他好文 时间:
2014-07-01 08:49:27
阅读次数:
203
关键是在检测到手指移动的时候用mPath.quadTo的方法,android sdk解释是:
Add a quadratic bezier from the last point, approaching control point (x1,y1), and ending at (x2,y2). If no moveTo() call has been made fo...
分类:
移动开发 时间:
2014-07-01 08:07:39
阅读次数:
289
题目
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
方法
publi...
分类:
其他好文 时间:
2014-07-01 07:49:33
阅读次数:
186
题目如下:
Maze Exploration
A maze of rectangular rooms is represented on a twodimensional grid as illustrated in figure 1a. Each point of thegrid is represented by a character. ...
分类:
其他好文 时间:
2014-07-01 06:57:08
阅读次数:
231
1、错误描述
ORA-12801: 并行查询服务器P007中发出错误信号
ORA-01722:无效数字
12801.00000 -"error signaled in parallel query server %s"
*Cause: A parallel query server reached an exception condition.
*Action: Check the follow...
分类:
数据库 时间:
2014-07-01 06:22:10
阅读次数:
391