![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
flysky989
这个作者很懒,什么都没留下…
展开
-
FileUpload简单使用
FileUpload文件上传组件: 官方下载: http://commons.apache.org/fileupload/ 官方使用说明: http://commons.apache.org/fileupload/using.html 以下是个人的简单使用: 判断是否有上传请求: if (ServletFileUpload.isMultipartCont...原创 2010-10-08 21:25:03 · 121 阅读 · 0 评论 -
简单更改Java对话框风格
Java一般的对话框风格: 很多人认为这个不好看,那么我们可以利用一下系统默认风格,在代码中加入: UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 这一句就可以利用系统的默认风格,例: ...原创 2010-10-08 22:09:03 · 400 阅读 · 0 评论 -
Shell分数分级小程序
Shell编程,在bash下编写一个输入分数然后判定级别,整数比较容易实现,但是要增加浮点数处理就比较麻烦,以下是我写的一个小程序,有兴趣可以看看。 #! /bin/bash function deal() #比较浮点数,$1>=$2 返回1 其他返回0 (网上资料) { echo "$1>=$2"|bc } function max() #同上 ...原创 2010-11-02 20:36:08 · 251 阅读 · 0 评论