`
gauss2008
  • 浏览: 40170 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论
文章列表
做了6年的J2EE开发了,一直没有机会认识swing,看完Swing的几把刀,心血来潮,学习了一周,为了检验学习成果,试着用swing做了个QQ游戏登录窗体,如附件图,代码也一并附上。 代码说明,1. 主要为了学习,所以代码没有抽取分类,也为了便于发布,全部在一个类里面。里面可能有不尽如意的方式去实习,大家多多讨论。2. 点击登录的时候我想作出一个跟QQ一样的loading状态,可惜没有想到方法。 效果图如下: 打包的图片资源和代码一直发不上来,主程序在二楼,  终于发不上来了,原来不能用chrome,IE可以正常的上传。 GaussQQ.rar直接解压,是个Eclipse项目。里面 ...
&l 商品分类表的设计   闲来无事思考了下电子商务中最常遇到的商品分类表的设计问题,思考结果如下,欢迎大家来评。 商品分类表的设计 1 数据库设计    最常用的2个表,简单字段 1.1     分类表                Code编码规则
在使用SessionFactory.getCurrentSession进行hibernate操作的时候,遇到org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here的错误, 查看spring源码: private static Session doGetSession( SessionFactory sessionFactory, Intercepto ...
使用Eclipse IDE for Java Developers (Galileo) 和JBoos tool进行 web 开发的时候,出现Failed while installing Dynamic Web Module 2.5.错误,解决办法如下: Install one or all of the following:JST Server UIJST Web UIIt's probably a good idea to also install the following:JST Server AdaptersWST Server Adapters
对于同一字段的多验证且使用了advice错误信息定位的,发现第一验证通过而第二,第三验证出错信息总是褪去。后来发现是Effect的fade与 Appear同时使用造成的,也就是第一验证通过后,调用了Effect.fade而第二验证却调用了Effect.appear,这个时候Apper会 出问题,所以若有需要多验证且指定错误信息位置,而又不想丢掉Effect的效果,建议去掉Fade,只保留Appear。例如: <input name="lengthtest" id="lengthtest" class="required length-ran ...
如何将数据导入到Excel,方法大体分为两种。一是以数据流的形式写入到文件,另外一种就是调用Microsoft的Excel.dll。 今天主要介绍后者, 如何根据传入数据和显示格式自动的生成Excel。首先看源代码   using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Collections; using System.IO; using System.Diagnostics; using Excel;
 Source Code of Page02.cs using System;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace Gauss.PageControl
Source Code Of Navigation01.cs using System;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace Gauss.PageControl
最近闲来无事,便学习一下.net。早就对它耳闻目睹,学习玩了petShop4.0,顺便学习一下李老师的CodemiticDemo。他们都喜欢用他的代码生成器。我则喜欢看他的CodemitcDemo,由于是我一前是学习java的,所以我讨厌自动生成,我习惯于自己动手。然而CodemitcDemo2.0和1.0中有些代码,作者并没有公开,我特将他们解开,加上我自己的理解从新写了一遍,整个都通过测试。这部分代码主要分为 3部分。1, PageControl. (自定义控件可以按照自己的需要去设计)Part1,Part2包括:Navigation01.cs, Page01.cs,Page02.cs,Pa ...
#include <stdio.h>#include <malloc.h>typedef struct LNode...{    FILE *fp;    char *fname;
 在学习C语言的时候,关于形参如何改变实参,链表中节点的值何时被改变,何时不被改变,一直没有搞明白,今天终于搞懂,记录下来备份。 1、形参改变实参 #include <stdio.h>#include <malloc.h>typedef struct LNode...{    FILE *fp;
日期 2005年8月13日 作者 gauss 类型 Jsp
日期 2005年8月1日 作者 ga
Gauss 2005-5-11配置数据源1,  添加一个服务器2,  双击服务器名称进入服务器配置界面3,  点击数据源选项4,  点击添加选择oracle 和 oracle jdbc thin driver单击下一步输入名称ePlatformData将默认类路径除去,添加外部JAR,配置后如下单击完成。单击定义数据源的添加按钮下一步配置后如下名称:ePlatformDataSource别名:ePlatformUserJNDI名称:jdbc/ePlatform下一步databaseName: gjjserverName: 192.168.1.65url: jdbc:oracle:thin:@19 ...
日期 2005年7月22日 作者 gauss 类型 安全认证 ...
Global site tag (gtag.js) - Google Analytics