SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
DAYANANDA SAGAR UNIVERSITY
DEPARTMENT OF BACHELOR OF COMPUTER APPLICATIONS
SCHOOL OF ENGINEERING
DAYANANDA SAGAR UNIVERSITY
KUDLU GATE
BANGALORE - 560068
MINI PROJECT REPORT
ON
“WeBrowser – Private Browser”
SUBMITTED TO THE III SEMESTER
ANALYSIS AND DESIGN OF ALGORITHMS
LABORATORY-2019
IN
BACHELOR OF COMPUTER APPLICATIONS
Submitted by
ABDUL RASHEED-(ENG18CA0002)
ABHISHEK RAO G(ENG18CA0005)
DEVANSH KOOLWAL-(ENG18CA0014)
MOHAMMED FAIZ-(ENG18CA0026)
Under the supervision of
Prof. NANDINI K
DAYANANDA SAGAR UNIVERSITY
School of Engineering, Kudlu Gate, Bangalore-560068
CERTIFICATE
This is to certify that Mr./Ms DEVANSH KOOLWAL bearing USN ENG18CA0014
has satisfactorily completed his/her Mini Project as prescribed by the University
for the 3rd
semester, Bachelor of Computer Applications during the year 2019 at
the School of Engineering, Dayananda Sagar University., Bangalore.
Date:
Signature of the faculty in-charge
Max Marks Marks Obtained
Signature of Chairman
Department of Bachelor of Computer Applications
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020
ACKNOWLEDGEMENT
The satisfaction that accompanies the successful completion of task would be incomplete without the
mention of the people who made it possible and whose constant guidance and encouragement crown all the
efforts with success.
We are especially thankful to our Chairman, Dr. M K Banga, for providing necessary departmental facilities,
moral support and encouragement.
We are very much thankful for providing help and suggestions in completion of this mini project
successfully.
We have received a great deal of guidance and co-operation from our friends and we wish to thank all that
have directly or indirectly helped us in the successful completion of this project work.
ABDUL RASHEED-(ENG18CA0002)
ABHISHEK RAO G-(ENG18CA0005)
DEVANSH KOOLWAL-(ENG18CA0014)
MOHAMMED FAIZ-(ENG18CA0026)
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020
DECLARATION
We hereby declare that the work presented in this mini project entiltled- “WeBrowser - Private Browser “,
has been carried out by us and it has not been submitted for the award of any degree, diploma or the mini
project of any other college or university.
ABDUL RASHEED-(ENG18CA0002)
ABHISHEK RAO G-(ENG18CA0005)
DEVANSH KOOLWAL-(ENG18CA0014)
MOHAMMED FAIZ-(ENG18CA0026)
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020
ABSTRACT
This project is aimed to develop a Web Browser. Using this software, companies and users can improve the
efficiency of their services. This web Browser involves all the features of the good Browses like TOR.
In a normal web browser the user used to browse in single full screen and switches over tabs for browsing
to browse two different pages also normal browser are personalized based upon the search engines and
regular browser are less interactive. Our proposed browser can be used to browse multiple sites in a single
screen that is in split mode.
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020
TABLE OF CONTENTS
S NO. TOPIC PAGE
NO.
1. INTRODUCTION
1.1 IMPORTANCE OF THE TOPIC
1.2 WHERE IT IS USED? ITS APPLICATIONS
1.3 SCOPE
1.4 OVERALL DESCRIPTION
1.4.1 PRODUCT PERSPECTIVE
1.4.2 USER CHARCTERSTICS
1.4.3 PRINCIPAL ACTOR
1.4.4 GENERAL CONSTRAINTS
1.4.5 ASSUMPTIONS AND DEPENDENCIES
1
2. PROBLEM STATEMENT 3
3. TECHNOLOGY USED
3.1 FEATURES OF JAVA
4
4. SYSTEM REQUIREMENTS
4.1 SOFTWARE REQUIREMENTS
4.2 HARDWARE REQUIREMENTS
7
5. METHODOLOGY 9
6. IMPLEMENTATION
6.1 HOME.JAVA
6.2 WEBROWSER.JAVA
6.3 GMAIL.JAVA
6.4 YOUTUBE.JAVA
10
7. RESULTS
7.1 HOME.JAVA
7.2 WEBROWSER.JAVA
7.3 GMAIL.JAVA
7.4 YOUTUBE.JAVA
21
8. CONCLUSION 24
9. REFRENCES 25
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 1
CHAPTER 1
INTRODUCTION
A web browser is a software application for retrieving, presenting and traversing information
resources on the world wide web. The www or commonly known as w3 is a system of interlinked hypertext
documents accessed via the internet with a web browser, one can view web page that may contain text,
image, videos and other multimedia and navigate between them via hyperlinks.
The existing browsers use synchronous communication with the server in order to get the requested
pages. When the page is refreshed the whole page is loaded again from the server which is time consuming
moreover increases the network traffic and server load. Also, this refresh operation creates white page outs
in the web pages due to which the user cannot interact until the whole page is loaded again.
1.1 IMPORTANCE OF THE TOPIC
Browser which are generally used by the all of are getting slower day by day and it takes lot of
space in the memory and save history and also save cache memory, but in our browser we are providing
user fast browsing and our browser is small in in size it will not take too much space in the memory and it
will not save any history and any cache memory, it will help in fast browsing.
1.2 WHERE IT IS USED? IT’S APPLICATIONS
Our browse can be used by everyone in their pc or in their laptops. Our browse will provide fast
browsing and it will not take much space in the memory it is very light browser and our browser will not
save history and cache memory and the location of the user is not traceable.
1.3 SCOPE
The browser’s main functionality is to present the web resource you choose, by requesting it
from the server and displaying it on the browser window. It helps retrieve the information from its vast
reservoir viz. internet. It allows collaborators in remote sites to share their ideas and all aspects of a
common project. Browser progressively renders the page onto the screen as specified by its HTML,
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 2
Cascading Style Sheets (CSS), or other page composition languages. Any images and other resources are
incorporated to produce the on-screen web page that the user sees. Browser provide common tools enabling
users to interact with remote servers in secure fashion.
1.4 OVERALL DESCRIPTION
A web browser (commonly referred to as a browser) is a software application for accessing
information on the World Wide Web. When a user requests a particular website, the web browser retrieves
the necessary content from a web server and then displays the resulting web page on the user's device.
1.4.1 PRODUCT PERSPECTIVE
The web browser developed here performs the following. When you type a web page address
such as www.wikipedia.org into your browser, that web page in its entirety is not actually stored on a server
ready and waiting to be delivered. In fact each web page that you request is individually created in response
to your request. The web page is searched and then displayed on your screen.
1.4.2 USER CHARACTERISTICS
The user is expected to have basic computational knowledge. He must be able to communicate
well in English. He must know how to operate a computer and it basic input/output devices.
1.4.3 PRINCIPAL ACTORS
The principal actor in the browser is the user only.
1.4.4 GENERAL CONSTRAINTS
The browser may sometimes give unintelligible responses due to the limitation of its languages
supported. The browser can display only plain HTML files.
1.4.5 ASSUMPTIONS AND DEPENDENCIES
Here we assume that the person who is using the browser knows well how to operate a
computer and also how to work on internet. We also assume that the internet connection is available.
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 3
CHAPTER 2
PROBLEM STATEMENT
As the internet is growing very fast everything is on the internet, it is accessable to everyone it
can be used by anyone. Internet makes things very simple and easy with every good things bad things
comes with them, it is used for may scams and frauds by accessing the user information and their location,
all the information is get saved is in the browser and its can be accessible by any good hacker and it
becomes a security threat to the users And The web browsers should communicate with the server
asynchronously i.e., when the user requests for a page, the user should be able to interact with the web page
while the browser loads the page from the server.
When the page is refreshed, there should be no white page outs and only some part of the web
page is updated dynamically instead of loading the whole page again. Partial updation of a web page
reduces network traffic and improves the operationality of the applications as that of desktop
applications.Our vision is to make the browser safe and fast for the user and provide the user high speed
browsing on the browser.
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 4
CHAPTER 3
TECHNOLOGY USED
Java is a programming language originally developed by James Gosling at Sun Microsystems and
released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of
its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications
are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of
computer architecture. Java is a general-purpose, concurrent, classbased, object-oriented language that is
specifically designed to have as few implementation dependencies as possible. It is intended to let
application developers "write once, run anywhere". Java is currently one of the most popular programming
languages in use, and is widely used from application software to web applications.
3.1 FEATURES OF JAVA
Platform Independent:
The concept of Write-once-run-anywhere (known as the Platform independent) is one of the
important key feature of java language that makes java as the most powerful language. Not even a single
language is idle to this feature but java is more closer to this feature. The programs written on one
platform can run on any platform provided the platform must have the JVM.
Simple:
There are various features that makes the java as a simple language. Programs are easy to write
and debug because java does not use the pointers explicitly. It is much harder to write the java programs
that can crash the system but we can not say about the other programming languages. Java provides the
bug free system due to the strong memory management. It also has the automatic memory allocation and
deallocation system.
Object Oriented:
To be an Object Oriented language, any language must follow at least the four characteristics.
Inheritance :
It is the process of creating the new classes and using the behavior of the existing classes by
extending them just to reuse the existing code and adding the additional features as needed.
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 5
Encapsulation:
It is the mechanism of combining the information and providing the abstraction.
Polymorphism:
As the name suggest one name multiple form, Polymorphism is the way of providing the different
functionality by the functions having the same name based on the signatures of the methods.
Dynamic binding :
Sometimes we don't have the knowledge of objects about their specific types while writing our
code. It is the way of providing the maximum functionality to a program about the specific type at
runtime.
Robust:
Java has the strong memory allocation and automatic garbage collection mechanism. It provides
the powerful exception handling and type checking mechanism as compare to other programming languages.
Compiler checks the program whether there any error and interpreter checks any run time error and makes
the system secure from crash. All of the above features makes the java language robust.
Distributed:
The widely used protocols like HTTP and FTP are developed in java. Internet programmers can
call functions on these protocols and can get access the files from any remote machine on the internet
rather than writing codes on their local system.
Portable:
The feature Write-once-run-anywhere makes the java language portable provided that the system
must have interpreter for the JVM. Java also have the standard data size irrespective of operating system
or the processor. These features makes the java as a portable language.
Dynamic:
While executing the java program the user can get the required files dynamically from a local
drive or from a computer thousands of miles away from the user just by connecting with the Internet.
Secure:
Java does not use memory pointers explicitly. All the programs in java are run under an area
known as the sand box. Security manager determines the accessibility options of a class like reading and
writing a file to the local disk. Java uses the public key encryption system to allow the java applications
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 6
to transmit over the internet in the secure encrypted form. The bytecode Verifier checks the classes after
loading.
Performance:
Java uses native code usage, and lightweight process called threads. In the beginning
interpretation of bytecode resulted the performance slow but the advance version of JVM uses the
adaptive and just in time compilation technique that improves the performance.
Multithreaded:
As we all know several features of Java like Secure, Robust, Portable, dynamic etc; you will be
more delighted to know another feature of Java which is Multithreaded. Java is also a Multithreaded
programming language. Multithreading means a single program having different threads executing
independently at the same time. Multiple threads execute instructions according to the program code in a
process or a program. Multithreading works the similar way as multiple processes run on one computer.
Multithreading programming is a very interesting concept in Java. In multithreaded programs not even a
single thread disturbs the execution of other thread. Threads are obtained from the pool of available ready
to run threads and they run on the system CPUs. This is how Multithreading works in Java which you
will soon come to know in details in later chapters.
Interpreted:
We all know that Java is an interpreted language as well. With an interpreted language such as
Java, programs run directly from the source code. The interpreter program reads the source code and
translates it on the fly into computations. Thus, Java as an interpreted language depends on an interpreter
program. The versatility of being platform independent makes Java to outshine from other languages.
The source code to be written and distributed is platform independent. Another advantage of Java as an
interpreted language is its error debugging quality. Due to this any error occurring in the program gets
traced. This is how it is different to work with Java.
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 7
CHAPTER 4
SYSTEM REQUIREMENTS
A System Requirements Specification (SRS) (also known as a Software Requirements
Specification) is a document or set of documentation that describes the features and behaviour of a system
or software application. It includes a variety of elements that attempts to define the intended functionality
required by the customer to satisfy their different users. In addition to specifying how the system should
behave, the specification also defines at a high-level the main business processes that will be supported,
what simplifying assumptions have been made and what key performance parameters will need to be met
by the system.
4.1 SOFTWARE REQUIREMENTS
The software requirements are description of features and functionalities of the target system.
Requirements convey the expectations of users from the software product. The requirements can be obvious
or hidden, known or unknown, expected or unexpected from client’s point of view.
It defines how the intended software will interact with hardware, external interfaces, speed of operation,
response time of system, portability of software across various platforms, maintainability, speed of recovery
after crashing, Security, Quality, Limitations etc.
The software requirements in our program are:
Programming language: JAVA.
1. Compiler: JAVAC
2. Operating System: Windows.
4.2 HARDWARE REQUIREMENTS
There are hardware requirements, also known as system requirements, for every OS we are going
to use. These requirements include the minimum processor speed, memory, and disk space required to
install Windows. In almost all cases, you will want to make sure that your hardware exceeds these
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 8
requirements to provide adequate performance for the services and applications running on the server. The
table below outlines the minimum hardware requirements to execute this project.
1. Processor: Any 3rd Gen+ Intel Processor or even a 1st gen AMD processor.
2. RAM: Since here it was done on VM Ware Workstation 15, It might require minimum of
4GB of RAM if it was just done on Ubuntu then 2GB of RAM.
3. Graphics: Minimal.
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 9
CHAPTER 5
METHODOLOGY
Fig no. 5.1 Working of WebBrowser
A browser is a software application used to locate, retrieve and display content on the World Wide Web,
including Web pages, images, video and other files. As a client/server model, the browser is the client run
on a computer that contacts the Web server and requests information. The Web server sends the information
back to the Web browser which displays the results on the computer or other Internet-enabled device that
supports a browser.
Today’s browsers are fully-functional software suites that can interpret and display HTML Web pages,
applications, JavaScript, AJAX and other content hosted on Web servers. Many browsers offer plug-ins
which extend the capabilities of the software so it can display multimedia information (including sound and
video), or the browser can be used to perform tasks such as videoconferencing, to design web pages or add
anti-phishing filters and other security features to the browser.
Your Browser
connects the server
and requests a page
Your server sends
back the requested
page
Server Machine
running a Web Server
Your machine
running a web
browser
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 10
CHAPTER 6
IMPLEMENTATION
CODE:
6.1 HOME.JAVA
package webrowser;
import webrowser.WeBrowser;
import static webrowser.HOME.main;
import webrowser.gmail;
import webrowser.youtube;
public class HOME extends javax.swing.JFrame {
public HOME() {
initComponents();
}
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 11
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/webrowser/Logo
comp-min.png"))); // NOI18N
jButton1.setText("Google");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jButton2.setText("YouTube");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
jButton3.setText("G-Mail");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(154, 154, 154)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 541,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(213, Short.MAX_VALUE))
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 12
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addGap(127, 127, 127)
.addComponent(jButton2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton1)
.addGap(169, 169, 169)
.addComponent(jButton3)
.addGap(155, 155, 155))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(43, 43, 43)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 342,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 77,
Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI
NE)
.addComponent(jButton1)
.addComponent(jButton2)
.addComponent(jButton3))
.addGap(45, 45, 45))
);
pack();
}// </editor-fold>
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String[] args = null;
// TODO add your handling code here:
WeBrowser.main(args);
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 13
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
String[] args = null;
webrowser.youtube.main(args);
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
String[] args = null;
webrowser.gmail.main(args);
}
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 14
java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new HOME().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
// End of variables declaration
private void WeBrowser() {
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 15
throw new UnsupportedOperationException("Not supported yet."); //To change body of
generated methods, choose Tools | Templates.
}
}
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 16
6.2 WEBROWSER.JAVA
package webrowser;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
public class WeBrowser {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
final JFrame frame=new JFrame();
//frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setSize(1800,700);
final JFXPanel fxpanel=new JFXPanel();
frame.add(fxpanel);
Platform.runLater(new Runnable() {
@Override
public void run() {
//throw new UnsupportedOperationException("Not supported yet."); //To change body
of generated methods, choose Tools | Templates.
WebEngine engine;
WebView wv=new WebView();
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 17
engine=wv.getEngine();
fxpanel.setScene(new Scene(wv));
engine.load("https://www.google.com");
}
});
frame.setVisible(true);
}
static void main() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of
generated methods, choose Tools | Templates.
}
}
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 18
6.3 GMAIL.JAVA
package webrowser;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
/**
*
* @author dkool
*/
public class gmail {
public static void main(String[] args) {
// TODO code application logic here
final JFrame frame=new JFrame();
//frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setSize(1800,700);
final JFXPanel fxpanel=new JFXPanel();
frame.add(fxpanel);
Platform.runLater(new Runnable() {
@Override
public void run() {
//throw new UnsupportedOperationException("Not supported yet."); //To change body
of generated methods, choose Tools | Templates.
WebEngine engine;
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 19
WebView wv=new WebView();
engine=wv.getEngine();
fxpanel.setScene(new Scene(wv));
engine.load("https://www.gmail.com");
}
});
frame.setVisible(true);
}
static void main() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of
generated methods, choose Tools | Templates.
}
}
6.4 YOUTUBE.JAVA
package webrowser;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
/**
*
* @author dkool
*/
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 20
public class youtube {
public static void main(String[] args) {
// TODO code application logic here
final JFrame frame=new JFrame();
//frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setSize(1800,700);
final JFXPanel fxpanel=new JFXPanel();
frame.add(fxpanel);
Platform.runLater(new Runnable() {
@Override
public void run() {
//throw new UnsupportedOperationException("Not supported yet."); //To change body
of generated methods, choose Tools | Templates.
WebEngine engine;
WebView wv=new WebView();
engine=wv.getEngine();
fxpanel.setScene(new Scene(wv));
engine.load("https://www.youtube.com");
}
});
frame.setVisible(true);
}
static void main() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of
generated methods, choose Tools | Templates.
}
}
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 21
CHAPTER 7
RESULTS
7.1 HOME.JAVA
Fig no. 7.1 Home Page
This is our home page of Browser containing 3 shortcuts of
1. Youtube
2. Google
3. G-Mail
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 22
7.2 WEBROWSER.JAVA
Fig no. 7.2 Search Engine Page
This is our search engine page. We used google as a search engine as shown in Fig 7.2
7.3 YOUTUBE.JAVA
Fig no. 7.3 YouTube Page
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 23
This is our YouTube page as shown in Fig 7.3
7.4 GMAIL.JAVA
Fig no. 7.4 Gmail Page
This is our G-Mail Page as shown in Fig 7.4
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 24
CHAPTER 8
CONCLUSION
A web browser opens a connection to a web server based on the URL entered by the user. The URL
specifies the protocol to use, typically http for web servers. The last entry in the URL includes the directory
and file names that the browser is looking for. Web Browsers are of different kinds but all are used to
search what we want from web, the browsers differ from each and every one, the action they perform was
same. Some browsers above are more effective compared to others.
 During this experiment, I tested 10 browsers to see which one is the fastest during this experiment. I
learned how to measure browser speed.
 My results from my experiment proved my hypothesis right Problems that may have affected my
experiment is that too many people may be on YouTube when it I tested Internet Explorer, since it took
5 seconds to load.
 Another discovery that was made is that not all pages load at the same time. Because I think that I did
everything correctly and the results were pretty accurate, the experiment went very well.
WeBrowser - PRIVATE BROWSER
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
DSU, BCA Dept. 2019-2020 25
CHAPTER 9
REFRENCES
https://docs.oracle.com/javaee/7/api/javax/ws/rs/core/Link.html
https://corochann.com/javadoc-coding-rule-of-link-linkplain-see-372.html
https://www.javatpoint.com/java-singly-linked-list-example
https://www.google.com/amp/s/www.javaworld.com/article/3336161/what-is-jsp-introduction-to-jav
aserver-pages.amp.html
https://openjfx.io/
https://netbeans.org/kb/72/java/javafx-setup.html
https://www.javatpoint.com/javafx-with-eclipse
https://www.jetbrains.com/help/idea/javafx.html
https://en.m.wikipedia.org/wiki/Swing_(Java)

Más contenido relacionado

La actualidad más candente

Attendance management system
Attendance management system Attendance management system
Attendance management system SHIVANGI GOEL
 
Web Vulnerability Scanner project Report
Web Vulnerability Scanner project ReportWeb Vulnerability Scanner project Report
Web Vulnerability Scanner project ReportVikas Kumar
 
Passport automation system
Passport automation systemPassport automation system
Passport automation systemKoppula Sheryl
 
Feedback System in PHP
Feedback System in PHPFeedback System in PHP
Feedback System in PHPPrince Kumar
 
Final project presentation CSE
Final project presentation CSEFinal project presentation CSE
Final project presentation CSEHumayra Khanum
 
Online Attendance Management System
Online Attendance Management SystemOnline Attendance Management System
Online Attendance Management SystemRIDDHICHOUHAN2
 
Major File On web Development
Major File On web Development Major File On web Development
Major File On web Development Love Kothari
 
10.project online exam system
10.project  online exam system10.project  online exam system
10.project online exam systemIram hasan
 
SRS For Online Store
SRS For Online StoreSRS For Online Store
SRS For Online StoreAhsan Rizwan
 
Online Attendance System
Online Attendance SystemOnline Attendance System
Online Attendance SystemAkash Kr Sinha
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project ReportMilind Gokhale
 
Online Examination System Report
Online Examination System ReportOnline Examination System Report
Online Examination System ReportAnkan Banerjee
 
Final project se
Final project seFinal project se
Final project sehira akram
 
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...dezyneecole
 
Android File Manager Report PDF
Android File Manager Report PDFAndroid File Manager Report PDF
Android File Manager Report PDFPrajjwal Kumar
 
Quiz application
Quiz applicationQuiz application
Quiz applicationHarsh Verma
 

La actualidad más candente (20)

Attendance management system
Attendance management system Attendance management system
Attendance management system
 
Web Vulnerability Scanner project Report
Web Vulnerability Scanner project ReportWeb Vulnerability Scanner project Report
Web Vulnerability Scanner project Report
 
Passport automation system
Passport automation systemPassport automation system
Passport automation system
 
Feedback System in PHP
Feedback System in PHPFeedback System in PHP
Feedback System in PHP
 
Final project presentation CSE
Final project presentation CSEFinal project presentation CSE
Final project presentation CSE
 
Online Attendance Management System
Online Attendance Management SystemOnline Attendance Management System
Online Attendance Management System
 
Project report on blogs
Project report on blogsProject report on blogs
Project report on blogs
 
Major File On web Development
Major File On web Development Major File On web Development
Major File On web Development
 
10.project online exam system
10.project  online exam system10.project  online exam system
10.project online exam system
 
Ppt of blogs
Ppt of blogsPpt of blogs
Ppt of blogs
 
SRS For Online Store
SRS For Online StoreSRS For Online Store
SRS For Online Store
 
Online Attendance System
Online Attendance SystemOnline Attendance System
Online Attendance System
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project Report
 
Online Examination System Report
Online Examination System ReportOnline Examination System Report
Online Examination System Report
 
Final project se
Final project seFinal project se
Final project se
 
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
 
Java project-presentation
Java project-presentationJava project-presentation
Java project-presentation
 
Student report
Student reportStudent report
Student report
 
Android File Manager Report PDF
Android File Manager Report PDFAndroid File Manager Report PDF
Android File Manager Report PDF
 
Quiz application
Quiz applicationQuiz application
Quiz application
 

Similar a Project report - Web Browser in Java by Devansh Koolwal

HDFC banking system SRS Document
HDFC banking system  SRS DocumentHDFC banking system  SRS Document
HDFC banking system SRS DocumentNavjeetKajal
 
SRS Project Proposal
SRS Project ProposalSRS Project Proposal
SRS Project ProposalSalman Rana
 
IRJET- Tour and Travels
IRJET- Tour and TravelsIRJET- Tour and Travels
IRJET- Tour and TravelsIRJET Journal
 
IJSRED-V2I5P23
IJSRED-V2I5P23IJSRED-V2I5P23
IJSRED-V2I5P23IJSRED
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation SystemPrince Kumar
 
Savens new resume
Savens new resumeSavens new resume
Savens new resumejohn savens
 
Bank Management System Desktop Application
Bank Management System Desktop Application Bank Management System Desktop Application
Bank Management System Desktop Application Ibadullah Khan
 
travel guidence.pdf
travel guidence.pdftravel guidence.pdf
travel guidence.pdfSRIDHAMCH
 
Smart phone as a cloud server machine computing
Smart phone as a cloud server machine computingSmart phone as a cloud server machine computing
Smart phone as a cloud server machine computingeSAT Publishing House
 
Smart phone as a cloud server machine computing framework
Smart phone as a cloud server machine computing frameworkSmart phone as a cloud server machine computing framework
Smart phone as a cloud server machine computing frameworkeSAT Journals
 
“AUTOMATIC RAIN OPERATED WIPER”.docx
“AUTOMATIC RAIN OPERATED WIPER”.docx“AUTOMATIC RAIN OPERATED WIPER”.docx
“AUTOMATIC RAIN OPERATED WIPER”.docxarpitsoni40
 
Project Report (1) (1).docx
Project Report (1) (1).docxProject Report (1) (1).docx
Project Report (1) (1).docxDarshanaThorat2
 
Design and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdfDesign and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdfOmar Omar
 
Design and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdfDesign and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdfTomTom149267
 
Slambook report
Slambook reportSlambook report
Slambook reportritu garg
 
Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...
Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...
Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...The Titivators Hub
 

Similar a Project report - Web Browser in Java by Devansh Koolwal (20)

Automated Examination system
Automated Examination systemAutomated Examination system
Automated Examination system
 
Project report1
Project report1Project report1
Project report1
 
HDFC banking system SRS Document
HDFC banking system  SRS DocumentHDFC banking system  SRS Document
HDFC banking system SRS Document
 
Prashant
PrashantPrashant
Prashant
 
SRS Project Proposal
SRS Project ProposalSRS Project Proposal
SRS Project Proposal
 
IRJET- Tour and Travels
IRJET- Tour and TravelsIRJET- Tour and Travels
IRJET- Tour and Travels
 
IJSRED-V2I5P23
IJSRED-V2I5P23IJSRED-V2I5P23
IJSRED-V2I5P23
 
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
 
Savens new resume
Savens new resumeSavens new resume
Savens new resume
 
Bank Management System Desktop Application
Bank Management System Desktop Application Bank Management System Desktop Application
Bank Management System Desktop Application
 
travel guidence.pdf
travel guidence.pdftravel guidence.pdf
travel guidence.pdf
 
Smart phone as a cloud server machine computing
Smart phone as a cloud server machine computingSmart phone as a cloud server machine computing
Smart phone as a cloud server machine computing
 
Smart phone as a cloud server machine computing framework
Smart phone as a cloud server machine computing frameworkSmart phone as a cloud server machine computing framework
Smart phone as a cloud server machine computing framework
 
“AUTOMATIC RAIN OPERATED WIPER”.docx
“AUTOMATIC RAIN OPERATED WIPER”.docx“AUTOMATIC RAIN OPERATED WIPER”.docx
“AUTOMATIC RAIN OPERATED WIPER”.docx
 
Hassan-CV
Hassan-CVHassan-CV
Hassan-CV
 
Project Report (1) (1).docx
Project Report (1) (1).docxProject Report (1) (1).docx
Project Report (1) (1).docx
 
Design and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdfDesign and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdf
 
Design and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdfDesign and Implementation of E-Commerce Site for Online Shopping.pdf
Design and Implementation of E-Commerce Site for Online Shopping.pdf
 
Slambook report
Slambook reportSlambook report
Slambook report
 
Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...
Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...
Wireless Sensor Design for Hospital Managements and Applications; By AMINU Lo...
 

Último

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 

Último (20)

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 

Project report - Web Browser in Java by Devansh Koolwal

  • 1. DAYANANDA SAGAR UNIVERSITY DEPARTMENT OF BACHELOR OF COMPUTER APPLICATIONS SCHOOL OF ENGINEERING DAYANANDA SAGAR UNIVERSITY KUDLU GATE BANGALORE - 560068 MINI PROJECT REPORT ON “WeBrowser – Private Browser” SUBMITTED TO THE III SEMESTER ANALYSIS AND DESIGN OF ALGORITHMS LABORATORY-2019 IN BACHELOR OF COMPUTER APPLICATIONS Submitted by ABDUL RASHEED-(ENG18CA0002) ABHISHEK RAO G(ENG18CA0005) DEVANSH KOOLWAL-(ENG18CA0014) MOHAMMED FAIZ-(ENG18CA0026) Under the supervision of Prof. NANDINI K
  • 2. DAYANANDA SAGAR UNIVERSITY School of Engineering, Kudlu Gate, Bangalore-560068 CERTIFICATE This is to certify that Mr./Ms DEVANSH KOOLWAL bearing USN ENG18CA0014 has satisfactorily completed his/her Mini Project as prescribed by the University for the 3rd semester, Bachelor of Computer Applications during the year 2019 at the School of Engineering, Dayananda Sagar University., Bangalore. Date: Signature of the faculty in-charge Max Marks Marks Obtained Signature of Chairman Department of Bachelor of Computer Applications
  • 3. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 ACKNOWLEDGEMENT The satisfaction that accompanies the successful completion of task would be incomplete without the mention of the people who made it possible and whose constant guidance and encouragement crown all the efforts with success. We are especially thankful to our Chairman, Dr. M K Banga, for providing necessary departmental facilities, moral support and encouragement. We are very much thankful for providing help and suggestions in completion of this mini project successfully. We have received a great deal of guidance and co-operation from our friends and we wish to thank all that have directly or indirectly helped us in the successful completion of this project work. ABDUL RASHEED-(ENG18CA0002) ABHISHEK RAO G-(ENG18CA0005) DEVANSH KOOLWAL-(ENG18CA0014) MOHAMMED FAIZ-(ENG18CA0026)
  • 4. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 DECLARATION We hereby declare that the work presented in this mini project entiltled- “WeBrowser - Private Browser “, has been carried out by us and it has not been submitted for the award of any degree, diploma or the mini project of any other college or university. ABDUL RASHEED-(ENG18CA0002) ABHISHEK RAO G-(ENG18CA0005) DEVANSH KOOLWAL-(ENG18CA0014) MOHAMMED FAIZ-(ENG18CA0026)
  • 5. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 ABSTRACT This project is aimed to develop a Web Browser. Using this software, companies and users can improve the efficiency of their services. This web Browser involves all the features of the good Browses like TOR. In a normal web browser the user used to browse in single full screen and switches over tabs for browsing to browse two different pages also normal browser are personalized based upon the search engines and regular browser are less interactive. Our proposed browser can be used to browse multiple sites in a single screen that is in split mode.
  • 6. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 TABLE OF CONTENTS S NO. TOPIC PAGE NO. 1. INTRODUCTION 1.1 IMPORTANCE OF THE TOPIC 1.2 WHERE IT IS USED? ITS APPLICATIONS 1.3 SCOPE 1.4 OVERALL DESCRIPTION 1.4.1 PRODUCT PERSPECTIVE 1.4.2 USER CHARCTERSTICS 1.4.3 PRINCIPAL ACTOR 1.4.4 GENERAL CONSTRAINTS 1.4.5 ASSUMPTIONS AND DEPENDENCIES 1 2. PROBLEM STATEMENT 3 3. TECHNOLOGY USED 3.1 FEATURES OF JAVA 4 4. SYSTEM REQUIREMENTS 4.1 SOFTWARE REQUIREMENTS 4.2 HARDWARE REQUIREMENTS 7 5. METHODOLOGY 9 6. IMPLEMENTATION 6.1 HOME.JAVA 6.2 WEBROWSER.JAVA 6.3 GMAIL.JAVA 6.4 YOUTUBE.JAVA 10 7. RESULTS 7.1 HOME.JAVA 7.2 WEBROWSER.JAVA 7.3 GMAIL.JAVA 7.4 YOUTUBE.JAVA 21 8. CONCLUSION 24 9. REFRENCES 25
  • 7. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 1 CHAPTER 1 INTRODUCTION A web browser is a software application for retrieving, presenting and traversing information resources on the world wide web. The www or commonly known as w3 is a system of interlinked hypertext documents accessed via the internet with a web browser, one can view web page that may contain text, image, videos and other multimedia and navigate between them via hyperlinks. The existing browsers use synchronous communication with the server in order to get the requested pages. When the page is refreshed the whole page is loaded again from the server which is time consuming moreover increases the network traffic and server load. Also, this refresh operation creates white page outs in the web pages due to which the user cannot interact until the whole page is loaded again. 1.1 IMPORTANCE OF THE TOPIC Browser which are generally used by the all of are getting slower day by day and it takes lot of space in the memory and save history and also save cache memory, but in our browser we are providing user fast browsing and our browser is small in in size it will not take too much space in the memory and it will not save any history and any cache memory, it will help in fast browsing. 1.2 WHERE IT IS USED? IT’S APPLICATIONS Our browse can be used by everyone in their pc or in their laptops. Our browse will provide fast browsing and it will not take much space in the memory it is very light browser and our browser will not save history and cache memory and the location of the user is not traceable. 1.3 SCOPE The browser’s main functionality is to present the web resource you choose, by requesting it from the server and displaying it on the browser window. It helps retrieve the information from its vast reservoir viz. internet. It allows collaborators in remote sites to share their ideas and all aspects of a common project. Browser progressively renders the page onto the screen as specified by its HTML,
  • 8. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 2 Cascading Style Sheets (CSS), or other page composition languages. Any images and other resources are incorporated to produce the on-screen web page that the user sees. Browser provide common tools enabling users to interact with remote servers in secure fashion. 1.4 OVERALL DESCRIPTION A web browser (commonly referred to as a browser) is a software application for accessing information on the World Wide Web. When a user requests a particular website, the web browser retrieves the necessary content from a web server and then displays the resulting web page on the user's device. 1.4.1 PRODUCT PERSPECTIVE The web browser developed here performs the following. When you type a web page address such as www.wikipedia.org into your browser, that web page in its entirety is not actually stored on a server ready and waiting to be delivered. In fact each web page that you request is individually created in response to your request. The web page is searched and then displayed on your screen. 1.4.2 USER CHARACTERISTICS The user is expected to have basic computational knowledge. He must be able to communicate well in English. He must know how to operate a computer and it basic input/output devices. 1.4.3 PRINCIPAL ACTORS The principal actor in the browser is the user only. 1.4.4 GENERAL CONSTRAINTS The browser may sometimes give unintelligible responses due to the limitation of its languages supported. The browser can display only plain HTML files. 1.4.5 ASSUMPTIONS AND DEPENDENCIES Here we assume that the person who is using the browser knows well how to operate a computer and also how to work on internet. We also assume that the internet connection is available.
  • 9. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 3 CHAPTER 2 PROBLEM STATEMENT As the internet is growing very fast everything is on the internet, it is accessable to everyone it can be used by anyone. Internet makes things very simple and easy with every good things bad things comes with them, it is used for may scams and frauds by accessing the user information and their location, all the information is get saved is in the browser and its can be accessible by any good hacker and it becomes a security threat to the users And The web browsers should communicate with the server asynchronously i.e., when the user requests for a page, the user should be able to interact with the web page while the browser loads the page from the server. When the page is refreshed, there should be no white page outs and only some part of the web page is updated dynamically instead of loading the whole page again. Partial updation of a web page reduces network traffic and improves the operationality of the applications as that of desktop applications.Our vision is to make the browser safe and fast for the user and provide the user high speed browsing on the browser.
  • 10. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 4 CHAPTER 3 TECHNOLOGY USED Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture. Java is a general-purpose, concurrent, classbased, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere". Java is currently one of the most popular programming languages in use, and is widely used from application software to web applications. 3.1 FEATURES OF JAVA Platform Independent: The concept of Write-once-run-anywhere (known as the Platform independent) is one of the important key feature of java language that makes java as the most powerful language. Not even a single language is idle to this feature but java is more closer to this feature. The programs written on one platform can run on any platform provided the platform must have the JVM. Simple: There are various features that makes the java as a simple language. Programs are easy to write and debug because java does not use the pointers explicitly. It is much harder to write the java programs that can crash the system but we can not say about the other programming languages. Java provides the bug free system due to the strong memory management. It also has the automatic memory allocation and deallocation system. Object Oriented: To be an Object Oriented language, any language must follow at least the four characteristics. Inheritance : It is the process of creating the new classes and using the behavior of the existing classes by extending them just to reuse the existing code and adding the additional features as needed.
  • 11. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 5 Encapsulation: It is the mechanism of combining the information and providing the abstraction. Polymorphism: As the name suggest one name multiple form, Polymorphism is the way of providing the different functionality by the functions having the same name based on the signatures of the methods. Dynamic binding : Sometimes we don't have the knowledge of objects about their specific types while writing our code. It is the way of providing the maximum functionality to a program about the specific type at runtime. Robust: Java has the strong memory allocation and automatic garbage collection mechanism. It provides the powerful exception handling and type checking mechanism as compare to other programming languages. Compiler checks the program whether there any error and interpreter checks any run time error and makes the system secure from crash. All of the above features makes the java language robust. Distributed: The widely used protocols like HTTP and FTP are developed in java. Internet programmers can call functions on these protocols and can get access the files from any remote machine on the internet rather than writing codes on their local system. Portable: The feature Write-once-run-anywhere makes the java language portable provided that the system must have interpreter for the JVM. Java also have the standard data size irrespective of operating system or the processor. These features makes the java as a portable language. Dynamic: While executing the java program the user can get the required files dynamically from a local drive or from a computer thousands of miles away from the user just by connecting with the Internet. Secure: Java does not use memory pointers explicitly. All the programs in java are run under an area known as the sand box. Security manager determines the accessibility options of a class like reading and writing a file to the local disk. Java uses the public key encryption system to allow the java applications
  • 12. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 6 to transmit over the internet in the secure encrypted form. The bytecode Verifier checks the classes after loading. Performance: Java uses native code usage, and lightweight process called threads. In the beginning interpretation of bytecode resulted the performance slow but the advance version of JVM uses the adaptive and just in time compilation technique that improves the performance. Multithreaded: As we all know several features of Java like Secure, Robust, Portable, dynamic etc; you will be more delighted to know another feature of Java which is Multithreaded. Java is also a Multithreaded programming language. Multithreading means a single program having different threads executing independently at the same time. Multiple threads execute instructions according to the program code in a process or a program. Multithreading works the similar way as multiple processes run on one computer. Multithreading programming is a very interesting concept in Java. In multithreaded programs not even a single thread disturbs the execution of other thread. Threads are obtained from the pool of available ready to run threads and they run on the system CPUs. This is how Multithreading works in Java which you will soon come to know in details in later chapters. Interpreted: We all know that Java is an interpreted language as well. With an interpreted language such as Java, programs run directly from the source code. The interpreter program reads the source code and translates it on the fly into computations. Thus, Java as an interpreted language depends on an interpreter program. The versatility of being platform independent makes Java to outshine from other languages. The source code to be written and distributed is platform independent. Another advantage of Java as an interpreted language is its error debugging quality. Due to this any error occurring in the program gets traced. This is how it is different to work with Java.
  • 13. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 7 CHAPTER 4 SYSTEM REQUIREMENTS A System Requirements Specification (SRS) (also known as a Software Requirements Specification) is a document or set of documentation that describes the features and behaviour of a system or software application. It includes a variety of elements that attempts to define the intended functionality required by the customer to satisfy their different users. In addition to specifying how the system should behave, the specification also defines at a high-level the main business processes that will be supported, what simplifying assumptions have been made and what key performance parameters will need to be met by the system. 4.1 SOFTWARE REQUIREMENTS The software requirements are description of features and functionalities of the target system. Requirements convey the expectations of users from the software product. The requirements can be obvious or hidden, known or unknown, expected or unexpected from client’s point of view. It defines how the intended software will interact with hardware, external interfaces, speed of operation, response time of system, portability of software across various platforms, maintainability, speed of recovery after crashing, Security, Quality, Limitations etc. The software requirements in our program are: Programming language: JAVA. 1. Compiler: JAVAC 2. Operating System: Windows. 4.2 HARDWARE REQUIREMENTS There are hardware requirements, also known as system requirements, for every OS we are going to use. These requirements include the minimum processor speed, memory, and disk space required to install Windows. In almost all cases, you will want to make sure that your hardware exceeds these
  • 14. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 8 requirements to provide adequate performance for the services and applications running on the server. The table below outlines the minimum hardware requirements to execute this project. 1. Processor: Any 3rd Gen+ Intel Processor or even a 1st gen AMD processor. 2. RAM: Since here it was done on VM Ware Workstation 15, It might require minimum of 4GB of RAM if it was just done on Ubuntu then 2GB of RAM. 3. Graphics: Minimal.
  • 15. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 9 CHAPTER 5 METHODOLOGY Fig no. 5.1 Working of WebBrowser A browser is a software application used to locate, retrieve and display content on the World Wide Web, including Web pages, images, video and other files. As a client/server model, the browser is the client run on a computer that contacts the Web server and requests information. The Web server sends the information back to the Web browser which displays the results on the computer or other Internet-enabled device that supports a browser. Today’s browsers are fully-functional software suites that can interpret and display HTML Web pages, applications, JavaScript, AJAX and other content hosted on Web servers. Many browsers offer plug-ins which extend the capabilities of the software so it can display multimedia information (including sound and video), or the browser can be used to perform tasks such as videoconferencing, to design web pages or add anti-phishing filters and other security features to the browser. Your Browser connects the server and requests a page Your server sends back the requested page Server Machine running a Web Server Your machine running a web browser
  • 16. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 10 CHAPTER 6 IMPLEMENTATION CODE: 6.1 HOME.JAVA package webrowser; import webrowser.WeBrowser; import static webrowser.HOME.main; import webrowser.gmail; import webrowser.youtube; public class HOME extends javax.swing.JFrame { public HOME() { initComponents(); } @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code"> private void initComponents() { jLabel1 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton(); jButton3 = new javax.swing.JButton();
  • 17. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 11 setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/webrowser/Logo comp-min.png"))); // NOI18N jButton1.setText("Google"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); jButton2.setText("YouTube"); jButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton2ActionPerformed(evt); } }); jButton3.setText("G-Mail"); jButton3.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton3ActionPerformed(evt); } }); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(154, 154, 154) .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 541, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(213, Short.MAX_VALUE))
  • 18. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 12 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addGap(127, 127, 127) .addComponent(jButton2) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton1) .addGap(169, 169, 169) .addComponent(jButton3) .addGap(155, 155, 155)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(43, 43, 43) .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 342, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 77, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELI NE) .addComponent(jButton1) .addComponent(jButton2) .addComponent(jButton3)) .addGap(45, 45, 45)) ); pack(); }// </editor-fold> private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { String[] args = null; // TODO add your handling code here: WeBrowser.main(args);
  • 19. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 13 } private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: String[] args = null; webrowser.youtube.main(args); } private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: String[] args = null; webrowser.gmail.main(args); } /** * @param args the command line arguments */ public static void main(String args[]) { /* Set the Nimbus look and feel */ //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html */ try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { javax.swing.UIManager.setLookAndFeel(info.getClassName()); break; } } } catch (ClassNotFoundException ex) {
  • 20. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 14 java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (InstantiationException ex) { java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(HOME.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } //</editor-fold> /* Create and display the form */ java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new HOME().setVisible(true); } }); } // Variables declaration - do not modify private javax.swing.JButton jButton1; private javax.swing.JButton jButton2; private javax.swing.JButton jButton3; private javax.swing.JLabel jLabel1; // End of variables declaration private void WeBrowser() {
  • 21. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 15 throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }
  • 22. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 16 6.2 WEBROWSER.JAVA package webrowser; import javafx.application.Platform; import javafx.embed.swing.JFXPanel; import javafx.scene.Scene; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import javax.swing.JFrame; import javax.swing.WindowConstants; public class WeBrowser { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here final JFrame frame=new JFrame(); //frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.setSize(1800,700); final JFXPanel fxpanel=new JFXPanel(); frame.add(fxpanel); Platform.runLater(new Runnable() { @Override public void run() { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. WebEngine engine; WebView wv=new WebView();
  • 23. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 17 engine=wv.getEngine(); fxpanel.setScene(new Scene(wv)); engine.load("https://www.google.com"); } }); frame.setVisible(true); } static void main() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }
  • 24. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 18 6.3 GMAIL.JAVA package webrowser; import javafx.application.Platform; import javafx.embed.swing.JFXPanel; import javafx.scene.Scene; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import javax.swing.JFrame; import javax.swing.WindowConstants; /** * * @author dkool */ public class gmail { public static void main(String[] args) { // TODO code application logic here final JFrame frame=new JFrame(); //frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.setSize(1800,700); final JFXPanel fxpanel=new JFXPanel(); frame.add(fxpanel); Platform.runLater(new Runnable() { @Override public void run() { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. WebEngine engine;
  • 25. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 19 WebView wv=new WebView(); engine=wv.getEngine(); fxpanel.setScene(new Scene(wv)); engine.load("https://www.gmail.com"); } }); frame.setVisible(true); } static void main() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } } 6.4 YOUTUBE.JAVA package webrowser; import javafx.application.Platform; import javafx.embed.swing.JFXPanel; import javafx.scene.Scene; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import javax.swing.JFrame; import javax.swing.WindowConstants; /** * * @author dkool */
  • 26. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 20 public class youtube { public static void main(String[] args) { // TODO code application logic here final JFrame frame=new JFrame(); //frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.setSize(1800,700); final JFXPanel fxpanel=new JFXPanel(); frame.add(fxpanel); Platform.runLater(new Runnable() { @Override public void run() { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. WebEngine engine; WebView wv=new WebView(); engine=wv.getEngine(); fxpanel.setScene(new Scene(wv)); engine.load("https://www.youtube.com"); } }); frame.setVisible(true); } static void main() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }
  • 27. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 21 CHAPTER 7 RESULTS 7.1 HOME.JAVA Fig no. 7.1 Home Page This is our home page of Browser containing 3 shortcuts of 1. Youtube 2. Google 3. G-Mail
  • 28. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 22 7.2 WEBROWSER.JAVA Fig no. 7.2 Search Engine Page This is our search engine page. We used google as a search engine as shown in Fig 7.2 7.3 YOUTUBE.JAVA Fig no. 7.3 YouTube Page
  • 29. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 23 This is our YouTube page as shown in Fig 7.3 7.4 GMAIL.JAVA Fig no. 7.4 Gmail Page This is our G-Mail Page as shown in Fig 7.4
  • 30. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 24 CHAPTER 8 CONCLUSION A web browser opens a connection to a web server based on the URL entered by the user. The URL specifies the protocol to use, typically http for web servers. The last entry in the URL includes the directory and file names that the browser is looking for. Web Browsers are of different kinds but all are used to search what we want from web, the browsers differ from each and every one, the action they perform was same. Some browsers above are more effective compared to others.  During this experiment, I tested 10 browsers to see which one is the fastest during this experiment. I learned how to measure browser speed.  My results from my experiment proved my hypothesis right Problems that may have affected my experiment is that too many people may be on YouTube when it I tested Internet Explorer, since it took 5 seconds to load.  Another discovery that was made is that not all pages load at the same time. Because I think that I did everything correctly and the results were pretty accurate, the experiment went very well.
  • 31. WeBrowser - PRIVATE BROWSER ----------------------------------------------------------------------------------------------------------------------------------------------------------------- DSU, BCA Dept. 2019-2020 25 CHAPTER 9 REFRENCES https://docs.oracle.com/javaee/7/api/javax/ws/rs/core/Link.html https://corochann.com/javadoc-coding-rule-of-link-linkplain-see-372.html https://www.javatpoint.com/java-singly-linked-list-example https://www.google.com/amp/s/www.javaworld.com/article/3336161/what-is-jsp-introduction-to-jav aserver-pages.amp.html https://openjfx.io/ https://netbeans.org/kb/72/java/javafx-setup.html https://www.javatpoint.com/javafx-with-eclipse https://www.jetbrains.com/help/idea/javafx.html https://en.m.wikipedia.org/wiki/Swing_(Java)