473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Java Browser for Development

Hello,

I'm a Java newbie and I my boss has asked me to look into finding a
small Java browser for development to incorporate into a Java
application we are building. Does anyone know if such a browser exists
and where to get one?

Ideally, we need a resource-light browser that supports HTML 4.01
Transitional, CSS2, JavaScript 1.5 and XML. Currently, our application
consists of pages that are based on JSP, Java Servlets, HTML 4.01 and
CSS2. We want to display these pages inside of our Java application.

Thanks in advance for you help,

Kevin
me**********@yahoo.ca

Jul 17 '05 #1
1 2183
On Mon, 29 Sep 2003 15:37:55 +0000, Kevin Meixner wrote:
Hello,

I'm a Java newbie and I my boss has asked me to look into finding a
small Java browser for development to incorporate into a Java
application we are building. Does anyone know if such a browser exists
and where to get one?

Ideally, we need a resource-light browser that supports HTML 4.01
Transitional, CSS2, JavaScript 1.5 and XML. Currently, our application
consists of pages that are based on JSP, Java Servlets, HTML 4.01 and
CSS2. We want to display these pages inside of our Java application.

Thanks in advance for you help,

Kevin
me**********@yahoo.ca

Hi Kevin,

That is a lot to ask for. But for starters you could look at
http://java.sun.com/j2se/1.4.2/docs/...ditorPane.html.
It is a graphical component in the javax.swing package which can be set up
to show homepages. That is, show pages occordingly to the HTML 3.2
standard (I know you wrote HTML 4.01, but try it anyway).

Here some code to show how easy it is to use:

import javax.swing.*;
import java.net.*;

public class GoogleViewer extends JFrame {

public static void main (String[] args) throws Exception {
new GoogleViewer ();
}

public GoogleViewer () throws Exception {
super ("GoogleViewer");
getContentPane ().add (new JEditorPane (new URL ("http://www.google.com")));
setSize (300, 400);
setVisible (true);
}
}

If you want to run it remember to put it in a file called
GoogleViewer.java.

Best regards
Kristian
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
by: Eitan | last post by:
Hello, I know Java-Applet (written for JBuilder). I would like to know about dotnet technology, pros and cons in comparation to Java-Applet technololgy. Can I write a program in dotnet, like...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
7
by: Grant | last post by:
Ok I have XP Pro and recently upgraded to SP2 but after doing so one of my favorite webpages to check daily does not respond the same as before. It used to be (pre SP2) that I could when visiting...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
5
by: r035198x | last post by:
Setting up. Getting started To get started with java, one must download and install a version of Sun's JDK (Java Development Kit). The newest release at the time of writting this article is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.