Ajp Mirco-Project

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

Karmaveer Shankarrao Kale Education Society’s

GAUTAM POLYTECHNIC INSTITUTE GAUTAMNAGAR

Micro Project Report On


PREPARE A IP ADDRESS USING SWING
Under the subject of
Advanced Java Programing -22517
SUBMITTED BY
NAME ENROLLMENT NO

Mr.Daund Siddheshwar D. -2216690119


Mr.Sonawane Ganesh D. -2216690123
Mr.Bidgar Pratik S. -2216690125

UNDER THE GUIDANCE OF


Prof.Bharti M.B
DEPARTMENT OF COMPUTER ENGINEERING
YEAR
2023-2024
Prof.Bharti M.B Prof.Bharti M.B Prof.Mr.Bharti S.M
GUIDE HOD PRINCIPAL

1|Page
Karmaveer Shankarrao Kale Education Society’s
GAUTAM POLYTECHNIC INSTITUTE
GAUTAMNAGAR

CERTIFICATE
This is to certify that
MR.BIDGAR PRATIK SUNIL (ROLL NO- 15)
Students of Third year of Diploma in Computer
Engineering have completed the micro project in
Advanced Java Programing -22517 assigned as per
syllabus satisfactorily for the academic year 2023-2024.

Prof.Bharti M.B Prof.Bharti M.B Prof.Mr.Bharti S.M


GUIDE HOD PRINCIPAL

2|Page
ACKNOWLEDGEMENT

We would like to express our deep sense of gratitude and special


thanks to our guide Prof.Bharti M.B who not only took a great
interest in the project but also was always ready to help us as
and when needed.
We are also grateful to Prof. Mr.Bharti M.B (Head of Computer
Department) and all staff members of Computer Department for
their kind co-operation.
Finally we are thankful to all our friends who have helped for
presenting & preparation of our project.

Team Member
Mr.Daund Siddheshwar D.
Mr.Sonawane Ganesh D.
Mr.Bidgar Pratik S.

3|Page
INDEX

SR.NO TOPIC NAME PAGE NO

⁌ TITLE 08

1 Rationale : 08

2 08
Aims / benefits of the micro project :

3 Course outcomes achieved : 08

4 Proposed Methodology 08

5 Action plans 09

6 Resources Required 09

8 Literature review 10
9 Actual Coding 11

10 SCREENSHOOT OF CODE 13

11 OUTPUT OF CODE 14
12 Skill developed / learning 15
outcomes of micro – project
13 Applications of micro – project 15

14 Conclusion 15

15 Reference 15

4|Page
MICRO - PROJECT PROPOSAL

TITLE: PREPARE A IPADDRESS USING SWING

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 Aim of the project

i.To Perform Basic IP FINDING using java.


ii. To Find IP address can using on site site url.
iii. Can be use to moniter the IP address.

3.0 Course Outcomes Addressed -

1. . interpret the basic code of “java”


2. . implement swing api in java

3. . using api swing JFrame and other component

4.0 Proposed Methodology :

1. use some of componet and java ide to build a basic java ip address
2. Focused on the selection of an appropriate topic for the micro project
3. Select the topic i.e. prepare a IP address using swing
4. Analysis and study of our topic in detail .
5. Following all the above methodologies we successfully completed our microproject .

5|Page
5.0 Action plans :

S. Sr.no Details of Activities Planned Planned Name of


Start Date Finish Responsible

1 Study Java All

2 Study Swing All

3 Study Component All

4 Select Relevant Topic All


for Micro- Project .

5 perform java program for All


Micro- Project .

6 Make Project Report for All


Micro-Project.

6.0 Resources Required :

Sr.no Name of Resource / Specifications Quantity Remarks


o. Material

1 Computer RAM minimum 8GB, 1


I7 9TH GEN
2 Operating System Windows 10 1

3 Software VS Code 1

6|Page
6.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 areported 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.

7|Page
7.0 Actual Coding :-

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 ");

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);

8|Page
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();

9|Page
8.0 SCREENSHOOT OF CODE :-

10 | P a g e
9.0 OUTPUT OF CODE:-
IN

IP FINDING Frame which take and input for web site in the format fo 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

11 | P a g e
12.0 Skill developed / learning outcomes of micro – project :

1. Learn Basic of the Java Programming language.


2. Use Various Component for swing from java.
3. Learn Basic networking and domain name and IP address.

13.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.

14.0 Conclusion

1. It was a great experience to design and implement the swing using Adavanced
java programming and also to work on documentation .
2. I am now able to handle event of awt and swing component and also develop
program using networking concept .

15.0 Reference

• Adavanced Java Programing Book / Manual


• https://www.javatpoint.com/socket-programming
• https://www.msbtemicroproject.tech/2022/10/AJP-Advance-Java-
Programming-22516-Micro-Project-report%20%20.html
\

12 | P a g e

You might also like