刚开始我认为可以使用trimer控件就可以实现了,但是使用后才知道,把trimer设置为100微秒时,整个窗体就会不停的在加载中,无法用了= = 这个使用就只能使用线程加载了和委托赋值了 //CPU使用率 GetInfo getinfo = new GetInfo(userPercent,RAM); ...
项目中需要一些初始化数据,或者加载中断的任务。 首先在web.xml中配置信息,配置在<web-app>中: 创建一个有Init方法InitSystemServlet类。 monitor.util.InitSystemServlet就是类的全路径。 亲测好使 ...
分类:
编程语言 时间:
2017-07-12 16:19:43
阅读次数:
268
1.安装环境包:#yum-yinstallfontconfig这时在/usr/shared目录就可以看到fonts和fontconfig目录#ll/usr/share/font*/usr/share/fontconfig:/usr/share/fonts:2.添加中文字体在CentOS中,字体库的存放位置正是上图中看到的fonts目录,所以我们首先要做的就是找到中文字体文件放..
分类:
其他好文 时间:
2017-07-07 21:22:44
阅读次数:
294
$.messager.progress({ 'text': '数据加载中...', showType: 'fade' });//调用前打开 $.messager.progress('close');//回调后关闭 ...
分类:
其他好文 时间:
2017-07-03 16:35:44
阅读次数:
169
properties文件,junit测试,mvc封层 ...
分类:
Web程序 时间:
2017-06-21 11:50:30
阅读次数:
146
html代码 <select id="str1"> <option>加载中...</option> </select> <select id="str2"> <option>加载中...</option> </select> <select id="str3"> <option>加载中...</op ...
分类:
Web程序 时间:
2017-06-14 02:18:30
阅读次数:
223
<select class="st" id="st1"> <option value="null">加载中...</option> </select> <select class="st" id="st2"> <option value="null">加载中...</option> </select ...
分类:
Web程序 时间:
2017-06-07 17:01:21
阅读次数:
181
特别提示:本人博客部分有参考网络其他博客,但均是本人亲手编写过并验证通过。如发现博客有错误,请及时提出以免误导其他人,谢谢!欢迎转载,但记得标明文章出处:http://www.cnblogs.com/mao2080/ 1、效果示例 1、加载中效果 2、加载后效果 2、代码样例 1 var ajaxU ...
分类:
Web程序 时间:
2017-06-06 18:37:04
阅读次数:
299
jq中ajax必须在服务器环境下使用 $.ajax({ url:"json.json", //请求的url地址 dataType:"json", //返回格式为json type:"GET", //请求方式 beforeSend:function(){ $('#div3').html('加载中... ...
分类:
Web程序 时间:
2017-05-29 23:26:56
阅读次数:
265