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 8189731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:22:53+00:00 2026-06-07T03:22:53+00:00

I know how to actually add the element to the JList itself, but I

  • 0

I know how to actually add the element to the JList itself, but I am unsure how to make my Event Log (which uses the JList along with a DefaultListModel) update as the updates actually occur. It seems as though my application freezes up then all entries are shown when it’s over. Please help?

  • 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-07T03:22:54+00:00Added an answer on June 7, 2026 at 3:22 am

    I’m 100% sure that you’ve got a Swing concurrency issue where you’re tying up the Swing event dispatch thread or EDT with a long-running process. The problem is that the Swing even thread is responsible for performing all Swing drawing and user interactions. If it is tied up with some long running process such as file or database input or output, then it can’t perform its responsibilities, and the whole GUI becomes frozen. The solution is to use a background thread such as a SwingWorker, so that the long-running process doesn’t tie up the EDT, but taking care to update Swing components such as the JList or its model on the EDT.

    Please check out the Swing concurrency tutorial for more details on the problem and its solution.

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

Sidebar

Related Questions

An Android mobile actually does know quite well where it is - but is
I know it's been asked before and answered, but i just can't make it
I want to know what actually happens when you annotate a method with @Transactional
First: apologies for the question title, I don't actually know what the problem is
2 Questions actually: I know i must use Stored Procedures as much as Possible,
Does anyone know how DbDataReaders actually work. We can use SqlDataReader as an example.
I wanted to know How OS actually makes a program in to process. what
If I have an object instance and I know it is actually a boxed
I know it sounds and actually is stupid. I am trying to promote my
I'm curious to know if multiple images actually show up in the feed. I

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.