`
5211422
  • 浏览: 212603 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表

JfileChooser

    博客分类:
  • java
package com.zzst.application.meeting.dwr.control; import java.awt.BorderLayout;import java.awt.Container;import java.awt.Insets;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.io.File; import javax.swing.JButton;import javax.swing.JFileChooser;import javax.swing.J ...
JDK1.6官方下载_JDK6官方下载地址:http://www.java.net/download/jdk6/6u10/promoted/b32/binaries/jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe   JDK6 API CHM中文参考下载: JDK6API中文参考070114.rar :http://chinesedocument.com/upimg/soft/JDK6API中文参考070114.rar Java SE 6 API 中文版 CHM 下载:http://download.java.net/jdk/jdk ...
//附件是需要的jar包   package com.cbf.util.ftp;   import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import java.util.ArrayList;import java.util.HashMap; ...
服务器上装了2个mysql,卸载一个mysql时,把服务也给删除了,下边是添加一个mysql服务到系统内;   找到mysql目录下C:\Program Files\MySQL\MySQL Server 5.0\my.ini文件 在里边添加:       [WinMySQLadmin]       Server=C:/Program Files/MySQL/MySQL Server 5.0/bin/mysqld-nt.exe。 将my.ini丢到系统文件夹下(winxp为C:\windows;win2000为C:\winnt) 然后在在“开始—>运行”中找到mysql的bi ...
package com.zzst.cbfImpl.util; import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Calendar;import java.util.Date; public class NoLi {    private int year;    private int month;    private int day;    private boolean leap;    final static String chineseNumber[] = {&qu ...
<%     Calendar cFirstStartTime = Calendar.getInstance();   %>   <%=cFirstStartTime.get(cFirstStartTime.YEAR) %>年<%=cFirstStartTime.get(cFirstStartTime.MONTH) %>月<%=cFirstStartTime.get(cFirstStartTime.DATE) %>号   <%   Calendar c = Calendar.getInstance();  if(Calendar.MONDAY ...
在日常的开发工作中,总是碰到要在站点的某个位置显示天气情况!!经过一段时间的积累,本人总算对这项需求把握的游刃有余,哈哈~   OK,废话不多说,切入正题。。。。     http://www.nmc.gov.cn/weatherdetail/58847.html http://www.cma.gov.cn/tqyb/v2/cityweather.php?id=58847 http://wap.weather.com.cn/wap/58847/h24/(WAP的,嘿嘿,干扰内容忒少,非常容易采集) http://www.weather.com.cn/static/html/wea ...
  mysql  数据库:   表t_meetingdetail内只有status字段,显示bb字段并赋值为23         select  status ,23 as bb from t_meetingdetail
  //导入标签库 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>     //判断集合是否为空 <c:if test="${!empty   list}">   </c:if>   //如果为真显示**否则** ${status.first ?"**":"" }   //循环集合 <c:forEach items="${list}&quo ...
  1、配置文件     public class MeetingConfig  extends AppConfig {                    public static String WEB_CONTENT_PATH= "http://127.0.0.1:8080/meeting";                 public static String IMAGE_PATH="E:\\ZDQ\\project\\workspace\\jboss-                                               ...
package com.voole.jfreeChart;     import java.awt.*;import java.awt.event.*;import java.io.File;import java.io.IOException; import javax.swing.*; import org.jfree.chart.ChartFactory;import org.jfree.chart.ChartFrame;import org.jfree.chart.ChartUtilities;import org.jfree.chart.JFreeChart;import o ...
package com.voole.jfreeChart;   import java.awt.*;import java.awt.event.*;import java.io.File;import java.io.IOException; import javax.swing.*; import org.jfree.chart.ChartFactory;import org.jfree.chart.ChartFrame;import org.jfree.chart.ChartUtilities;import org.jfree.chart.JFreeChart;import org. ...
org.jfree.chart.axis.CategoryAxis domainAxis = plot.getDomainAxis();     NumberAxis numberaxis = (NumberAxis) plot.getRangeAxis();   numberaxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());       /*------设置X轴坐标上的文字-----------*/    domainAxis.setTickLabelFont(new Font("sans-se ...

无关联查询

  在数据库中,UNION和UNION ALL关键字都是将两个结果集合并为一个,但这两者从使用和效率上来说都有所不同。UNION在进行表链接后会筛选掉重复的记录,所以在表链接后会对所产生的结果集进行排序运算,删除重复的记录再返回结果。实际大部分应用中是不会产生重复的记录,最常见的是过程表与历史表UNION。如: select * from gc_dfys union select * from ls_jg_dfys 这个SQL在运行时先取出两个表的结果,再用排序空间进行排序删除重复的记录,最后返回结果集,如果表数据量大的话可能会导致用磁盘进行排序。 而UNION ALL只是简单的将两个结果合并后 ...
web.xml中的多个filter的运行顺序环境:jboss4.0   多个筛选器的运行顺序取决于下列规则: 将 filter-mapping 元素包含与请求匹配的 url-pattern的筛选器按其在 web.xml 部署描述符中出现的顺序添加到链中。 将 filter-mapping 元素包含与请求匹配的 servlet-name 的筛选器添加在链中与 URL 模式匹配的筛选器之后。 链上先进先出的,链中最后的项目往往是最初请求的资源。 也就是说: 1.以url-pattern方式配置的filter运行时肯定先于以servlet-name方式配置的filter2.以url-parter ...
Global site tag (gtag.js) - Google Analytics