文件名称:类qq聊天工具
文件大小:233KB
文件格式:DOC
更新时间:2018-12-02 04:47:36
WEB
1. import java.awt.BorderLayout; 2. import java.awt.Component; 3. import java.awt.Dialog; 4. import java.awt.Dimension; 5. import java.awt.FlowLayout; 6. import java.awt.GridBagConstraints; 7. import java.awt.GridBagLayout; 8. import java.awt.GridLayout; 9. import java.awt.Image; 10. import java.awt.Insets; 11. import java.awt.MenuItem; 12. import java.awt.PopupMenu; 13. import java.awt.Rectangle; 14. import java.awt.SystemTray; 15. import java.awt.Toolkit; 16. import java.awt.TrayIcon; 17. import java.awt.TrayIcon.MessageType; 18. import java.awt.event.ActionEvent; 19. import java.awt.event.ActionListener; 20. import java.awt.event.ComponentAdapter; 21. import java.awt.event.ComponentEvent; 22. import java.awt.event.MouseAdapter; 23. import java.awt.event.MouseEvent; 24. import java.awt.event.WindowAdapter; 25. import java.awt.event.WindowEvent; 26. import java.io.File; 27. import java.io.FileInputStream; 28. import java.io.FileNotFoundException; 29. import java.io.FileOutputStream; 30. import java.io.IOException; 31. import java.net.DatagramPacket; 32. import java.net.DatagramSocket; 33. import java.net.InetAddress; 34. import java.net.SocketException; 35. import java.net.UnknownHostException; 36. import java.util.Date; 37. import java.util.Scanner; 38. import java.util.Stack; 39. import java.util.prefs.Preferences; 40. 41. import javax.swing.BoxLayout; 42. import javax.swing.ImageIcon; 43. import javax.swing.JButton; 44. import javax.swing.JDialog;