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**********@ya hoo.ca 1 2206
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**********@ya hoo.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.ja va.
Best regards
Kristian This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 Java-Applet, compile it, debug it, and
put it as a class on an HTML (like Java-Applet).
I would like to introduce to the dot net technology.
Give me some samples, please, and a comparation to Java-Applet technology.
|
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 C++. I find my self sometimes, trying
Object app = Object();
Object *app = Object();
Object app = new Object();
|
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 this page
http://facs.scripps.edu/surf/buoylist.html When I ran my mouse over the
green CDIP buoys that it would not only show the current data in the upper
part of the summary, but if I clicked on the Dana Point green bar for
instance it would...
|
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 and
I was wondering if anyone here would be able to give me some tips for
young players such as myself, for learning the language.
Is this the best Newsgroup for support with JAVA?
|
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
attending interviews. If you own a company best way to judge if the
candidate is worth of it.
http://www.questpond.com/InterviewRatingSheet.zip
| |
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 JDK 6 downloadable from
http://java.sun.com/javase/downloads/index.jsp.
I will be using JDK 5(update 8)
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |