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

  • Home
  • SEARCH
  • 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 9218755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:56:11+00:00 2026-06-18T02:56:11+00:00

I want to have logout functionality in java application, I am using some timers

  • 0

I want to have logout functionality in java application, I am using some timers in my application. I want to dispose all the jframes, their contents and stop all timers when i click on logout button. And after pressing logout button the main jframe should disappear and login screen should appear with fresh memory.

I have tried to dispose my jframes and make them visible false and make login screen visible.
All the stuff works well but the previous timers are not stopped and application is using more memory.

  • 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. Editorial Team
    Editorial Team
    2026-06-18T02:56:12+00:00Added an answer on June 18, 2026 at 2:56 am

    In general if you want to start from scratch after logout you can try something like starting new instance of application just before you exit the current instance. In any non trivial program it can get problematic to explicitly cleanup everything yourself. Apart from timers you could have various other kinds of resource leakages.

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

Sidebar

Related Questions

I have a logins table which records all login and logout activities. I want
I try to read out all existing calendars. I want have a HashMap with
In my app I have a logout functionality. If user clicks logout it goes
On my Tomcat-Spring-Java project I want to have the following URLS /index - to
I have Python script bgservice.py and I want it to run all the time,
I have a simple MVC 3 application. I want the site to automatically redirect
i have integrated Fbconnect in LoginViewController.I want to logout the session from another view
I have an issue with my login functionality. When user clicks the logout link
I want to have this method [User logOut]; run when a user touches the
On my website I want the user to have the ability to login/logout from

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.