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

正文內(nèi)容

簡易寫字板軟件設計實驗報告(編輯修改稿)

2024-09-30 16:01 本頁面
 

【文章內(nèi)容簡介】 ((,))。 paste1=new JMenuItem(粘貼 )。 ((,))。 (copy1)。 (cut1)。 (paste1)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 //(this)。 華北科技學院計算機學院 綜合性實驗報告 第 12 頁 validate()。 (new MouseAdapter(){ public void mousePressed(MouseEvent e){ if(()==){ (area,(),())。 } } })。 } //新建 public void newfile(){ if(!().equals()){ int t=(this, 是 否 保 存 ? , 提 示 保 存,)。 if(t==){ save()。 setTitle(無標題 寫字板 )。 ()。 } if(t==){ setTitle(無標題 寫字板 )。 ()。 } } } //打開 public void open(){ (null)。 int n=(null)。 if(n==){ 華北科技學院計算機學院 綜合性實驗報告 第 13 頁 File file1=()。 setTitle(())。 try{ FileReader readerfile=new FileReader(file1)。 BufferedReader in=new BufferedReader(readerfile)。 String s=null。 while((s=())!=null){ (s+\n)。 } } catch(IOException ee){} } } //保存 public void save(){ int n=(null,另存為 )。 if(n==){ File file2=()。 if(!()){ setTitle(())。 try{ FileWriter writerfile=new FileWriter(file2)。 BufferedWriter out=new BufferedWriter(writerfile)。 (())。 ()。 ()。 } catch(IOException eee){} } else{ 華北科技學院計算機學院 綜合性實驗報告 第 14 頁 int m=(this,()+\n+已存在,是否要覆蓋? ,確認另存為 , )。 if(m==){ setTitle(())。 try{ FileWriter writerfile=new FileWriter(file2)。 BufferedWriter out=new BufferedWriter(writerfile)。 (())。 ()。 ()。 ()。 } catch(IOException eee){} } } } } public void actionPerformed(ActionEvent e){ String content=()。//得到文本域中的內(nèi)容 if(()==newfile){ newfile()。 } if(()==open){ open()。 } 華北科技學院計算機學院 綜合性實驗報告 第 15 頁 if(()==save){ if(getTitle().equals(無標題 寫字板 )){ save()。 } else{ File file1=()。 if(()){ try{ FileWriter writerfile=new FileWriter(file1)。 BufferedWriter out=new BufferedWriter(writerfile)。 (())。 ()。 ()。 ()。 }
點擊復制文檔內(nèi)容
黨政相關相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1