Presentation On Notepad
Presentation On Notepad
-8ITW-033
This
project is about designing a simple notepad using the common features provided by java.
we can use various operation like cut copy , paste etc.
Here
This
Notepad is a basic text editor for Microsoft Windows. It has been included in all versions of Microsoft Windows since Windows 1.0 in 1985. It can use to create simple documents. The most common use for Notepad is to view or edit text (.txt) files, but many users find Notepad a simple tool for creating Web pages. Because Notepad supports only very basic formatting, you cannot accidentally save special formatting in documents that need to remain pure text. This is especially useful when creating HTML documents for a Web page because special characters or other formatting may not appear in your published Web page or may even cause errors
text) editor. The resulting filestypically saved with the .txt extensionhave no format tags or styles, making the program suitable for editing system files that are to be used in a DOS environment. Easy to use implementation of Shortcut Keys for Basic Editing Functions.
on any Operating System which has JVM installed. One can not use Windows notepad in other Operating System. So for Simplify the use of Notepad of Windows in Other Operating System with ease, The Notepad is Developed in Java. The main objective of this project is to edit or update the text as you want. It acts like as windows notepad so having all of the function of it. Thus it makes a very important role in the Text Editing.
The Notepad application is a menu driven application that performs text editing operations: -File -Edit -Format - View -Help File operations include: -New file -Opening existing files -Saving the files -Saving the existing file with another name -Exiting the application Edit Operations Include: -Undo -Cut -Copy -Paste -Find -Find Next -Delete -Select all -Time/Date
MAIN FUNCTION
Computer with any Operating System. Java Installed Platform. Basic Memory. Language: English
The main menu bar of the Notepad application consists of five pull down menus:
NOTEPAD APPLICATION
File Menu
Edit Menu
Format Menu
View Menu
Help Menu
Pro2 class
UndoAction Class
UndoManager Class
UndoListener class
fontDialog Box
FILE MENU
New Option
Open Option
Save Option
Save As option
Exit Option
EDIT MENU
Date/ Time Option Select All Option
Undo Option
Cut Option
Delete option
Paste option
FORMAT MENU
Font Option
VIEW MENU
HELP MENU
Importing the inbuilt Java libraries. Declaring the variables. Designing the Notepad interface. Adding listeners for tracking various events of the Notepad. Handling of text editing events.
C:\pro2>javac pro2.java Note: pro2.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Niah>cd\ C:\>cd pro2 C:\pro2>javac pro2.java Note: pro2.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. C:\pro2>java pro2
Text Selection:
Text Selection
Text Selection