Professional Documents
Culture Documents
INTRODUCTION
INTRODUCTION
There are number of Integrated Development Environments for Java available in the
market, there may be a question of why such a system is being developed. All Existing
Systems are platform specific.
A Definite need for a System that overcomes the limitations of the existing system has
been justified. The main motive of developing this system is to provide Java Developer
with a conductive environment to develop Java programs.
To provide an interactive environment for editing, compiling and executing Java
programs. To reduce the time the web users, take to switch over to editors.
The proposed system is a Complete Java Development Environment with many
additional features.
It includes an Integrated Development Environment for Java with the options of a regular
editor to create new files, open existing files, save files, cut, copy, paste, undo, find, find
next and replace.
It includes options to Compile and Execute Java Programs and also invoke Applet
Viewer. The file that is open in the IDE at that moment is compiled or interpreted or
executed using applet viewer. It is necessary to note that only files with .java extension
can be compiled, only files with .class extension can be interpreted.
The following are the menus in AASAN-
File
Edit
Search
Format
Run
Window
Help
1
Page no.
JAVA EDITOR: AASAN
Problem Definition:
This application “JAVA EDITOR “is developed using JAVA. It is basically an editor with some
additional options. This editor is designed in such a way to fulfill the complete needs of the java
Integrated Development Environment or java development using SUN JDK under windows98
and above, Compilation and execution can be done in command prompt only. This application
helps to do compilation and execution in editor itself. So that user can identify the warning(s)
and error(s) in the editor itself.
This editor reduces the user time. It is easy to compile and run the programs. This editor is more
flexible and user friendly.
This application is developed in java language using the following concepts AWT, FRAME. The
main motive of developing this system is to provide Java Developer with a conductive
environment to develop Java programs.
To provide an interactive environment for editing, compiling and executing Java programs. To
reduce the time the web users, take to switch over to browsers, editors and search engines.
2
Page no.
JAVA EDITOR: AASAN
The main purpose of the proposed system is to create a user-friendly environment for
writing and executing any core java program within an editor itself.
It is helpful to compile and run the java program in the same window.
This editor has two text area. One is used for code development and the other for
debugging.
It provides the options of regular editor to create new files, open existing files, save files,
cut, copy, paste, undo, find and find next.
3
Page no.
JAVA EDITOR: AASAN
LITERATURE REVIEW
2.1 Overview
Symantec’s Cafe is purely Windows based. Microsoft’s VJ++ is also Windows based and
acts more like a plug–in–play for its MSDEV Wrapper and offers almost identical
experience as its other C++ products. Java Workshop is also platform specific and works
only under Windows 95/NT or Solaris platform. These systems have been developed
using software that is not platform independent.
1. The compilation and execution of java programs can be done in command prompt
only.
2. Time consuming.
The Run command is included in this version of Windows, even though it doesn't appear
on the Start screen by default. You can even add it to the Start screen if you want to open
more quickly.
JDK:
A Java Development Kit (JDK) is a collection of tools which are used for developing,
designing, debugging, executing and running java programs. JAVA is a machine
independent and operating system independent language. A program written in JAVA can
be run on any machine or on any platform provided by the interpreter of that particular
platform [1].
AWT stands for Abstract Windowing Toolkit. It has all libraries required for GUI
programming Java AWT is a package that embeds all GUI classes that can be used for
programming. For any GUI program this package is first imported. Some of the tools that
are available in this package are included.
Button
4
Page no.
JAVA EDITOR: AASAN
Scroll Bars
List Boxes
Choice Boxes
Windows
SWING:
Swing is a set of classes that provides more powerful and flexible components than are
possible with the AWT. In addition to familiar components, such as Buttons, Check
boxes, and Labels. Swing supplies several additions, including Tabbed panes, Scroll
panes, Trees and Tables. Even familiar components such as buttons have more
capabilities in Swing. For example, a button may have both an image and a text string
associated with it. Also, the image can be changed as the state of the Button changes.
Swing components are platform independent, so the term lightweight is used. The Swing-
related classes are contained in javax.swing and its subpackages, such as
javax.swing.tree.
Software Engineering: -
5
Page no.
JAVA EDITOR: AASAN
4. How will the entity be constructed?
6. How will the entity be supported over the long term? What is SDLC?
The Systems Development Life Cycle (SDLC), or Software Development Life Cycle in
systems engineering and software engineering, is the process of creating or altering
systems, and the models and methodologies that people use to develop these systems. The
concept generally refers to computers or information systems.
In software engineering the SDLC concept underpins many kinds of software development
methodologies. These methodologies form the framework for planning and controlling the
creation of an information system software development process.
Planning: - The objective of software project planning is to provide a framework that enables
the management to make reasonable estimates of resources, cost, and schedule. These estimates
are made within a limited time frame at the beginning of a software project and should be
updated regularly as the project progresses. In addition, estimates should attempt to define best
case and worst-case scenarios so that project outcomes can be bounded.
Software Scope: The first activity in software project planning is the determination of software
scope. Software scope describes the data and control to be processed, function, performance,
constraints, interfaces, and reliability. The project has a very vast scope in the future.
Feasibility: A feasibility study looks at the viability of an idea with an emphasis on identifying
potential problems and attempts to answer one main question: Will the idea work and should you
proceed with it? Before you begin writing your business plan you need to identify how, where,
and to whom you intend to sell a service or product. You also need to assess your competition
and figure out how much money you need to start your business and keep it running until it is
established. Not everything imaginable is feasible, not even in software.
The information you gather and present in your feasibility study will help you:
• List in detail all the things you need to make the business work.
• Develop marketing strategies to convince a bank or investor that your Business is worth
considering as an investment and
• Description of the Business: The product or services to be offered and how they will be
delivered.
• Technical Feasibility: Details of how you will deliver a product or service (i.e.,
materials, labor, transportation, where your business will be located, technology needed,
etc.).
• Financial Feasibility: Projects to show how much start-up capital is needed, sources of
capital, returns on investment, etc.
• Organizational Feasibility: Defines the legal and corporate structure of the business
(may also include professional background information about the founders and what
skills they can contribute to the business).
Development: -
The development phase involves converting design specifications into executable programs.
Effective development standards include requirements that programmers and other project
participants discuss design specifications before programming begins. Programmers use various
techniques to develop computer programs. The large transaction-oriented programs associated
with financial institutions have traditionally been developed using procedural programming
techniques.
7
Page no.
JAVA EDITOR: AASAN
Procedural programming involves the line-by-line scripting of logical instructions that
are combined to form a program. Primary procedural programming activities include the
creation and testing of source code and the refinement and finalization of test plans.
Typically, individual programmers write and review (desk test) program modules or
components, which are small routines that perform a particular task within an application.
Completed components are integrated with other components and reviewed, often by a
group of programmers, to ensure the components properly interact. The process continues
as component groups are progressively integrated and as interfaces between component
groups and other systems are tested.
Development Standards:
Software Documentation:
Maintenance: -
File
Edit
Search
Format
Run
Window
Help
9
Page no.
JAVA EDITOR: AASAN
File Menu: -
The file menu deals with file handling, and it consists of the following menu items.
New: -
To open a new file. When this menu item is clicked a new file with the name “untitled” is
opened.
Open: -
To open the existing files. When this menu item is clicked the open dialog box is
displayed which provides facility of choosing any file and when a file is selected its
content gets displayed in the Text area.
Save: -
To save the current file. If one wants to save the untitled file, the save dialog box gets
displayed. If the file is an existing file, then the Dialog box does not appear. The contents
of the file are just updated.
Save As: -
To save the existing file with a new name. When the save as menu item is clicked a save
as dialog box is opened and we can save the file with the new name.
Close: -
Quit: -
To exit from the application. When this menu item is clicked the exit operation takes
place.
Edit Menu: -
The Edit menu deals with editing operations, and it consists of the following menu items.
Undo: -
Clear: -
Copied the selected text to the buffer and deleted it from the existing area.
Copy: -
Paste: -
To paste the copied text or the text that was cut wherever needed.
Select all: -
To select all the text in the text area for editing operations.
Search Menu: -
This menu item is used to handle the search operations.
Find: -
To search for a particular word throughout the file. When the user clicks this option, the
Find Dialog box is displayed on the screen. The user gives the text to be found in the text
field and enters o.k. If the word is present in the file, it is highlighted or else a message
box gets displayed with the message “Not Found”. The find Dialog also provides the
options match case, whole words by means of checkbox.
Find Next: -
Find Next search for the next location of the word previously searched using the find
option.
Format: -
The Format menu provides customized settings to the user. It has two sub menus-
Font
Color
Font Selection: -
11
Page no.
JAVA EDITOR: AASAN
When the user wants to set any font of his choice, he selects this option. It provides him
with the option for setting font, font style and size for the text. It also has a preview
facility.
Color: -
By clicking the color menu, the user can select any color of his choices from the color
palette. The color palette provides the color using the primary colors. This dialog box
supports both background as well as foreground colors using Radio buttons. Users can
select one or them.
12
Page no.
JAVA EDITOR: AASAN
Run Menu: -
Compile: -
Compiles the file that is currently opened in the text area and displays the errors in the
error text area. If there are no errors, then the message “. Good! There is no error in your
Program" is displayed.
Application: -
When the user selects the Application option then the editor searches for the class file of
the current file to run. If the class file is available, then the file is run successfully, and
output is obtained, and else failure is reported.
Applet: -
Invokes the applet viewer with the file that is currently open. This option is used to run
the Applet programs and Swing programs.
Ms-Access: -
Window Menu: -
Output window: -
Full Screen: -
This option is used to disable the output window and display the textarea with the entire
screen.
Help: -
This module supports high profile quick help. This helps explain all the details about
Aasan to facilitate the user. When the user faces any problem, the help menu provides
contact details [4].
13
Page no.
JAVA EDITOR: AASAN
14
Page no.
JAVA EDITOR: AASAN
15
Page no.
JAVA EDITOR: AASAN
16
Page no.
JAVA EDITOR: AASAN
Interactive
User friendly
Flexible
Easy to understand
17
Page no.
JAVA EDITOR: AASAN
Easy to access
Students
Java programmers
Library (Ms-Access)
4. SYSTEM IMPLEMENTATION
After having the user acceptance of the new system developed, the implementation phase begins.
Implementation is the stage of a project during which theory is turned into practice.
During this phase, all the programs of the system are loaded onto the user's computer. After
loading the system, training of the users starts.
18
Page no.
JAVA EDITOR: AASAN
PC (PERSONAL COMPUTER) including all peripherals & components.
For developing java editor, we require java development toolkit. For running this editor, we need
windows OS. We also require a computer with better speed. At least dual core processor with 2
GB RAM and Minimum 160 GB Hard drive [5].
TESTING STRATEGY:
A strategy for system testing integrates system test cases and design techniques into a well-
planned series of steps that results in the successful construction of software. The testing strategy
must co-operate with test planning, test case design, test execution, and the resultant data
collection and evaluation. A strategy for software testing must accommodate low-level tests that
are necessary to verify that a small source code segment has been correctly implemented as
well as high level tests that validate major system functions against user requirements.
Software testing is a critical element of software quality assurance and represents the
ultimate review of specification design and coding. Testing represents an interesting anomaly for
the software. Thus, a series of testing is performed for the proposed system before the system is
ready for user acceptance testing.
Before implementing the new system into operation, a test run of the system is done removing all
the bugs, if any. It is an important phase of a successful system. After codifying the whole
program of the system, a test plan should be developed and run on a given set of test data. The
output of the test run should match the expected results [6].
Using the test data following test run are carried out:
System testing
Unit testing
19
Page no.
JAVA EDITOR: AASAN
SYSTEM TESTING:
Software once validated must be combined with other system elements (e.g.,
Hardware, people, database). System testing verifies that all the elements are proper, and that
overall system function performance is achieved. It also tests to find discrepancies between the
system and its original objective, current specifications and system documentation.
In such a case, the errors in the programs are identified and are fixed and further tested for the
expected output. When it is ensured that the system is running error-free, the users are called
with their own actual data so that the system can be shown running as per their requirements.
UNIT TESTING:
In unit testing different modules are tested against the specifications produced
during the design for the modules. Unit testing is essential for verification of the code produced
during the coding phase, and hence the goal is to test the internal logic of the modules. Using the
detailed design description as a guide, important Conrail paths are tested to uncover errors within
the boundary of the modules. This testing is carried out during the programming stage itself. In
this type of testing step, each module was found to be working satisfactorily as regards to the
expected output from the module.
20
Page no.
JAVA EDITOR: AASAN
5. CONCLUSION
In the previous system it was very difficult to perform operation of compiling and executing core
java program.
The proposed application is very flexible and more convenient for the users. This editor is very
easy to use and edit the text and easily set different colors and fonts.
This application supports more facilities like running and compiling the programs within it.
This application helps to do compilation and execution in editor itself. So that user can identify
the warning(s) and error(s) in the editor itself.
This editor reduces the user time. It is easy to compile and run the programs. This editor is more
flexible and user friendly.
As for future enhancement, it can be made to support more facilities like running the Http
Servlets programs and Java Beans within itself.
21
Page no.
JAVA EDITOR: AASAN
This application will be used in many sectors where we need to use java programming language
for writing and executing of core java program. As for future enhancement it can be made to
support more facilities as follows:
HTML programs
JSP programs
Oracle Connectivity
REFERENCES: -
[1]. Patrick Naughton and Schildt, “The Complete Reference-Java2”: Tata Mc.Graw-Hill
Edition.
[4]. http://www.javaeditor.org/index.html/Main_Page
[5]. https://netbeans.org/features
[6]. www.dreamtechpress.com
22
Page no.
JAVA EDITOR: AASAN
23
Page no.