Anda di halaman 1dari 20

CHAPTER ONE

INTRODUCTION

1.1 BACKGROUND TO THE STUDY

Notepad is designed for users to create text that is not formatted and is very basic word
processor program you can almost describe as very basic version of Microsoft word, one
of the main advantages of Notepad is that it requires no training and you can start HTML
straight away. It comes free with every version of Windows which means you do not have
to go through the hassle of downloading the program. The program doesn’t take up much
space on your laptop/desktop PC and because it’s low specification software it means that
it doesn’t take a long time to load. (Wikipedia, 2017).

Notepad is a simple text editor for Microsoft Windows and a basic text-editing program
which enables computer users to create documents. It was first released as a mouse-based
DOS program in 1983, and has been included in all versions of Microsoft Windows since
Windows 1.0 in 1985. (Info-word, 2017).

Notepad was introduced in Windows 95, replacing Microsoft Write, which came with all
previous versions of Windows (version 3.11 and earlier). The source code to NotePad was
also distributed by Microsoft as a Microsoft Foundation Classes sample application with
MFC 3.2 and later, shortly before the release of Windows 95. It is still available for
download from the MSDN website.

The default font used in Windows 95 to Windows Vista was Arial 10; in Windows 7 it was
changed to Calibri 11. A similar word processor, also called NotePad, is supplied by some
vendors on a Windows CE pre-installation. It has simple functionality like its desktop OS
cousin. The icon resembles an early Microsoft Word icon.

Microsoft Corporation (/ˈmaɪkrəˌsɒft/, (Wells John, 2008) abbreviated as MS) is an


American multinational technology company with headquarters in Redmond, Washington.
It develops, manufactures, licenses, supports and sells computer software, consumer
electronics, personal computers, and services. Its best known software products are the
Microsoft Windows line of operating systems, the Microsoft Office suite, and the Internet
Explorer and Edge web browsers. Its flagship hardware products are the Xbox video game
consoles and the Microsoft Surface tablet lineup. As of 2016, it is the world's largest
software maker by revenue, (Jones, Daniel et al., 2003) and one of the world's most
valuable companies. The word "Microsoft" is a portmanteau of "microcomputer" and
"software".

Microsoft was founded by Paul Allen and Bill Gates on April 4, 1975, to develop and sell
BASIC interpreters for the Altair 8800. It rose to dominate the personal computer operating
system market with MS-DOS in the mid-1980s, followed by Microsoft Windows. The
company's 1986 initial public offering (IPO), and subsequent rise in its share price, created
three billionaires and an estimated 12,000 millionaires among Microsoft employees. Since
the 1990s, it has increasingly diversified from the operating system market and has made
a number of corporate acquisitions—their largest being the acquisition of LinkedIn for
$26.2 billion in December 2016, (Wareen, Tom et al., 2016) followed by Skype
Technologies for $8.5 billion in May 2011.

As of 2015, Microsoft is market-dominant in the IBM PC-compatible operating system


market and the office software suite market, although it has lost the majority of the overall
operating system market to Android. (Kiezer, Gregg et al., 2014) The company also
produces a wide range of other consumer and enterprise software for desktops and servers,
including Internet search (with Bing), the digital services market (through MSN), mixed
reality (HoloLens), cloud computing (Azure) and software development (Visual Studio).

1.2 STATEMENT OF PROBLEM


The main disadvantage of Notepad is that: -

 It is very simple software and its primary function is not for HTML, because it is
not its primary function it does not read the language and have intelligent answer’s
to help out the programmer with features such as auto fill.
 It also doesn’t have default templates to make your web design quicker.
 You also have to preview in a web browser which means you must save it as a
HTML file.

1.3 AIMS AND OBJECTIVES

The main aim of this project is to designed a notepad that will be able to automate the
existing notepad application for public uses.

Some of the objectives are listed below:

 To create a notepad that is very basic word processor program.


 To create a notepad that can run on any platform.
 To create a notepad that can edit, delete, save and print text.
 To create a notepad that is very similar to the windows notepad.
 To create more suitable platform for the notepad and should requires no training and
to start HTML straight away.
 To create an application that does not take up much space on your laptop/desktop
PC and because it’s low specification software it means that it doesn’t take a long
time to load. i.e. it should not be time consuming.
 To design an error prone notepad in computation of word and text wrapping.

1.4 MOTIVATIONS
Notepad for windows will solve the problem faced by the existing notepad such as:

1. Inadequate line spacing for typing


2. Inability to redo some mistake while typing
3. No ability for change case (i.e. upper or lower case)
4. No background colour

1.5 SCOPE OF THE STUDY

This project is a notepad application for windows.

This solution will help the student by providing the following.

1. Provide a more platform for the student with easy handling of notepad while using
HTML.
2. To comes free with every version which means you do not have to go through the
hassle of downloading the program.
3. It is written in java language so it can run on any platform.
4. It is portable and easy to use

1.6 DEFINITION OF TERMS

Notepad: -

“?}is a simple text editor for Microsoft Windows and a basic text-editing program which
ena n bles computer users to create documents.

Note: - a diplomatic missive or written communication or a piece of paper money; bank


note

Notebook: - a book in which notes or memoranda are written.

Windows: - a rectangular area on a computer terminal or screen containing some kind of


user interface, displaying the output of an allowing input for one of a number of
simultaneously running computer processes.
CHAPTER TWO

LITERATURE REVIEW

2.1 BACKGROUND HISTORY TO NOTEPAD AND RELATED WORKS

Microsoft introduced Multi-Tool Notepad, a mouse-based text editor written by


Richard Brodie, with the $195 Microsoft Mouse in May 1983 at the Spring COMDEX
computer expo in Atlanta. Also introduced at that COMDEX was Multi-Tool Word,
designed by Charles Simonyi to work with the mouse. Most watching Simonyi's
demonstration had never heard of a mouse. (Wallace, James; Erickson, Jim, 1992).

Microsoft released the Microsoft Mouse in June 1983, and the boxed mouse and
Multi-Tool Notepad began shipping in July. Initial sales were modest, as there was little
one could do with it except run the three demonstration programs included in the box (a
tutorial, practice application and Notepad) or program interfaces to it. The Multi-Tool
product line began with expert systems for the Multiplan spreadsheet. On the suggestion
of Rowland Hanson, who also convinced Bill Gates to change the name "Interface
Manager" to "Windows" before the release of Windows 1.0, the Multi-Tool name was
killed by the time Word shipped in November 1983. Hanson's rationale was that "the brand
is the hero". People didn't associate the stand-alone name Multi-Tool with Microsoft, and
Hanson wanted to make Microsoft the hero, so the Microsoft name replaced "Multi-Tool".
(Manes, Stephen; et al., 1993).

2.2 FEATURES OF NOTEPAD

Notepad is a common text-only (plain text) editor. The resulting files typically saved with
the .txt extension have no format tags or styles, making the program suitable for editing
system files to use in a DOS environment and, occasionally, source code for later
compilation or execution, usually through a command prompt. It is also useful for its
negligible use of system resources; making for quick load time and processing time,
especially on under-powered hardware. Notepad supports both left-to-right and right-to-
left based languages. Unlike WordPad, Notepad does not treat newlines in Unix- or classic
Mac OS-style text files correctly. Notepad offers only the most basic text manipulation
functions, such as finding text. Only newer versions of Windows include an updated
version of Notepad with a search and replace function. However, it has much less
functionality in comparison to full-scale editors. (Petri Daniel et al, 2015).

In all versions of Windows, Notepad uses a built-in window class named EDIT and the
maximum file size that Notepad can open is dependent on operating system limitations on
the size of the EDIT window class, with the limit being different for each version of
Windows. Due to the operating system limit of the EDIT window class, the Notepad
version shipped with Windows 3.0, Windows 3.1 and Windows 3.11 could not open files
larger than 54 KB (kilobytes) and Microsoft recommended not to open files larger than 45
KB, with the official workaround advice provided by Microsoft being "Use another text
editor", but this limit was extended to 64 KB in Windows 95 (and remained the same in
Windows 98 and Windows Me). On the Notepad version shipped with Windows XP the
limit was 32 MB (megabytes) with the application displaying the message "The file is too
large for Notepad. Use another editor to edit the file" if the user attempted to open a file
larger than 32 MB. Newer versions of Notepad can open files at least up to 58 MB
(megabytes) in size, and on Windows 8.1 the Notepad application is able to open files at
least as large as 512 MB (megabytes) but fails to open 1 GB (gigabyte) files displaying the
same message that Windows XP users would see ("The file is too large for Notepad. Use
another editor to edit the file"). However, on all 32-bit versions of Windows, there is a 2
GB (gigabytes) limit imposed on the maximum memory of all single-process 32-bit
programs and thus on 32-bit machines no single-process text editor such as Notepad can
open files larger than 2 gigabytes. (Petri Daniel et al, 2015).

Up to Windows 95, Fixedly was the only available display font for Notepad. Windows NT
4.0 and 98 introduced the ability to change this font. As of Windows 2000, the default font
was changed to Lucida Console. The font setting, however, only affects how the text is
shown to the user and how it is printed, not how the file is saved to disk. The default font
was changed to Consolas on Windows 8.

Up to Windows Me, there were almost no keyboard shortcuts and no line-counting feature.
Starting with Windows 2000, shortcuts for common tasks like new, open and save were
added, as well as a status-bar with a line counter (available only when word-wrap is
disabled).

In the Windows NT-based versions of Windows, Notepad can edit traditional 8-bit text
files as well as Unicode text files (both UTF-8 and UTF-16, and in case of UTF-16, both
little-endian and big-endian).

Notepad also has a simple built-in logging function. Each time a file that starts with .LOG
is opened, the program inserts a text timestamp on the last line of the file.

Notepad accepts text from the Windows clipboard. When clipboard data with multiple
formats is pasted into Notepad, the program only accepts text in the CF_TEXT format.
This is useful for stripping embedded font type and style codes from formatted text, such
as when copying text from a web page and pasting into an email message or other
WYSIWYG text editor. Formatted text can be temporarily pasted into Notepad, and then
immediately copied again in stripped format to paste into the other program.

Notepad can print files, but doesn't print correctly if Word Wrap is turned on. Headers,
footers, and margins can be set and adjusted when preparing to print a file under Page
Setup. The date, file name, and other information can be placed in the headers and footers
with various codes consisting of an ampersand ('&') followed by a letter. (Chen Raymond,
2007).
2.3 UNICODE DETECTIONS

The Windows NT version of Notepad, installed by default on Windows 2000 and Windows
XP, has the ability to detect Unicode files even when they are missing a byte order mark.
To do this, it utilizes a Windows API function called IsTextUnicode(). (Chen Raymond,
2017). However, this function is imperfect, incorrectly identifying some all-lowercase
ASCII text as UTF-16. As a result, Notepad interprets a file containing a phrase like "aaaa
aaa aaa aaaaa" ("4-3-3-5") as two-byte-encoded Unicode text file and attempts to display

it as such. If a font with support for Chinese is installed, nine Chinese characters (桴獩愠

灰挠湡戠敲歡) display. Otherwise, it displays squares instead of Chinese characters.

Some people misinterpreted this issue for an Easter egg. Many phrases that fit the pattern
(including "this app can break" and "bush hid the facts") appeared on the web as hoaxes.
Windows expert Raymond Chen correctly attributed it to the Unicode detection algorithm.
This issue was resolved in Windows Vista and newer versions of Notepad.

2.4 DRAWBACKS OF EXISTING NOTEPAD APPLICATION

 Since Notepad lacks advanced formatting functionality, many people find its
simple, minimalistic user interface (whose look has never changed since Windows
3.1 and whose menus were last altered in Windows XP, when "Format" and "View"
replaced "Search") faster and easier to use for basic text operations.
 The MS-DOS Editor, especially as updated in Windows 95, where it became an
MDI application, also provides many features never offered by Notepad.
 There are many third-party replacements for Notepad with additional functionality,
including both free software (e.g. Notepad++ and Notepad2) and freeware (e.g.
TED Notepad).
 Notepad lacks many features available in other text editors, basic features such as
Unix-format newlines, block-select, and MDI, and it lacks full support for line
wrapping.
 Notepad being a basic text editor, advanced features are also missing: syntax
coloring, code folding, regular expressions, macros, support of codepages and color
schemes.

2.5 ADVANTAGES OF THE PROPOSED NOTEPAD APPLICATION

 Notepad does not require a lock on the file it opens, so it can open files already
opened by other processes, users, or computers, whereas WordPad cannot.
 The proposed system will automate all the flaws of the existing notepad including
adding the features in other competing software such as MS DOS Editor.
 The application doesn’t take up much space on your laptop/desktop PC and because
it’s low specification software it means that it doesn’t take a long time to load. i.e.
it should not be time consuming.
 Error prone in computation of word and text wrapping.
 Ability to change the page color just like the likes of Microsoft word.
 Ability to open more than one Notepad at a time.
 It can open files larger than 1gb.
 It has more font than the existing windows Notepad
CHAPTER THREE

RESEARCH AND DESIGN METHODOLOGY

3.1 RESEARCH METHODOLOGY

In the course of developing this project, we engaged in a consultative research mode so as


to gather enough requirements and data items to be used. We focused in using a direct
interview and participating discussion among one another for effective project justification,
and also, we downloaded sampled projects over the internet at www.seminar+projects.com

3.1.1 ONLINE CONSULTATION: Since its very complex to determine the outlook without
seeing a sampled related design, I consult the internet to extract and download sampled project so
as to support the design process and also gather historical source of some progressive notepad for
every window.

3.2 DESIGN METHODOLOGY

While executing the design process, some tools are preferentially chosen for the system
development with reasons to justify why these tools are selected. An Object Oriented
Programming Language called Java was used alongside with its development kit JDK.
The program will save and open files as well as have close and new functions and the java
swing i.e. (core java) to the interface will make it more user friendly than the existing
notepad. Main and Grid. In the Main class we will have our JFrame (which is the window
of the application). The JFrame will lead to our Grid class which will contain the Notepad
code.

3.2.1 JAVA

Java is a general-purpose computer programming language that is concurrent, class-based,


object-oriented, (gosling et al., 2014) and specifically designed to have as few
implementation dependencies as possible. It is intended to let application developers "write
once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms
that support Java without the need for recompilation. Java applications are typically
compiled to bytecode that can run on any Java virtual machine (JVM) regardless of
computer architecture. As of 2016, Java is one of the most popular programming languages
in use, (McMillian et al., 2013) particularly for client-server web applications, with a
reported 9 million developers.

3.2.2 JDK (JAVA DEVELOPMENT KIT)

The Java Development Kit (JDK) is an implementation of either one of the Java Platform,
Standard Edition, Java Platform, Enterprise Edition, or Java Platform, Micro Edition
platforms released by Oracle Corporation in the form of a binary product aimed at Java
developers on Solaris, Linux, macOS or Windows. The JDK includes a private JVM and a
few other resources to finish the development of a Java Application. Since the introduction
of the Java platform, it has been by far the most widely used Software Development Kit
(SDK).

3.2.3 Jframe

The class JFrame is an extended version of java.awt.Frame that adds support for the JFC/Swing
component architecture.
Class Declaration
Following is the declaration for javax.swing.JFrame class −

public class JFrame


extends Frame
implements WindowConstants, Accessible, RootPaneContainer
Field
Following are the fields for java.awt.Component class −
 protected AccessibleContext accessibleContext −The accessible context property.
 static int EXIT_ON_CLOSE − The exit application default window close operation.
 protected JRootPane rootPane − The JRootPane instance that manages the contentPane and
optional menuBar for this frame, as well as the glassPane.
 protected boolean rootPaneCheckingEnabled − If true then calls to add and setLayout will
be forwarded to the contentPane.
3.3 SYSTEM ARCHITECTURE

This architecture describes all the process taken in developing this Notepad for windows
the system is divided into two main part and the parts are; the main and the grid phase. The
main phase shows how the file in a notepad are created and how to save, delete, and open
file in notepad. In the grid phase the Jframe, jpanel and jtext area will accept input from
user and monitor the process of saving files in the system memory.

User Interface

Main

Create File Open, and Save

Creation of Notepad

Grid
System
Core Java
Memory
Saved File
Jframe

Jpanel and
JtextArea
Notepad Created

Fig 1: SYSTEM ARCHITETCURE


3.4 SYSTEM FLOWCHART

Start

Click on
Notepad

File Edit Format Help

About
New

Fig 2: NOTEPAD FLOWCHART


CHAPTER FOUR

4.0 IMPLEMENTATION AND RESULT

4.1 SYSTEM REQUIREMENTS


The system compatibility requirement for executing this software is considered on
two requirement specifications.
4.1.1 Hardware Requirement Specifications

The following are the hardware specifications for the designed application:

 787MHz or Higher Intel Premium Processor.


 512Mb Memory (RAM) or Higher.
 VGA 800 x 600, 256 color.
 Uninterrupted Power Supply
 Hard Disk Storage of 20GB Minimum.

4.1.2 Software Requirement Specifications


 Windows XP, Vista or higher version 32bit.
 Apache Tomcat (2.0 and above version).
 Reliable and licensed Antivirus software like Avast.
 Mysql database Server (Xampp or Wamp).
 Mysql ODBC Connector (3.5 and above version).

4.2 TESTING
After implementation and sometimes during design, the application must be subjected to
testing varieties which are:

i. Alpha Test: This means self or in-house test of designed application for any
syntactic bugs or exceptions. It is done by the programmers during the design
completion.
ii. Delivery Test: This application will be released to the store used as a case
study for testing to see the suitability of usage.
iii. Audit Test: This test is likewise to be chosen in preference to beta test
depending on the department’s choice concordance with the programmer. It
is achieved while the program designer establishes a scheduled training to
the department of study.

4.3 INTERFACE SCREENSHOT

Fig 1: view of the notepad


Fig 2: THIS IS THE FILE MENU WITH THE NEW, OPEN, SAVE, PRINT , SAVE AS AND EXIT
OPTIONS
Fig 3: THIS SCREENSHOT SHOWS THE LOWER AND UPPER-CASE OPTION
THAT WAS ADDED TO THE NOTEPAD EDIT MENU
Fig 4: THE NEW NOTEPAD FORMAT MENU IT INCLUDES:- BACKGROUND COLOR AND
FONT COLOR

Fig 5: THE WINDOWS NOTEPAD ONLY AS WORDWRAP AND FONT IN IT FORMAT MENU
CHAPTER FIVE

SUMMARY, RECOMMENDATION, AND CONCLUSION

5.0 SUMMARY

This Project focuses on Automated Notepad for Windows. It involves designing a look
alike but automated notepad application that can been executed on windows and any other
operating system. The application consists of more features, more than the existing notepad
applications in use. The programming language used to design this application is JAVA.

5.1 CONCLUSION

The project have been successfully implemented and tested and meets the objectives and
aims specified in chapter one. The result of this project has revealed that Automated
Notepad can produce essential work rate and more line space for typing, background
colour, additional font style, word rapping etc., it will also be able to run on any platform.

5.2 RECOMMENDATION

Notepad for Windows is no doubt an efficient system for automating the existing Notepad
application. In this age of technology, such application is needed to keep the efficiency of
Notepad and to interest user in using notepad.
REFERENCE
Chen, Raymond (2007). "The Notepad file encoding problem, redux

Gosling, James; McGilton, Henry (1996). "The Java Language Environment

Jones, Daniel (2003) [1917]. Peter Roach, James Hartmann and Jane Setter, eds. English
Pronouncing Dictionary

Keizer, Gregg (2014). "Microsoft gets real, admits its device share is just 14%".
Computerworld. IDG.

Manes, Stephen; et al. (Paul Andrews) (1993). Gates. Doubleday.

Wallace, James; Erickson, Jim (1992). Hard Drive. Wiley. pp. 238–244

Wells, John C. (2008). Longman Pronunciation Dictionary (3rd ed.). Longman.


ISBN 978-1-4058-8118-0.

Petri, Daniel (2015). "Tip for Opening Large Text Files in Windows"

Anda mungkin juga menyukai