Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

GOVEREMENT POLYTECHNIC ,NANDURBAR

2022-2023

A PROJECT REPORTON

"IP ADDRESS USING SWING"

SUBMITTED IN PARTIAL FULLFILLMENT OF THE REQUIREMEVIS


FOR THE AWARD OF DIPLOMA IN DEPERMENT OF COMPUI'ER ENGINEERINGSUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION, MUMBAI

SUBMITTED
BY

Name of Student - Enrollment No -

1. KIRTAN SHIMPI 2014320088

2. GAYATRI PATIL 2014320126

3. LALIT BORSE 2014320099

4. YASH KASAR 2014320077

5. SONALI PATIL 2014320100

GUIDED BY:

PROF . MAGAN VASAVE


Department of Computer Engineering Government
Polytechnic, Nandurbar
2022-2023
GOVERNMENT POLYTECHNIC, NANDURBAR

CERTIFICATE

This is to certify that Following Students of Fifth semester of Diploma in


Computer Engineering of Institute Goverement Polytechnic Nandurbar have
completed the Micro Project satisfactorily in subject ADVANCE JAVA PROJECT (22517)
for the academic year 2019-2020 as prescribed in the curriculum.

1. KIRTAN SHIMPI

2. GAYATRI PATIL

3. LALIT BORSE

4. YASH KASAR

5. SONALI PATIL

PROF.MAGAN VASAVE PROF.S.THAKRE Dr. S.PABLE


Dept. Of Computer Engg. HOD Of Computer Engg. Principal
Government Polytechnic Government Polytechnic Government Polytechnic
Nandurbar Nandurbar Nandurbar
GOVERNMENT POLYTECHNIC, Nandurbar

SUBMISSION

I Roll No Student of Fifth


Semester Diploma Course COMPUTER ENGINEERING humbly submit that; I have completed this
micro project by my own skill and study between the period from 2022-2023 as per the
Instruction guidance of PROF.MAGAN VASAVE

The following student were associated with me for this work however, quantum of my
contribution has been approved by teacher.

1. KIRTAN SHIMPI

2. GAYATRI PATIL

3. LALIT BORSE

4. YASH KASAR

5. SONALI PATIL

I have not copied the report or it’s any appreciable part from any other Literature
connection with academic ethics.

Signature of student Signature of Lecturer

PROF .MAGAN VASAVE


••••••••••••••••••••••••••••••••• INDEX ••••••••••••••••••••••••••••••••••••

1. MICRO - PROJECT PROPOSAL .................................................. 1 - 3

2. RATIONALE ……………………………………………………. 4

3. AIMS / BENEFITS OF THE MICRO - PROJECT……………… 4

4. COURSE OUTCOMES ACHIEVED …………………………… 4

5. LITERATURE REVIEW .................................................................... 5 - 14

4. ACTUAL RESOURCES USED ......................................................... 14

5. ACTUAL METHODOLOGY FOLLOWED ............................... 15 - 17

6. OUTCOMES OF THE MICRO - PROJECT ............................... 17 - 19


9. SKILL DEVELOPED / LEARNING OUTCOMES
OF MICRO-PROJECT ..................................................................... 20

10. APPLICATIONS OF MICRO - PROJECT ......................................20


MICRO - PROJECT PROPOSAL

TITLE : PREPARE A IPADDRESS USING SWING

1.0 AIMS /BENEFITS OF THE MICRO PROJECT -

TO PERFORM to retrive ip using Swing API

2.0 COURSE OUTCOMES ADDRESSED -

1. . INTERPRET THE BASIC CODE OF “JAVA”


2. . IMPLEMENT SWING API IN JAVA

3. . USING API SWING JFRAME and other COMPONEBT

3.0 PROPOSED METHODOLOGY :


1. BASIC INFORMATION ABOUT JAVA.
2. SWING API.
3. USE SOME OF COMPONET AND JAVA IDE TO BUILD A BASIC JAVA IPADDRESS
4.0 ACTION PLANS :

Sr. Details of Activities Planned Planned Name of


No. Start Date Finish Responsible

1 Study JAVA 1/11/2022 09/11/2022 All

2 Study SWING 20/11/2020 4/12/2020 All

3 Study COMPONENT 25/11/2022 30/11/2022 All

4 Select Relevant Topic for 30/11/2020 1/12/2022 All


Micro- Project .

5 Perform JAVA PROGRAM 1/12/2022 04/12/2022 All


for Micro- Project .

6 Make Project Report for Micro- 04/12/2020 05/12/2022 All


Project.

5.0 RESOURCES REQUIRED :

Sr.N Name of Resource / Specifications Quantity Remarks


o. Material

1 Computer RAM minimum 8GB, 1


TH
I7 9 GEN
2 Operating System Windows 10 1

3 Software V S Code 1
MICRO-PROJECT REPORT
TITLE : PREPARE A JAVA PROGRAM TO GET IP
ADDRESS

1.0 RATIONALE :
The idea of this micro-project is to make a We can develop IP Finder in java with
the help of Networking AWT/Swing with event handling. Let's see the code of
creating IP Finder in java.

2.0 AIMS / BENEFITS OF THE MICRO PROJECT :

 To Perform Basic IP FINDING using java.


 To Find ip address and can also easily rrack on site
 Can be use to moniter the ip address

3.0 COURSE OUTCOMES ACHIEVED :

1) Interpret The Basic Code Of “JAVA".


2) Task Remainder Making In "JAVA" Programming .
3) Use Functions In "Java" Programs For Building a basic frame
4.0 LITERATURE REVIEW :

❖ History of "JAVA" Language Programming :


Java is a class-based, object-oriented programming language that is designed to have as few
implementation dependencies as possible. It is a general-purpose programming language
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 the underlying computer architecture. The syntax of Java is similar to C and C++,
but has fewer low-level facilities than either of them. The Java runtime provides dynamic
capabilities (such as reflection and runtime code modification) that are typically not available in
traditional compiled languages. As of 2019, Java was one of the most popular programming
languages in use according to GitHub, particularly for client-server web applications, with a
reported 9 million developers.
Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by
Oracle) and released in 1995 as a core component of Sun Microsystems' Java platform. The original and
reference implementation Java compilers, virtual machines, and class libraries were originally released by
Sun under proprietary licenses. As of May 2007, in compliance with the specifications of the Java
Community Process, Sun had relicensed most of its Java technologies under the GNU General Public
License. Oracle offers its own HotSpot Java Virtual Machine, however the official reference
implementation is the OpenJDK JVM which is free open source software and used by most developers and
is the default JVM for almost all Linux distributions.

❖ Basic About JAVA:


The Java language has undergone several changes since JDK 1.0 as well as numerous additions of
classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language
has been governed by the Java Community Process (JCP), which uses Java Specification Requests
(JSRs) to propose and specify additions and changes to the Java platform. The language is
specified by the Java Language Specification (JLS); changes to the JLS are managed under JSR 901.

In addition to the language changes, other changes have been made to the Java Class Library over
the years, which has grown from a few hundred classes in JDK 1.0 to over three thousand in J2SE
5. Entire new APIs, such as Swing and Java2D, have been introduced, and many of the original JDK
1.0 classes and methods have been deprecated. Some programs allow conversion of Java
programs from one version of the Java platform to an older one (for example Java 5.0 backported
to 1.4) (see Java backporting tools).
Regarding to Oracle Java distribution, version 11 is the currently supported long-term support
(LTS) version (and Java 8 LTS to some degree). ("Oracle Customers will receive Oracle Premier
Support"); Oracle released for the "legacy" Java 8 LTS the last free software "public update" in
January 2019 for commercial use, while Oracle continues to release no-cost public updates for
Java 8 for e.g. development and personal use indefinitely. Java 10 is the previously supported
rapid release version. Java 10 support ended on the same date that support for Java 11 began, in
September 2018. Java 7 is no longer publicly supported, and Java 9 has stopped receiving updates
since Java 9 was a short-term rapid release version that has been superseded by Java 10 and now
Java 11. For Java 11, long-term support will not be provided by Oracle for the public; instead, the
broader OpenJDK community, as AdoptOpenJDK or others, is expected to perform the work.

Java 15 General Availability occurred on September 15, 2020, with Java 16 now in Rampdown
Phase Two (Initial Release Candidate expected February 4, 2021), and with Java 17 now also in
development.

Actuall Coding :-

package project;

import javax.swing.*;

import java.awt.event.*;

import java.net.*;

public class IPFinder extends JFrame implements ActionListener{

JLabel l;

JTextField tf;

JButton b;

IPFinder(){

super("IP Finder Tool - Javatpoint");

l=new JLabel("Enter URL:");

l.setBounds(50,70,150,20);;

tf=new JTextField();

tf.setBounds(50,100,200,20);
b=new JButton("Find IP");

b.setBounds(50,150,80,30);

b.addActionListener(this);

add(l);

add(tf);

add(b);

setSize(300,300);

setLayout(null);

setVisible(true);

public void actionPerformed(ActionEvent e){

String url=tf.getText();

try {

InetAddress ia=InetAddress.getByName(url);

String ip=ia.getHostAddress();

JOptionPane.showMessageDialog(this,ip);

} catch (UnknownHostException e1) {

JOptionPane.showMessageDialog(this,e1.toString());

public static void main(String[] args) {

new IPFinder();

}
OUTPUT OF CODE:-

IP FINDING Frame which take and input for web site in the fromat for
www.domainname.com so it will return a IP address of that website it can be use for ip
tracking device

Example :- this is www.GOOGLE.com IP address

8.0 SKILL DEVELOPED / LEARNING OUTCOMES OF MICRO - PROJECT


:

1. Learn Basic of the Java Programming language .


2. Use Various Componet for swing from java.
3. Learn Basic networking and domanin name and ip address .
9.0 APPLICATIONS OF MICRO - PROJECT :

● Applications of IP Finder:

1. The Find a specific ip .


2. We also can understand about Networking.
3. Use of various components .
4. Use of JAVA programming.

Mr.MAGAN VASAVE
Department of Computer Science and Engineering.

You might also like