Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 62055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:24:57+00:00 2026-05-10T18:24:57+00:00

I have a JApplet which I contains various Swing components. It also starts a

  • 0

I have a JApplet which I contains various Swing components. It also starts a couple of extra threads in the init() and generally does other pretty standard applet-y things.

If I close the browser window containing the Applet, the JRE doesn’t die (the icon remains in the system tray) until all the browser’s windows have been closed (ie the browser has completely ended and disappears from the task manager)

Is this the expected behaviour or should the JRE end when the browser window enclosing the Applet closes?

I have a destroy() method, but (at present) it only stops the extra threads I started in the init() method. Should I be doing more in here maybe? Are there any other best-practises I should be following?

If you’d like any more info, please let me know in the comments.

🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:24:57+00:00Added an answer on May 10, 2026 at 6:24 pm

    I believe the JRE is loaded as a plugin to the browser, and the icon is supposed to remain in the system tray until the browser ends.

    The reasoning behind this is that if you load one applet, leaving the JRE running will accelerate future applets’ loading times.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JFrame which contains a JApplet. There are shortcut keys that I
I have a Java JApplet embedded in a web page. The JApplet window contains
I have a login.jsp page which contains a login form. Once logged in the
I have created all my project files as swing applications, i.e files extending JApplet,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I created a JApplet which uses two external libraries ( JENA and JUNG ).
I have got a problem here in terminating the threads. The problem is that
Creating a JApplet I have 2 Text Fields, a button and a Text Area.
I am creating a chat application using JApplet . I have a TextArea where
i have a input tag which is non editable, but some times i need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.