資源簡(jiǎn)介
書店租賃系統(tǒng),上課時(shí)候的作業(yè),很好用的,交上去絕對(duì)可以得滿分

代碼片段和文件信息
import?java.awt.*;
import?javax.swing.*;
public?class?ConsumeMenuItem?extends?JPanel{
???Box?box1box2box3box4box5;
???JLabel?label1label2label3label4;
???JButton?button1button2button3;
???ConsumeMenuItem(){
?????????label1?=?new?JLabel(“進(jìn)貨時(shí)間“);
?????????label2?=?new?JLabel(“進(jìn)貨數(shù)量“);
?????????label3?=?new?JLabel(“產(chǎn)品信息“);
?????????label4?=?new?JLabel(“產(chǎn)品數(shù)量“);
?????????
?????????button1?=?new?JButton(“確定“);
?????????button2?=?new?JButton(“重置“);
?????????button3?=?new?JButton(“清空“);
?????????box1?=?Box.createVerticalBox();
?????????box1.add(label1);
?????????box1.add(Box.createGlue());
?????????box1.add(label2);
?????????box1.add(Box.createVerticalStrut(15));
?????????box1.add(label3);
?????????box1.add(Box.createVerticalStrut(15));
?????????box1.add(label4);
?????????
?????????box2?=?Box.createVerticalBox();
?????????box2.add(new?TextField(30));
?????????box2.add(Box.createVerticalStrut(10));
?????????box2.add(new?TextField(30));
?????????box2.add(Box.createVerticalStrut(10));
?????????box2.add(new?TextField(30));
?????????box2.add(Box.createVerticalStrut(10));
?????????box2.add(new?TextField(30));
?????????box3?=?Box.createHorizontalBox();
?????????box3.add(Box.createHorizontalGlue());
?????????box3.add(button1);
?????????box3.add(Box.createHorizontalStrut(5));
?????????box3.add(button2);
?????????box3.add(Box.createHorizontalStrut(5));
?????????box3.add(button3);
?????????box4?=?Box.createHorizontalBox();
?????????box4.add(box1);
?????????box4.add(Box.createHorizontalStrut(5));
?????????box4.add(box2);
??????????
?????????box5?=?Box.createVerticalBox();
?????????box5.add(box4);
?????????box5.add(Box.createVerticalStrut(20));
?????????box5.add(box3);
?????????add(box5);
???}
}?
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????5432??2013-01-10?21:55??SQLQuery3.sql
?????文件?????3145728??2013-01-11?09:14??書店租賃.mdf
?????文件?????1048576??2013-01-11?09:14??書店租賃_log.ldf
?????目錄???????????0??2013-01-11?09:09??源程序\
?????文件?????????382??2013-01-11?09:12??源程序\.classpath
?????文件?????????379??2012-01-07?13:05??源程序\.project
?????目錄???????????0??2013-01-11?09:09??源程序\.settings\
?????文件?????????172??2012-01-07?13:05??源程序\.settings\org.eclipse.core.resources.prefs
?????文件?????????629??2012-01-07?13:05??源程序\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2013-01-11?09:12??源程序\bin\
?????文件????????1868??2013-01-11?09:12??源程序\bin\ConsumeMenuItem.class
?????文件????????1438??2013-01-11?09:12??源程序\bin\HistoryMenuItem.class
?????文件????????2321??2013-01-11?09:12??源程序\bin\JTableDemo.class
?????文件????????1623??2013-01-11?09:12??源程序\bin\LandMenuItem.class
?????文件?????????609??2013-01-11?09:12??源程序\bin\LoginGui$1.class
?????文件????????1894??2013-01-11?09:12??源程序\bin\LoginGui$LoginListener.class
?????文件????????1188??2013-01-11?09:12??源程序\bin\LoginGui$ResetListener.class
?????文件????????2533??2013-01-11?09:12??源程序\bin\LoginGui.class
?????文件????????3680??2013-01-11?09:12??源程序\bin\Mafr
?????文件?????????569??2013-01-11?09:12??源程序\bin\Main$1.class
?????文件?????????687??2013-01-11?09:12??源程序\bin\Main.class
?????文件????????2193??2013-01-11?09:12??源程序\bin\MessageSearch.class
?????目錄???????????0??2013-01-11?09:12??源程序\bin\org\
?????目錄???????????0??2013-01-11?09:12??源程序\bin\org\liyan\
?????目錄???????????0??2013-01-11?09:12??源程序\bin\org\liyan\bean\
?????文件????????1655??2013-01-11?09:12??源程序\bin\org\liyan\bean\Book.class
?????文件????????1083??2013-01-11?09:12??源程序\bin\org\liyan\bean\Consumer.class
?????文件????????1242??2013-01-11?09:12??源程序\bin\org\liyan\bean\Gsjl.class
?????文件????????2359??2013-01-11?09:12??源程序\bin\org\liyan\bean\Jsjl.class
?????文件????????1230??2013-01-11?09:12??源程序\bin\org\liyan\bean\Kcjl.class
?????文件?????????711??2013-01-11?09:12??源程序\bin\org\liyan\bean\Provider.class
............此處省略132個(gè)文件信息
評(píng)論
共有 條評(píng)論