Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  What does the jvm do when it outputs "basic: Stopping applet..."  (Read 4711 times)
0 Members and 1 Guest are viewing this topic.
Offline draacule

Senior Newbie

« Posted 2007-06-21 23:22:31 »

I have an applet running in a browser.
Sometimes when I try to close the browser ( Firefox & IE ) they freeze.
The last line I see in the jvm output is "basic: Stopping applet..."

What methods of my applet is the jvm trying to call when it is stopping the applet?
Offline brackeen

Junior Devvie

« Reply #1 - Posted 2007-06-22 01:30:32 »

stop() and destroy()

Safari calls stop() when you switch to a different tab, and calls start() again when you switch back. All the other browsers call stop() when you leave the page that contains applet, either by closing the tab or navigating to a different page.

In all browsers (AFAIK), when you leave the page, stop() is called followed by destroy().
Offline keldon85

Senior Devvie

Medals: 1

« Reply #2 - Posted 2007-06-22 08:03:23 »

Yes, the browsers became naughty and stopped doing that ^_^

As for the freezing, what is your applet actually doing? That just shouldn't happen.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline oNyx

JGO Coder

Medals: 2

pixels! :x

« Reply #3 - Posted 2007-06-22 08:48:01 »

Why is this in the J2ME forum?

弾幕 ☆ @mahonnaiseblog
Offline Linuxhippy

Senior Devvie

Medals: 1

Java games rock!

« Reply #4 - Posted 2007-06-30 20:01:25 »

Well in fact this is one of those cases where the plugin or the browser is buggy. One of those cases why applets are hated so much.

Could you please update to the latest version of java (1.5.0_12 or 1.6.0_1) and see if the problem is still there.
If its still there could you please file a bug-report at - with detailed informations about your system (versions of browsers, installed service packs, ...).

lg Clemens
Pages: [1]
  ignore  |  Print  

EgonOlsen (45 views)
2018-06-10 19:43:48

EgonOlsen (27 views)
2018-06-10 19:43:44

EgonOlsen (47 views)
2018-06-10 19:43:20

DesertCoockie (210 views)
2018-05-13 18:23:11

nelsongames (127 views)
2018-04-24 18:15:36

nelsongames (126 views)
2018-04-24 18:14:32

ivj94 (867 views)
2018-03-24 14:47:39

ivj94 (128 views)
2018-03-24 14:46:31

ivj94 (779 views)
2018-03-24 14:43:53

Solater (143 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!