Paint paint1 = new Paint();paint1.setXfermode(new
PorterDuffXfermode(Mode.CLEAR));canvas.drawPaint(paint1);paint1.setXfermode(new
PorterDuffXfermode(M...
分类:
其他好文 时间:
2014-06-29 12:37:10
阅读次数:
202
在用java swing
做例子,给页面设置皮肤样式的时候出现了这个错误:org.jvnet.substance.api.UiThreadingViolationException:
Component creation must be done on Event Dispatch Thread a...
分类:
其他好文 时间:
2014-06-29 12:17:41
阅读次数:
327
一. 加 ssh-key二. git clone三. 本地操作1. 创建分支(本地)git
branch feature/new_task2. 切换分支git checkout feature/new_task(1&2 git checkout
-b feature/new_task)3. 查看.....
分类:
其他好文 时间:
2014-06-29 07:52:41
阅读次数:
252
1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #list on line: 17, column: 61, in template: map.ftl in map.ftl
at freemarker.template.Te...
分类:
其他好文 时间:
2014-06-20 13:21:25
阅读次数:
251
1、错误描述
freemarker处理哈希表的内建函数
张三强
Expected collection or sequence. maps evaluated instead to freemarker.core.HashLiteral$SequenceHash on line 13, column 17 in map.ftl....
分类:
其他好文 时间:
2014-06-20 12:34:57
阅读次数:
392
1、错误描述
六月 04, 2014 11:04:03 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression maps.key is undefined on line 15, column 25 in map.ftl."
Expression maps...
分类:
其他好文 时间:
2014-06-07 13:59:28
阅读次数:
298
json.Append(String.Format("{\"total\":{0},\"row\":{1}}",
lineCount, strJSON));直接会报错字符串中包含{或者},则需要用{{ 来代替字符 {,用}} 代替
}如:json.Append(String.Format("{{\"...
分类:
Web程序 时间:
2014-06-07 08:48:42
阅读次数:
921
typedef 定义数组类型typedef charLine[81];//Line是char[81]
(而不是说char是line[81])Line text, secondline;typedef
intmat4by4[4][4];//4*4的二维数组mat4by4 mymat;typedef 定...
分类:
其他好文 时间:
2014-06-07 08:44:48
阅读次数:
222
public static void WriteLog(string msg) { string
appPath = AppDomain.CurrentDomain.BaseDirectory; string ServerPath = appPath +
@"\Log" + DateTime.No....
分类:
其他好文 时间:
2014-06-07 07:15:18
阅读次数:
292