www.ypnh.net > jAvA记事本源代码

jAvA记事本源代码

自己写的,有问题可以hi:import java.awt.BorderLayout;import java.awt.FileDialog;import java.awt.Font;import java.awt.datatransfer.Clipboard;import java.awt.datatransfer.DataFlavor;import java.awt.datatransfer.StringSelection;import java.awt.

public class NotePad extends JFrame implements ActionListener, ItemListener { boolean haveCreated = false; File file = null; String strtext = ""; int findIndex = 0; String findStr; JMenuBar menubar = new JMenuBar(); JMenu meFile = new JMenu

import java.awt.event.ActionListener;import java.util.EventListener;import java.awt.event.*;import java.awt.*;import java.io.*;import java.lang.*;import java.awt.datatransfer.*;import javax.swing.*;public class MiniEdit extends JFrame implements

/* * WriteBoard.java * * Created on 2006年12月19日, 下午7:26 */ /** * * @author LecH.giF */ import java.awt.datatransfer.*; import java.awt.event.*; import java.awt.*; import java.io.*; import java.awt.FileDialog; public class WriteBoard extends java.

import java.awt.*; import java.awt.event.*; import java.io.*; public class Note extends Frame implements ActionListener{ private Menu filemenu = new Menu("文件"); private Menu editmenu = new Menu("编辑"); private Menu

以下代码是一个完整的实现,你只要复制过去就可以了~~ import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import javax.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.

77030361 验证“百度知道” 我给你

给你程序基本功能实现了: import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.io.File; public class Test extends JFrame implements ActionListener { /** * */ private static final long serialVersionUID = 1L; JMenu fileMenu,

// 设置「编辑」菜单 JMenu editMenu = new JMenu("编辑"); menuCut = new JMenuItem("剪切"); menuCut.setAccelerator( KeyStroke.getKeyStroke(KeyEvent.VK_X, InputEvent.CTRL_MASK)); menuCopy = new JMenuItem("复

import java.awt.BorderLayout; import java.awt.Color; import java.awt.FlowLayout; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.event.ActionEvent; import

网站地图

All rights reserved Powered by www.ypnh.net

copyright ©right 2010-2021。
www.ypnh.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com