查字典论文网 >> 抽奖系统的JAVA实现

抽奖系统的JAVA实现

小编:

摘 要

某公司采用电脑抽奖的方式来销售自己的产品,其中要求用1小系统来自动产生幸运用户。系统要求有可视化的用户信息输入界面,中奖的用户信息能够以表格的方式打印,可以保存中奖用户的信息等主要功能。

经分析,JAVA中丰富的窗口类可以产生可视化的用户信息输入界面,文件操作可以方便的以多种文件格式保存用户信息,JDBC-ODBC桥技术能够实现GUI同数据库的交互,事件监听器可以实现某些输入信息的检测。因此决定使用JAVA语言实现。

通过1段时间的设计,系统基本功能已实现:能可视化输入用户信息,保存中奖用户信息,打印中奖用户信息。在抽奖过程中实现用户编号的滚动,给人以动态的感觉。

关键词:窗口;数据;事件;文件

Abstract

A company want to sale it’s goods by lottery-drawing,it needs a system to produce some lucky user.The system needs a visible window for inputting the user’s information,lucky user’s information can be printed in a table and can be saved in a database.Through analysis ,the Java programming language has a lot of classes which are used to design visible window,.By usingthe JDBC-ODBC bridge we can make the GUI and the database alternately.We can detect some input information by event listener.We can save user’s information easily by document operation.So,I decide to design this system using java programming language.Through a period of time design the system’s function totally realized:input uer’s information visibly,save lucky user’s information,print lucky user’s information.The user’s ID can move in the process of the lottery-drawing.

Key-words:window;data;event;file

热点推荐

上一篇:DVD在线租赁的数学模型

下一篇:如何对幼儿进行德育教育论文 幼儿园关于德育教育之类的论文