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

正文內(nèi)容

程序語言綜合課程設(shè)計實驗報告-資料下載頁

2025-04-11 22:31本頁面
  

【正文】 ocess。 HandleSin(LinkedListString list,JTextField t1,JTextField t2, JTextArea t3){ =list。 resultShow=t1。 showComputerProcess=t2。 saveComputerProcess=t3。 } public void actionPerformed(ActionEvent e){ if(()==1||()==2){ String numOne=()。 try{ double x=(numOne)。 double result=(x)。 String str=(result)。 (0,str)。 (str)。 String proccess=sin(+numOne+)=+result。 (proccess)。 ( +proccess+\n)。 if(()==2) ()。 //移掉運(yùn)算符號 } catch(Exception ee){} } else if(()==3){ String numTwo=()。 try{ double x=(numTwo)。 double result=(x)。 String str=(result)。 (0,str)。 (str)。 String proccess=sin(+numTwo+)=+result。 (proccess)。 ( +proccess+\n)。 ()。 //移掉第2個運(yùn)算數(shù) ()。 //移掉運(yùn)算符號 } catch(Exception ee){} } }} 題目二關(guān)鍵源碼(1) ManagerWindow類的ManagerWindow方法import .*。import .*。import .*。import .*。import 。public class ManagerWindow extends JFrame implements ActionListener{ InputStudent 基本信息錄入。 ModifySituation 基本信息修改。 Inquest 基本信息查詢。 Delete 基本信息刪除。 JMenuBar bar。 JMenu fileMenu。 JMenuItem 錄入,修改,查詢,刪除,歡迎界面。 HashMapString,Student 基本信息=null。 File file=null。 CardLayout card=null。 JLabel label=null。 JPanel pCenter。 public ManagerWindow(){ setTitle(學(xué)生管理系統(tǒng))。 錄入=new JMenuItem(錄入學(xué)生基本信息)。 修改=new JMenuItem(修改學(xué)生基本信息)。 查詢=new JMenuItem(查詢學(xué)生基本信息)。 刪除=new JMenuItem(刪除學(xué)生基本信息)。 歡迎界面=new JMenuItem(歡迎界面)。 bar=new JMenuBar()。 fileMenu=new JMenu(菜單選項)。 (錄入)。 (修改)。 (查詢)。 (刪除)。 (歡迎界面)。 (fileMenu)。 setJMenuBar(bar)。 label=new JLabel(學(xué)籍管理系統(tǒng),)。 (new ImageIcon())。 (new Font(隸書,36))。 ()。 ()。 基本信息=new HashMapString,Student()。 (this)。 (this)。 (this)。 (this)。 (this)。 card=new CardLayout()。 pCenter=new JPanel()。 (card)。 //file=new File()。 /*if(!()){ try{ FileOutputStream out=new FileOutputStream(file)。 ObjectOutputStream objectOut=new ObjectOutputStream(out)。 (基本信息)。 ()。 ()。 } catch(IOException e){} }*/ 基本信息錄入=new InputStudent(file)。 基本信息修改=new ModifySituation(file)。 基本信息查詢=new Inquest(file)。 基本信息刪除=new Delete(file)。 (歡迎界面,label)。 (錄入界面,基本信息錄入)。 (修改界面,基本信息修改)。 (刪除界面,基本信息刪除)。 add(pCenter,)。 validate()。 setVisible(true)。 setBounds(100,50,660,580)。 setDefaultCloseOperation()。 addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e){ int n=(null,確認(rèn)退出嗎?,確認(rèn)對話框, )。 if(n==) (0)。 }})。 validate()。 } public void actionPerformed(ActionEvent e){ if(()==錄入){ (pCenter,錄入界面)。 } else if(()==修改){ ()。 (pCenter,修改界面)。 } else if(()==查詢){ ()。 (getBounds().x+getBounds().width,getBounds().y)。 (true)。 } else if(()==刪除) (pCenter,刪除界面)。 else if(()==歡迎界面) (pCenter,歡迎界面)。 } public static void main(String args[]){ new ManagerWindow()。 }}(2) inquest類的query()方法public void query() throws SQLException { String Sno,Sname,Ssex,Sspec,Sgrade,Sborn。 Con=(jdbc:odbc:stu)。 ResultSet rs=(SELECT * FROM stu)。 while (()) { Sno=(Sno)。 Sname=(Sname)。 Ssex=(Ssex)。 Sspec=(Sspec)。 Sgrade=(Sgrade)。 Sborn=(Sborn)。 if(().equals(().trim())) { (Sname)。 (Ssex)。 (Sspec)。 (Sgrade)。 (Sborn)。 search_record=1。 break。 } } if(search_record==0) { (沒有該學(xué)生)。 } }42
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1