Advjava Micro Project
Advjava Micro Project
Micro-Project Proposal
on
"PREPARE A IPADDRESS USING SWING"
3. 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. ACTION PLANS :
1 Study JAVA
4
Select Relevant Topic for
Micro- Project .
5
Perform JAVA PROGRAM for
Micro- Project .
6
Make Project Report for Micro-
Project.
5. RESOURCES REQUIRED :
1.Maniyar Sohanaz
mahamad Rizwan
2.Maniyar Afifa
Faruk
Part–B
1. 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.
4. LITERATURE REVIEW :
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
(Initial Release Candidate expected February 4, 2021), and with Java 17 now also in development.
Actuall 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()
b=new JButton("Find
IP");
b.setBounds(50,150,80,30);
b.addActionLi
stener(this);
add(l);
add(tf);
add(b);
setSize(300,300);
setLayout(null);
setVisible(true);
}
try
{
InetAddress ia=InetAddress.getByName(url);
String ip=ia.getHostAddress();
JOptionPane.showMessageDialog(this,ip);
JOptionPane.showMessageDialog(this,e1.toString());
{ 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
● Applications of IP Finder: