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

正文內(nèi)容

醫(yī)院病人信息管理軟件_java課設(shè)_含可運行程序-文庫吧

2025-08-04 00:17 本頁面


【正文】 與打印 。 Delete 基本信息刪除 。 JMenuBar bar。 JMenu fileMenu。 JMenuItem 錄入 ,修改 ,查詢與打印 ,刪除 ,歡迎界面 。 HashMapString,Patient 基本信息 =null。 File file=null。 CardLayout card=null。 JLabel label=null。 JPanel pCenter。 public ManagerWindow(){ 錄入 =new JMenuItem(錄入病人基本信息 )。 修改 =new JMenuItem(修改病人基本信息 )。 查詢與打印 =new JMenuItem(查詢與打印病人基本信息 )。 刪除 =new JMenuItem(刪除病人基本信息 )。 歡迎界面 =new JMenuItem(歡迎界面 )。 bar=new JMenuBar()。 fileMenu=new JMenu(菜單選項 )。 (錄入 )。 (修改 )。 (查詢與打印 )。 (刪除 )。 (歡迎界面 )。 (fileMenu)。 setJMenuBar(bar)。 label=new JLabel(醫(yī)院病人信息管理軟件 ,)。 (new ImageIcon())。 (new Font(黑體 ,36))。 ()。 ()。 基本信息 =new HashMapString,Patient()。 課程設(shè)計說明書 NO . 11 沈 陽 大 學(xué) 錄入 .addActionListener(this)。 修改 .addActionListener(this)。 查詢與打印 .addActionListener(this)。 刪除 .addActionListener(this)。 歡迎界面 .addActionListener(this)。 card=new CardLayout()。 pCenter=new JPanel()。 (card)。 file=new File(基本信息 .txt)。 if(!()){ try{ FileOutputStream out=new FileOutputStream(file)。 ObjectOutputStream objectOut=new ObjectOutputStream(out)。 (基本信息 )。 ()。 ()。 } catch(IOException e){} } 基本信息錄入 =new InputPatient(file)。 基本信息修改 =new ModifySituation(file)。 基本信息查詢與打印 =new Inquest(file)。 基本信息刪除 =new Delete(file)。 (歡迎界面 ,label)。 (錄入界面 ,基本信息錄入 )。 (修改界面 ,基本信息修改 )。 (刪除界面 ,基本信息刪除 )。 add(pCenter,)。 validate()。 setVisible(true)。 setBounds(100,50,460,280)。 setDefaultCloseOperation()。 addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e){ int n=(null,確認退出嗎 ?,確認對話框 , )。 if(n==) (0)。 }})。 validate()。 } public void actionPerformed(ActionEvent e){ if(()==錄入 ){ 基本信息錄入 .clearMess()。 課程設(shè)計說明書 NO . 12 沈 陽 大 學(xué) (pCenter,錄入界面 )。 } else if(()==修改 ){ 基本信息修改 .clearMess()。 (pCenter,修改界面 )。 } else if(()==查詢與打印 ){ 基本信息查詢與打印 .clearMess()。 基本信息查詢與打印 .setLocation(getBounds().x+getBounds().width,getBounds().y)。 基本信息查詢與打印 .setVisible(true)。 } else if(()==刪除 ) (pCenter,刪除界面 )。 else if(()==歡迎界面 ) (pCenter,歡迎界面 )。 } public static void main(String args[]){ new ManagerWindow()。 } } ModifySituation import .*。 import .*。 import .*。 import .*。 import .*。 import .*。 public class ModifySituation extends JPanel implements ActionListener{ PatientPicture pic。 HashMapString,Patient 基本信息表 =null。 JTextField 病歷號 ,姓名 ,房間號 ,出生 。 JComboBox 科室 。 JButton 選擇照片 。 JRadioButton 男 ,女 。 ButtonGroup group=null。 JButton 開始修改 ,錄入修改 ,重置 。 FileInputStream inOne=null。 ObjectInputStream inTwo=null。 FileOutputStream outOne=null。 ObjectOutputStream outTwo=null。 File systemFile,imagePic。 JComboBox oldMess。 Patient stu=null。 課程設(shè)計說明書 NO . 13 沈 陽 大 學(xué) public ModifySituation(File file){ systemFile=file。 pic=new PatientPicture()。 病歷號 =new JTextField(6)。 姓名 =new JTextField(6)。 科室 =new JComboBox()。 try{ FileReader inOne=new FileReader(科室 .txt)。 BufferedReader inTwo= new BufferedReader(inOne)。 String s=null。 int i=0。 while((s=())!=null) 科室 .addItem(s)。 ()。 ()。 } catch(IOException exp){ 科室 .addItem(內(nèi)科 )。 科室 .addItem(外科 )。 } 房間號 =new JTextField(6)。 出生 =new JTextField(6)。 選擇照片 =new JButton(選擇 )。 group=new ButtonGroup()。 男 =new JRadioButton(男 ,true)。 女 =new JRadioButton(女 ,false)。 (男 )。 (女 )。 oldMess=new JComboBox()。 開始修改 =new JButton(開始修改 )。 錄入修改 =new JButton(錄入修改 )。 錄入修改 .setEnabled(false)。 選擇照片 .setEnabled(false)。 重置 =new JButton(重置 )。 病歷號 .addActionListener
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1