2010年9月7日
摘要: 比如做一个输入框,可以判断是否在输入框里面输入了值:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package com.java.test;publicclass T {publicstaticvoid main(String args[]) {String name=" hhhhh jjjj ";//经典判断字符串是否有值的方法if((name!=null)&&(name.trim().lengt 阅读全文
posted @ 2010-09-07 09:00 snowdrop 阅读(704) 评论(0) 推荐(0)