ava備忘錄編寫源代碼及運行界面截圖_第1頁
ava備忘錄編寫源代碼及運行界面截圖_第2頁
ava備忘錄編寫源代碼及運行界面截圖_第3頁
ava備忘錄編寫源代碼及運行界面截圖_第4頁
ava備忘錄編寫源代碼及運行界面截圖_第5頁
已閱讀5頁,還剩25頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

1、/Memorial. javaimport java.awt.*;import java.awt.event.*;import java.awt.image.Bufferedlmage;import java.io.*;import java.util.*;import javax.imageio.ImagelO;import javax.swing.*;public class Memorial extends JFrame implements ActionListener/* param args*/private JLabel title,picture,mark,jl1,jl2,jl

2、3,jl4;private JTextField jt1,jt2,jt3;private JButton Ok ,Cancle;private static String name1 =null;private static String pass1 = null;/構造函數(shù)public Memorial()title = new JLabel(我的備忘錄);picture = new JLabel(new ImageIcon(photos/ 3.jpg); 背景標簽/*mark = new JLabel(new ImageIcon(3.jpg); */jl1 =new JLabel(登錄名:

3、);jl2 =new JLabel(登錄密碼:);jl3 =new JLabel();jl4 = new JLabel(看不清);jt1 = new JTextField();jt2 = new JTextField();jt3 = new JTextField();Ok = new JButton (登錄);Cancle = new JButton(取消);頁面布局public void launchFrame()JPanel p = (JPanel) getContentPane();jl3.setText( getcode();jl3.setForeground(Color.cyan);

4、 / 設置驗證碼的顏色jl3.setBorder(BorderFactory.createRaisedBevelBorder();/ 使驗證碼凸出顯示jl4.setForeground(Color.magenta);/設置看不清標簽的前景色為洋紅色jl4.addMouseListener(new addEvent(); 為看不清標簽添加鼠標監(jiān)聽器Ok.addActionListener(this); / 為登錄按鈕添加監(jiān)聽器Cancle.addActionListener(this); / 為取消按鈕添加監(jiān)聽器Ok.setBorder(BorderFactory.createRaisedBev

5、elBorder(); 使按鈕凸出顯示 Cancle.setBorder(BorderFactory.createRaisedBevelBorder();/*設置背景圖片p.setLayout(null);/ 使用 setBounds(),必須使布局為 null picture.setBounds(0,0,500,330);p.add(picture);p.setOpaque(false);/使內(nèi)容窗格透明/把背景圖片添加到分層窗格的最底層作為背景getLayeredPane().add(picture,new Integer(Integer.MIN_VALUE);/*設置標題title.se

6、tForeground(Color.red);title.setFont(new Font(華文行楷”,Font.BOLD,20);title.setBounds(190,20,120,40);p.add(title);/*設置圖標Bufferedlmage icon = null;tryicon = ImageIO.read( new File( photos/9.jpg);this.setIconImage(icon);catch( Exception e )jl1.setBounds(140,80,100,25);p.add(jl1);jt1.setBounds(240,80,100,2

7、5);p.add(jt1);jl2.setBounds(140,120,100,25);p.add(jl2);jt2.setBounds(240,120,100,25);p.add(jt2);jt3.setBounds(140,160,70,25);p.add(jt3);jl3.setBounds(250,160,40,25);p.add(jl3);jl4.setBounds(300, 160, 50, 25);p.add(jl4);Ok.setBounds(150,220,60,30);p.add(Ok);Cancle.setBounds(260,220,60,30);p.add(Cancl

8、e);setTitle(登錄界面);setBounds(300,200,500,330);setResizable(false);窗 口不能被拖動setVisible(true);setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);/獲取驗證碼public String getcode()Random rd = new Random();String str =;int a口 = new int 4;for(int i = 0; i =48&ai=65&ai=97&ai=-10000&year=10000)showYear.setText(+year)

9、;cal.setYear(year);cal.setCal(year,cal.getMonth(); elseJOptionPane.showMessageDialog(null,輸入的年份有誤,請重 新輸入!”,錯誤提示,JOptionPane.ERROR_MESSAGE);showYear.setText(); catch(NumberFormatException ee) JOptionPane.showMessageDialog(null,請輸入正確的年份格式! ,錯誤提示,JOptionPane.ERROR_MESSAGE);showYear.setText();/Month.jav

10、a/對月份的選擇 import javax.swing.*;import java.awt.*;import java.awt.event.*;public class Month extends JPanel /ActionListener 接口private int month;private JTextField showMonth=null;private JButton lastMonth,nextMonth;private CalendarPad cal;public Month( CalendarPad c )this.cal = c;showMonth = new JTextF

11、ield();month = c.getMonth();nextMonth = new JButton(下月);lastMonth = new JButton(上月力 launch();/頁面布局public void launch()showMonth.setEditable(false); 設置月份不可被編輯 showMonth.setForeground(Color.blue);showMonth.setFont(new Font(宋體,Font.BOLD,16);setLayout(new GridLayout(1,3,5,5);add(lastMonth);add(showMonth

12、);add(nextMonth);lastMonth.addActionListener(new addEvent();nextMonth.addActionListener(new addEvent();lastMonth.setBorder(BorderFactory.createRaisedBevelBorder(); nextMonth.setBorder(BorderFactory.createRaisedBevelBorder(); showMonth.setText(+month);public void setMonth(int month)if(month=1)this.mo

13、nth=month;elsethis.month=1;showMonth.setText(+month);public int getMonth()return month;/事件處理class addEvent implements ActionListenerOverridepublic void actionPerformed(ActionEvent e)if(e.getSource()=lastMonth)if(month=2)month=month-1;cal.setMonth(month);cal.setCal(cal.getYear(),month);else if(month=

14、1)month=12; cal.setMonth(month);cal.setCal(cal.getYear(),month); showMonth.setText(+month);else if(e.getSource(尸nextMonth)if(month12) month=month+1;cal.setMonth(month);cal.setCal(cal.getYear(),month);else if(month=12) month=1;cal.setMonth(month);cal.setCal(cal.getYear(),month);showMonth.setText(+mon

15、th);/ Clock.java提取當前的年月日時分秒,時鐘import java.awt.*;import java.text.SimpleDateFormat;/SimpleDateFormat 是一個以與語言環(huán)境相關的方式來格 式化和分析日期的具體類import java.util.Calendar;import javax.swing.JPanel;/* 1.創(chuàng)建線程一種方法是將類聲明為Thread的子類。該子類應重寫 Thread類的run方法。接下來可以分配并啟動該子類的實例。另一種方法是聲明實現(xiàn)Runnable接口的類,該類然后實現(xiàn)run方法。然后可以分配該類的實例,在創(chuàng)建 Th

16、read時作為一個參數(shù)來傳遞并啟動。2.Canvas組件為Component的一個子類,表示屏幕上一個空白矩形區(qū)域,應用程序可以在該區(qū)域內(nèi)繪圖,或者可以從該區(qū)域捕獲用戶的輸入事件。應用程序必須為Canvas類創(chuàng)建子類,以獲得有用的功能(如創(chuàng)建自定義組件)。必須重寫paint方法,以便在 canvas上執(zhí)行自定義圖形。*/class Clock extends Canvas implements Runnable CalendarPad cp;Thread t;/Multi-Thread (斜體)線程 是程序中的執(zhí)行線程。Java虛擬機允許應用程序并發(fā)地運行多個執(zhí)行線程。String time;

17、public Clock(CalendarPad cp) this.cp=cp;setSize(280,40);setBackground( Color.pink );t = new Thread( this );/ 實例化線程t.start();/調(diào)用線程Override public void run() while(true) tryThread.sleep(1000);/ 休眠 1 秒鐘 catch(InterruptedException e) System.out.println(異常); this.repaint(1000);/ 重畫屏幕 /* Graphics類是所有圖形上下文

18、的抽象基類, *允許應用程序可以在組件(已經(jīng)在各種設備上實現(xiàn)),*以及閉屏圖像上,進行繪制。 */對paint函數(shù)進行重寫,在canvas上執(zhí)行自定義圖形public void paint( Graphics g )/super.paintComponent(g);SimpleDateFormat sdf=new SimpleDateFormat( yyyy年MM月dd日 HH:mm:ss);格式化時間顯示類型 Calendar now=Calendar.getInstance(); / time=sdf.format(now.getTime();/format()格式化時間對象,得到當前日期

19、和時間 g.setFont(new Font(華文行楷”,Font.BOLD,18); g.setColor(Color.red); g.drawString(time,50,25);使用此圖形上下文的當前字體和顏色,在指定的坐標位置,繪制由指定 string給定的文本 CalendarPad.java/Calendar日歷記事本import java.util.Calendar;import javax.imageio.ImagelO;import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.awt.

20、image.Bufferedlmage;import java.io.File;public class CalendarPad extends JFrameint year,month,day;private JTextField showDay;private JLabel title口;Calendar cal =Calendar.getInstance();/ 實例化 Calendar int week;Note note=null;Month ChangeMonth;Year ChangeYear;String w=星期日,星期一,星期二,星期三,星期四,星期五,星期六; priva

21、te JPanel leftPanel,rightPanel;/構造函數(shù)public CalendarPad( int year,int month,int day )leftPanel=new JPanel(); / 左側是日歷rightPanel=new JPanel(); 右側顯示相應的記事 this.year=year;this.month=month;this.day=day;ChangeYear=new Year(this);ChangeYear.setYear(year);ChangeMonth=new Month(this);ChangeMonth.setMonth(month

22、); launch();/頁面布局public void launch()JPanel leftCenter=new JPanel(); 左側放置日歷JPanel leftNorth=new JPanel();/ 右側放置事件,*設置圖標*/Bufferedlmage icon = null;tryicon = ImageIO.read( new File( photos/7.jpg);this.setlconlmage(icon);catch( Exception e )/*左面板中間部分的面板布置*/leftCenter.setLayout(new GridLayout(7,7);titl

23、e=new JLabel7;showDay=new JTextField42; /day用不可被編輯的文本框顯示for(int j=0;j7;j+)titlej=new JLabel();titlej.setText(wj);/“星期日”到“星期六”titlej.setBorder(BorderFactory.createRaisedBevelBorder();/創(chuàng)建一個具有凸出斜面邊緣的邊框,將組件當前背景色的較亮的色度用于突出顯示,較暗的色度用于陰影l(fā)eftCenter.add(titlej);title0.setForeground(Color.orange);/設置 “星期日字體顏色,

24、設置前景色title6.setForeground(Color.green);/ 設置星期六字體顏色for(int i=0;i42;i+)showDayi=new JTextField();showDayi.addMouseListener(new addEvent();showDayi.setEditable(false); / 日期不可被編輯leftCenter.add(showDayi);/*左面板北面部分的面板,由與年份和月份有關的組件組成*/JPanel p = new JPanel();p.setLayout(new GridLayout(1,2);p.add(ChangeYear

25、);p.add(ChangeMonth);leftNorth.add(p);/*左側面板整體布置*/leftPanel.setLayout( new BorderLayout();leftPanel.add( leftNorth,North);leftPanel.add( leftCenter,Center);leftPanel.add( new Clock(this),South); /!調(diào)用 Clock 類實例,顯示當前時 間leftPanel.validate();/*右側面板整體布局*/rightPanel.add( new Label(文本框輸入年份,按 Enter鍵確定(負數(shù)表示公

26、元 前),North);note=new Note(this);當前日歷rightPanel.add(note,Center); 把 note 放在右側面板中間部分setCal(year,month);/*備忘錄界面總布局*/Container c = getContentPane();/ 獲得大內(nèi)容嵌板JSplitPane split=new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,leftPanel,rightPanel); c.add(split);/*JSplitPane用于分隔兩個(只能兩個)Component,使用 JSplitPane.HOR

27、IZONTAL_SPLITI 讓分隔窗格中的兩個Component從左到右排列*/Container c = getContentPane();c.setLayout(new GridLayout(1,2);c.add(leftPanel);c.add(rightPanel); */此種添加方式,兩個 Component之間沒有分隔 ,比較突pack();setTitle(備忘錄);setVisible(true);setResizable(false);窗 口不能被拖動 setBounds(350,100,620,350);validate。;鼠標事件處理,單擊某日期,獲取該日的備忘錄信息c

28、lass addEvent extends MouseAdapterOverridepublic void mousePressed( MouseEvent e)JTextField source=(JTextField)e.getSource(); tryday = Integer.parseInt(source.getText();note.setDay(day);note.setTimeLabel(year,month,day); /在右側面板上顯示點擊的時間 note.setText(null);note.getLog(year,month,day);/獲取該天的備忘錄信息catch(

29、Exception ee)/設置每月的天數(shù)public void setCal(int year,int month)cal.set(year,month-1,1); 調(diào)用 Calendar 類的 set()函數(shù),設置年、月week=cal.get(Calendar.DAY_OF_WEEK)-1; /倜用 get()函數(shù)讀取if(month=1|month=2|month=3|month=5|month=7 |month=8|month=10|month=12) SearchNum(week,31);else if(month=4|month=6|month=9|month=11)Search

30、Num(week,30);else if(month=2) if(year%4=0&year%100!=0)|(year%400=0)SearchNum(week,29); / 閏年else SearchNum(week,28); / 平年/查找日期public void SearchNum(int w_num, int month_num)for( int i = w_num, n = 1; iw_num + month_num; i + )showDayi.setText(+n);if(n=day)設置被查詢到的某天日期顏色,大小showDayi.setFont(new Font(Time

31、sRoman,Font.BOLD,24);showDayi.setForeground(Color.cyan); else showDayi.setFont(new Font(TimesRoman,Font.BOLD,14);showDayi.setForeground(Color.gray);if(i%7=6)showDayi.setForeground(Color.green);/ 一個月內(nèi)為周六的所有日期顏if(i%7=0)showDayi.setForeground(Color.orange);/ 一個月內(nèi)為周日的所有日期顏 n+;for(int i=0;iw_num;i+)showD

32、ayi.setText();/ 每月月初前為空for(int i=w_num+month_num;i42;i+)showDayi.setText();/ 每月月末后為空/set、get 函數(shù) public void setYear(int y)year=y;note.setYear(year);public int getYear()return year;public void setMonth(int m)month=m;note.setMonth(month);public int getMonth()return month;public void setDay(int d)day=d

33、;note.setDay(day);public int getDay()return day;/LinkData.java/連接數(shù)據(jù)庫import java.sql.*;public class LinkData private Connection con = null;private Statement stmt = null;public LinkData()String driver = org.hsqldb.jdbcDriver;String user = sa;String url = jdbc:hsqldb:hsql:localhost;String pass =;tryCla

34、ss.forName(driver);con = DriverManager.getConnection( url, user, pass );catch( Exception e )e.printStackTrace();修改信息public boolean modifyMessage( String sql ) throws SQLException boolean b = false;stmt = con.createStatement();b = stmt.execute( sql );stmt.close();stmt = null;return b;/ 獲彳導 ResultSetp

35、ublic ResultSet query( String sql ) throws SQLExceptionreturn con.createStatement().executeQuery(sql);public void close()if( con != null )trycon.close();catch( SQLException ex )System.out.println(數(shù)據(jù)庫關閉異常!);/Note.javaimport java.awt.*;import java.awt.event.*;import java.io.File;import java.sql.Result

36、Set;import java.sql.SQLException;import java.util.Calendar;/import java.util.Hashtable;import javax.swing.*;public class Note extends JPanel implements ActionListenerprivate JTextArea jta;private JScrollPane jsp;private JButton add,change,delete,refresh;private JLabel time_label;int year,month,day;p

37、rivate String num =;private boolean flag = false;private int data_num = 0;CalendarPad calendar;Note(CalendarPad calendar)/ 構造函數(shù) this.calendar=calendar;year = calendar.getYear();month = calendar.getMonth();day = calendar.getDay();time_label=new JLabel(+year+年+month+月+day+日,JLabel.CENTER);/股置水 平對齊方式為后

38、中jta = new JTextArea(12,24);jsp = new JScrollPane(jta); /為文本區(qū)添加滾動條 add = new JButton(添力口);change = new JButton(修改);delete = new JButton(刪除)refresh = new JButton(刷新);launch();頁面布局public void launch()add.addActionListener(this);change.addActionListener(this);delete.addActionListener(this);refresh.addA

39、ctionListener(this);/使按鈕凸出顯示add.setBorder(BorderFactory.createRaisedBevelBorder();change.setBorder(BorderFactory.createRaisedBevelBorder();delete.setBorder(BorderFactory.createRaisedBevelBorder();refresh.setBorder(BorderFactory.createRaisedBevelBorder();time_label.setFont(new Font(TimesRoman,Font.BO

40、LD,16);time_label.setForeground(Color.magenta); /洋紅色jta.setFont(new Font(華文行楷”,Font.PLAIN,16 );jta.setEditable(false);/ 文本區(qū)不可被編輯/note面板布局 setLayout(new BorderLayout();add(time_label,North);add(jsp,Center);將添加滾動條的文本區(qū),放在右側面板的中間位置JPanel pSouth=new JPanel();pSouth.add(add);pSouth.add(change);pSouth.add(

41、delete);pSouth.add(refresh);add(pSouth,South);/按鈕事件處理Overridepublic void actionPerformed(ActionEvent e) if(e.getSource(尸add)new AddTest( +year+month+day ,data_num );else if(e.getSource(尸change) if( isExit( +year+month+day )new ChangeTest( +year+month+day );elseJOptionPane.showMessageDialog(null,當天無備

42、忘錄!); else if(e.getSource() = delete) if( isExit( +year+month+day ) )num = JOptionPane.showInputDialog(null,請輸入你要刪除的備忘錄的編 號:”);if( num = null )else if( num.equals()JOptionPane.showMessageDialog(null,所要刪除的當天的編號不能 為空!);num = JOptionPane.showInputDialog(null,請輸入你要刪除的備忘錄 的編號:);else try delLog(year,month

43、,day); catch (SQLException e1) e1.printStackTrace();else);JOptionPane.showMessageDialog(null,當天無備忘錄,不用刪除! else if(e.getSource()=refresh)getLog( year, month, day );JOptionPane.showMessageDialog(null,備忘錄已刷新成功!);else/在文本區(qū)上方添加當前日期public void setTimeLabel(int year,int month,int day)time_label.setText(+ye

44、ar+年+month+月+day+日);public void setText(String s) jta.setText;給文本區(qū)賦值/判斷某天信息是否存在public boolean isExit( String date )LinkData ld_connection = new LinkData();String sql = select * from mymemo where date=+date+”;ResultSet rs = null;try rs = ld_connection.query(sql);if( rs.next() )rs.close();ld_connectio

45、n.close();return true;catch (SQLException e)return false;讀取某天的備忘錄public void getLog(int year,int month,int day)/連接數(shù)據(jù)庫data_num = 0;LinkData ld_connection = new LinkData();ResultSet rs = null;String data =;String time =+year+month+day;String sql = select * from mymemo where date=+time+;if( isExit(time

46、) )try rs = ld_connection.query(sql);while( rs.next()data += rs.getString( 2 )+.+rs.getString( 3 )+n; data_num +;catch (SQLException e) e.printStackTrace();jta.setText( data );elsejta.setText(無記錄);刪除數(shù)據(jù)庫里面的內(nèi)容public void delLog(int year,int month,int day) throws SQLExceptionLinkData ld_connection = ne

47、w LinkData();String str=刪除+year+年+month+月+day+日+第+ num +”條的記錄嗎?;String time =+year+month+day;ResultSet rs = null;String sel_sql = select * from mymemo where date= +time+and num = +num+;rs = ld_connection.query(sel_sql);if( rs.next() )int ok = JOptionPane.showConfirmDialog( this,str,” 詢 問 ”,JOptionPa

48、ne.YES_NO_OPTION);if( ok=JOptionPane.YES_OPTION )String sql = delete from mymemo where date= +time+and num =+num+;trydata_num = 0;ld_connection.modifyMessage(sql); if( !isExit(time) jta.setText(無記錄);elseint i = 0;String口 data_str = new String100;String sql_ref = select * from mymemo where date= +tim

49、e+”; rs = ld_connection.query( sql_ref ); while( rs.next() ) data_stri = rs.getString( 3 );i +;String del_sql = delete from mymemo where date= +time+; ld_connection.modifyMessage(del_sql);for( int j = 0; j i; j + )String insert_sql = insert into mymemovalues。+time+,+(j+1)+,+data_strj+);ld_connection

50、.modifyMessage(insert_sql); data_num = i; catch( Exception e) e.printStackTrace(); elseJOptionPane.showMessageDialog( null,你輸入的編號不存在!);rs.close();ld_connection.close();/get、 set 函數(shù) public void setYear(int year) this.year=year;public int getYear()return year;public void setMonth(int month)this.month=

51、month;public int getMonth()return month;public void setDay(int day)this.day=day;public int getDay()return day;/AddTest.javaimport java.awt.*;import java.awt.event.*;import java.awt.image.BufferedImage;import java.io.File;import java.sql.SQLException;import javax.imageio.ImageIO;import javax.swing.*;

52、public class AddTest extends JFrameprivate JLabel signal,picture;private JTextArea editer;private JScrollPane jsp;private JButton Ok,Cancle,Clear;private int number;private String date;public AddTest ( String date, int data_num )this.number = data_num;this.date = date;signal = new JLabel(請輸入你要添加的信息:

53、);picture = new JLabel(new ImageIcon(photos/17.jpg);/ 背景標簽 editer = new JTextArea();jsp = new JScrollPane(editer);/ 為文本區(qū)添加滾動條Ok = new JButton(確定);Cancle = new JButton(取消);Clear = new JButton(清空);launch();public void launch()JPanel p = (JPanel)getContentPane();Ok.addActionListener(new addEvent();Canc

54、le.addActionListener(new addEvent();Clear.addActionListener(new addEvent();setLayout(null);Ok.setBorder(BorderFactory.createRaisedBevelBorder(); / 使按鈕凸出顯示Cancle.setBorder(BorderFactory.createRaisedBevelBorder(); 使按鈕凸出顯示Clear.setBorder(BorderFactory.createRaisedBevelBorder(); / 使按鈕凸出顯示/*設置背景圖片picture

55、.setBounds(0,0,300,300);p.add(picture);p.setOpaque(false);/使內(nèi)容窗格透明/把背景圖片添加到分層窗格的最底層作為背景getLayeredPane().add(picture,new Integer(Integer.MIN_VALUE);/*設置圖標BufferedImage icon = null;tryicon = ImageIO.read( new File( photos/12.jpg);this.setIconImage(icon);catch( Exception e ) signal.setFont(new Font(華文行

56、楷”,Font.PLAIN,18 );signal.setForeground(Color.red);signal.setBounds(55,20,200,20);p.add(signal);editer.setLineWrap(true);/ 自動換行editer.setFont(new Font(華文行楷”,Font.PLAIN,16 );jsp.setBounds(40,60,210,150);p.add(jsp);Ok.setBounds(60,230,60,20);p.add(Ok);Cancle.setBounds(120,230,60,20);p.add(Cancle);Clea

57、r.setBounds(180,230,60,20);p.add(Clear);setTitle(添加備忘錄);setBounds(300,200,300,300);setResizable(false); 窗 口 不能被拖動 setVisible(true);setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);class addEvent implements ActionListenerOverridepublic void actionPerformed(ActionEvent e) / TODO Auto-generated method st

58、ubObject source = e.getSource();if(source = Ok)if(editer.getText().equals() JOptionPane.showMessageDialog(null,請輸入你要添力口的內(nèi)容!); elseLinkData ld_connection = new LinkData();String insert_sql = insert into mymemo values。 +date+,+(number+1)+,+editer.getTextO+);try ld_connection.modifyMessage(insert_sql);

59、 catch (SQLException e1) e1.printStackTrace();JOptionPane.showMessageDialog(null,備忘錄已添加成功!);ld_connection.close(); dispose();else if(source = Cancle)int n;if(editer.getText().equals()n = JOptionPane.showCon巾rmDialog(null,你還未輸入任何信息,確定 取消添加?,詢問,JOptionPane.YES_NO_OPTION);if(n = JOptionPane.YES_OPTION)

60、dispose。;/退出添加界面elsen = JOptionPane.showConfirmDialog(null,確定取消添加這條內(nèi)容? 詢問,JOptionPane.YES_NO_OPTION);if(n = JOptionPane.YES_OPTION) dispose。;/退出添加界面else if(source = Clear)editer.setText(null); 清空文本區(qū)else/ChangeTest.javaimport java.awt.*;import java.awt.event.*;import java.awt.image.BufferedImage;impo

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論