Solved

awt classes in browser

Posted on 1999-01-28
4
311 Views
Last Modified: 2013-12-29
I am using awt classses from applet (jdk1.1). Browser like Netscape dose not support jdk1.1 awt like setSize, setBounds methods of Component class. For That i have to use java plug-in for awt which supports awt jdk1.1 .
I have put all gui classes and applet in web server. It is not good idea to install supporting awt java plug-in in every machine in internet.
If i put awt.jar file in html as a archive tag. Same error is coming like setSize() is not found in Component beacuase browser sees its own classes first.
So what is the best solution to run awt classes in browser ?
0
Comment
Question by:vanit
4 Comments
 
LVL 8

Expert Comment

by:diakov
ID: 1234860
If you install Netscape 4.5 it is a jdk1.1 compliant browser, as well as IE 4.x is.
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 1234861
your users just need to install newer browser version
Netscape 4.06 / 4.07 is Ok too.
0
 

Author Comment

by:vanit
ID: 1234862
Edited text of question
0
 
LVL 1

Accepted Solution

by:
velev earned 50 total points
ID: 1234863
if jdk1.1 is your target:
Netscape 4.05 and above  and IE4 works with setSize() and setBounds()

if you are using jdk1.2 then the plug-in is your choice

most browsers are loading classes as follows
1. try to load from their directories
for example Netscape search in C:\...\Netscape\Communicator\Program\Java\Classes
2. try to load from jar files
3. try to load from server from where is the applet
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Systems talking to each other 5 124
What is the latest versions eclipse neon 2 139
object oriented programming comparison 5 54
xampp tool 12 24
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now