473,506 Members | 14,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Lifecycle for applets

Hello experts!

I have an applet with a textfield where I can see the different states that
the applet has been in and in addition what the present state is. The applet
can say what state it is in because the applet has four metod which is init,
start, stop and destroy. I have the same html file and the same applet when
using the appletviwer and the browser.

Each time when method init is called the applet writes initializing in the
textfield.
Each time when method start is called the applet writes starting in the
textfield.
Each time when method stop is called the applet writes stopping in the
textfield.
Each time when method destroy is called the applet writes destroying in the
textfield.

When I run this applet by using the appletviewer I get the correct text in
the textfield from the applet. For example when I start the appletviewer
with a html with this applet I get initializing and starting in the
textfield which is correct. When I minimize the appletviewer and then bring
it up again the textfield has been added with stopping and starting which is
correct.

When I instead use the Microsoft Internet Explorer browser and run the same
html pages as for the appletviewer with the applet I get initializing and
then starting which is correct.

But if I minimize the browser and then bring the icon up again the textfield
has not been added with anything at all. I assume that stopping and starting
should have been added because that was the case when I used the
appletviewer.

The textfield looks like the following when the appletviewer has been used
and I have minimized the appletviewer two times.
initializing...starting...stopping...starting...st opping...starting

The textfield looks like the following when the browser has been used and I
have minimized the browser two times.
initializing...starting

Can anybody explain why not the stopping and starting was added in the
textfield when I minimized the browser and then bring it up again?
Have I understood this completely wrong?

//Tony
Jul 18 '05 #1
1 4056

"Tony Johansson" <jo*****************@telia.com> wrote in message
news:w8*********************@newsc.telia.net...
When I run this applet by using the appletviewer I get the correct text in
the textfield from the applet. [...]
When I instead use the Microsoft Internet Explorer browser and run the
same html pages as for the appletviewer with the applet I get initializing
and then starting which is correct. [...] Can anybody explain why not the stopping and starting was added in the
textfield when I minimized the browser and then bring it up again?
Have I understood this completely wrong?


Might be that MSIE's implementation is broken.

- Oliver.
Aug 12 '05 #2

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

Similar topics

8
5750
by: Dave D | last post by:
I just read something that spooked me. I'm a newbie working my way through "SAMS Teach Youself Java 2 in 21 Days." I used to code a bit in Symantec's Visual Cafe for Java about 3 years ago, but...
1
3376
by: Justin | last post by:
Hi, We are researching options on which technologies to use for an advanced web application. We are planning on using DHTML as much as possible, but there are a few components that require more...
1
2122
by: Vincent Montressor | last post by:
I'm playing around with writing my own panel applets, and I'm trying to figure out how to get my panel applets to be restored when I log in. As an experiment, I'm using the simple clock applet...
8
3025
by: Andreas Røsdal | last post by:
Hi, Is there such a thing as python applets for web browsers? (eg. such as java applets?) I think that could be useful. Andreas R.
12
4735
by: Wladimir Borsov | last post by:
On one of my web pages there is an java applets which works fine on my computer. However I noticed on some other computer that the run of java applets are disabled. I got an error message...
4
3274
by: Neil Cherry | last post by:
I've seen references to using <applets ... > and document.applets to access public Java functions from Javascript. Do I still use document.applets with <object ...>? BTW, the FAQS page seems to...
0
1009
by: Epson Barnett | last post by:
I'm new to ASP.NET and have run across a problem several times while working on web apps. I often need to create content dynamically (based on an event) which contains dynamically created...
1
3838
by: =?Utf-8?B?QW5kZXJ3IE1pbGxlcg==?= | last post by:
Apologies for posting in this forum, I don't see a more appropriate group... I'm trying to understand the timeline for Window 2003 ending mainstream support. I have consulted the MS lifecycle...
2
3181
by: Gary W. Smith | last post by:
I have a page that inherits from a base page that is currently overriding all of the On* events. For the most part I'm accomplishing everything I set out to do with the inheritance, but I wanted...
2
1412
by: bsmith95610 | last post by:
Hello, I am trying to learn how the asp. Net lifecycle of a web page works. I am a jr. programmer and am just starting to learn C#. Does anyone know of any websites or tutorials that explain...
0
7220
marktang
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,...
0
7105
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...
0
7371
jinu1996
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...
0
7479
tracyyun
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...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3188
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...
0
1534
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
410
bsmnconsultancy
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...

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.