搜索资源列表
WindowAdapter
- 文件分割器,用图形界面运行,比较简易 可以实行对文件的分割,也可以实行对已分割文件的合并-paper division for use graphical interface running relatively simple to implement document segmentation, also have a right has divided the merger documents
packagehuanrongdao
- package huanrongdao import javax.swing.* import java.awt.event.WindowEvent import java.awt.event.WindowAdapter -huanrongdao import javax.swing package. * import java.awt.event.WindowEvent import j ava.awt.even
WindowAdapter
- 文件分割器,用图形界面运行,比较简易 可以实行对文件的分割,也可以实行对已分割文件的合并-paper division for use graphical interface running relatively simple to implement document segmentation, also have a right has divided the merger documents
packagehuanrongdao
- package huanrongdao import javax.swing.* import java.awt.event.WindowEvent import java.awt.event.WindowAdapter -huanrongdao import javax.swing package.* import java.awt.event.WindowEvent import j ava.awt.event
time
- The following program uses the Daytime protocol to obtain the date and time from port 13 of user-specified host(s). It provides a text field for input of the host name by the user and a text area for output of the ho
EventDemo
- import java.awt.* import java.awt.event.* public class EventDemo{ public static void main(String[] args){ Myfr a me frm=new Myfr a me() frm.setVisible(true) // } } class Myfr a me extends
Demo7
- 设计一个窗口, 窗口中的元素如下: 菜单,其内容模仿记事本的菜单 三个文本框,一个按钮.在前两个文本框中输入两个整数, 点击按钮后把两数之和显示到第三个文本框中.-package cn import java.awt.* import java.awt.event.ActionEvent import java.awt.event.ActionListener import java.awt.
Demo8
- 写一个应用程序,要求编写一个Panel的子类MyPanel,MyPanel中有一个文本框和一个按钮,要求MyPanel的实例作为其按钮的ActionEvent事件的监视器,当单击按钮时,程序获取文本框中的文本,并将该文本作为按钮的名称。然后再编写一个fr a me的子类,即窗口。窗口的布局为BorderLayout布局。窗口中添加两个MyPanel面板,分别添加到窗口的东部区域和西部区域-MyPanel.Java package c
ChatRoom
- 实现了java环境下一对一的私人聊天功能-import java.io.* import java.awt.* import java.awt.event.* import javax.swing.* import java.net.* public class ChatClient implements ActionListener { private Panel panel pr
WindowAdapter
- 处理窗口事件时监听器类设置为WindowAdapter的子类例子源代码,仅供学习参考用。-When processing a window event listener class to subclass WindowAdapter example source code, only to learn reference.
BorderLayout
- package 边界布局BorderLayout import java.awt.BorderLayout import java.awt.event.WindowAdapter import java.awt.event.WindowEvent import javax.swing.JButton import javax.swing.Jfr a me public class T
JButton
- package 常用组件之JButton import java.awt.event.ActionEvent import java.awt.event.ActionListener import java.awt.event.WindowAdapter import java.awt.event.WindowEvent import javax.swing.JButton import
JCheckBox
- package 常用组件之JCheckBox import java.awt.event.ItemEvent import java.awt.event.ItemListener import java.awt.event.WindowAdapter import java.awt.event.WindowEvent import javax.swing.ButtonGroup impor
JComboBox
- package 常用组件之JComboBox import java.awt.event.ItemEvent import java.awt.event.ItemListener import java.awt.event.WindowAdapter import java.awt.event.WindowEvent import javax.swing.JComboBox import
StringandAWT
- package String与AWT的比较 import java.awt.event.WindowAdapter import java.awt.event.WindowEvent import javax.swing.Jfr a me import javax.swing.JLabel import javax.swing.JMenu import javax.swing.JMe