Solved

awt classes in browser

Posted on 1999-01-28
4
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

690 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