JAVA SE
文章平均质量分 67
BUG_LOG_
这个作者很懒,什么都没留下…
展开
-
java 编码测试
public static void DoOut(String str){ try { System.out.println("0"+str); System.out.println("1:{gbk > utf-8}"+new String(str.getBytes("gbk"),"utf-8")); System.out.println("2: {gb2312 > utf-8}"+new String(str.getBytes("gb2.原创 2021-07-13 11:13:58 · 134 阅读 · 0 评论 -
SWT 好用的日期控件,
package com.daxt.util; import java.io.FileOutputStream; import java.io.OutputStream; import java.lang.reflect.Method; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List;...转载 2018-07-20 20:49:49 · 1306 阅读 · 0 评论 -
shell 刷新Label,获取实时时间
Label lblNewLabel_1 = new Label(shell, SWT.NONE); lblNewLabel_1.setBounds(248, 357, 174, 17); new Thread() {//线程操作 public void run() { while(true){ ...转载 2018-07-20 20:59:13 · 826 阅读 · 0 评论