freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

人事管理系統(tǒng)java課程設(shè)計報告-在線瀏覽

2024-10-25 15:23本頁面
  

【正文】 后為監(jiān)聽者定義actionPerformed(ActionEvent e)方法,()()來判斷用戶點擊的菜單子項,并完成這個菜單子項定義的操作。所以第一個界面就是要輸入密碼和卡號才能繼續(xù)服務(wù)。抓藥是用于輸入單行的文本;文本區(qū)調(diào)用public String getText()方法,獲取用戶想要的字符串。 選擇服務(wù)模塊設(shè)計在選擇服務(wù)模塊中,有各種ATM的服務(wù)功能,只要用戶在該界面中選擇按鈕,它就會彈出各個相應(yīng)的界面。 取款模塊設(shè)計在取款模塊中,和其他的界面也是同樣的結(jié)構(gòu)。用戶在文本框中輸入他想取的數(shù)額,但是必須是100的倍數(shù),而且每一次最多只能取5000塊。 退卡模塊設(shè)計在退卡模塊設(shè)計中,這個方法就更加的簡單了,它只是用了if(()==button4){//退出} (0)。這個方法就可以實現(xiàn)了,這里就不再多說了。(4)加載URL時的異常需要處理的異常:MalformedURLException,拋出這一異常指示出現(xiàn)了錯誤的 URL。系統(tǒng)實現(xiàn)與測試(1)編譯運行程序后,將會看到如下的界面,如圖2所示。圖2 主界面—登陸頁面(2)選擇服務(wù)界面效果當(dāng)輸入的密碼和卡號正確,單擊確定后就會進入到選擇服務(wù)的界面,如圖3所示。圖3 選擇服務(wù)界面(3)取款界面,如圖4所示。圖7 查詢余額界面圖8 存款界面圖9 轉(zhuǎn)賬界面經(jīng)過測試,所有的功能基本上都實現(xiàn)了,而且運行正常。//主菜單import .*。import 。import 。import .*。class Panel1 extends JPanel{ JLabel label1,label2。label1=new JLabel(“”+“銀行存取款系統(tǒng)”)。add(new JLabel())。add(label2)。} } class Panel2 extends JPanel{JButton button1,button2。button1=new JButton(“中文”)。add(new JLabel())。add(new JLabel())。add(new JLabel())。add(new JLabel())。add(new JLabel())。add(button2)。add(new JLabel())。add(new JLabel())。add(new JLabel())。} } class Client extends JFrame implements ActionListener{Panel1 panel1。JFrame frame。Container con=()。panel1=new Panel1()。(panel1)。(this)。(true)。}public void actionPerformed(ActionEvent e){if(()==“中文”){(false)。}else if(()==“英文”){String inputValue = (“Please input a value”)。}} package ZDC。import 。import 。import 。import .*。JPasswordField textA。static JTextField textB。Panel01(){setLayout(new GridLayout(4,4))。iString mm=new String(t)。label1=new JLabel(“請輸入密碼:”)。label4=newJLabel(“請輸入驗證”)。碼:()。()。textA=new JPasswordField(6)。*39。textB=new JTextField(“)。iadd(label2)。add(new JLabel())。add(label1)。add(new JLabel())。add(label4)。add(label3)。Panel02(){setLayout(new GridLayout(3,6))。button2=new JButton(”取消“)。iJLabel())。add(new JLabel())。for(int i=0。Panel02 panel2。int i=0,j=0。Container con=()。panel1=new Panel01()。(panel1)。JLabel())。(this)。()。String password=new String(”000000“)?!?。}else{(frame,“你輸入的驗證碼有誤,請重新輸入。new Client08(”“)。return。Connection con=(”jdbc:odbc:hello“,”“,”“)。String ql=()。if(()){String qerycmima=()。if((s)){(frame,”連接成功!“)。new Client01(”用戶取款系統(tǒng)“)。j=3i。(”“)?!?。}}()。}else{(null,”該用戶不存在,重新輸入!“,”警告!“, )。(”“)。return。(”E M“+())。}} } class Inputpassword{public static void main(String []args){new Client00(”用戶取款系統(tǒng)“)。//選擇界面import .*。import 。import 。import .*。class Panel03 extends JPanel{”)。iJLabel())。add(newJLabel())。Panel03(){setLayout(new GridLayout(8,6))。button2=new JButton(“取款”)。button4=new JButton(“退出”)。add(button2)。iJLabel())。add(new JLabel())。add(button5)。i} } class Client01 extends JFrame implements ActionListener{Panel03 panel1。Client01(String s){super(s)。panel1=new Panel03()。(this)。(this)。(this)。()。new Client02(”請選擇取款金額“)。new Client06(”查詢服務(wù)“)。new Client05(”請選擇存款金額“)。new Client04(”用戶轉(zhuǎn)賬服務(wù)“)。new Client08(”“)。new Client01(”用戶存款系統(tǒng)“)。//查詢功能import .*。import 。import 。import .*。import .*。JTextField textA。Panel06(){setLayout(new GridLayout(4,4))。textA=new JTextField(6)。iadd(label1)。for(int i=0。Panel07(){setLayout(new GridLayout(3,6))。button2=new JButton(”查詢“)。iJLabel())。add(new JLabel())。for(int i=0。Panel07 panel2。Container con=()。panel1=new Panel06()。(panel1)。(this)。(true)。}JLabel())。new Client01(”選擇服務(wù)種類“)。}public void showcjine(){//Stringurl=”jdbc:odbc:driver={MicrosoftAccessDriver(*.mdb)}。//程序直接使用當(dāng)前類目錄下的數(shù)據(jù)庫文件try{(”“)。//連接數(shù)據(jù)庫 Statement sql=()。(”“)。if(()){String ucjine=(1)。}else{(null,”該用戶不存在“,”警告!“, )。}catch(Exception ex){ ()。}} package ZDC。import 。import 。import 。import .*。Panel11(){setLayout(new GridLayout(10,5))。button2=new JButton(”查本卡信息“)。iadd(button1)。iadd(button2)。iclass Client06 extends JFrame implements ActionListener{Panel11 panel11。Client06(String s){super(s)。panel11=new Panel11()。(this)。(true)。}public void actionPerformed(ActionEvent e){if(()==”查詢余額“){(false)。}else if(()==”查本卡信息“){ (false)。} } } class Searchinformation{public static void main(String []args){new Client06(”查詢服務(wù)“)。//轉(zhuǎn)賬功能import .*。import 。import 。import .*。import .*。JTextField textA,textB。label1=new JLabel(”輸入預(yù)轉(zhuǎn)賬號:“)。textA=new JTextField(6)。for(int i=0。add(textA)。iadd(label2)。add(new JLabel())。Panel09(){setLayout(new GridLayout(3,6))。button2=new JButton(”取消“)。add(new JLabel())。add(new JLabel())。add(new JLabel())。add(button1)。add(new JLabel())。add(new JLabel())。add(new JLabel())。add(new JLabel())。add(new JLabel())。Panel09 panel2。Client04(String s){super(s)。(new GridLayout(2,1))。panel2=new Panel09()。(panel2)。(this)。()。//程序根據(jù)輸入賬號調(diào)用數(shù)據(jù)庫,修改對應(yīng)金額數(shù)。new Client01(”用戶取款系統(tǒng)“)。new Client01(”用戶取款系統(tǒng)“)。return。DBQ=“。Connection con=(”jdbc:odbc:hello“,”“,”“)。String o=()。(”“)。String yjine=()。if(()){ResultSet rs=(”select cjine from card where o=“+ql+”“)。int qyjine=(queryjine)。String newjine2=(newcjine2)。“+newjine+”39。(”update card set cjine=39。where o=“+o+”“)。(false)。}else{(null,”請重新輸入金額!“,”警告!“, )。return。()。()。(”“)。}} } class Transferfunction{public static void main(String []args){new Client04(”用戶轉(zhuǎn)賬服務(wù)“)。//用戶取款import .*。import 。import 。該用戶不存在,請重新輸入。import 。class Panel04 extends JPanel{JButton button1,button2,button3,button4。button1=new JButton(”100“)。button3=new JButton(”300“)。for(int i=0。for(int i=0。add(button4)。} } class Panel05 extends JPanel{JButton button1,button2,button3,button4。button1=new JButton(”800“)。for(int i=0。for(int i=0。Panel05 panel2。Client02(String s){super(s)。(new GridLayout(2,1))。panel2=new Panel05()。(panel2)。(this)。(this)。(this)。()。qukuan()。new Client01(”用戶取款系統(tǒng)“)。qukuan()。}(false)。new Client01(”用戶取款系統(tǒng)“)。qukuan()。}else if(()==”800“){(false)。new Client01(”用戶取款系統(tǒng)“)。Connection c
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1