Re: How to refresh UI immediately?
- From: veryhairydog <priyeshgpatel@xxxxxxxxx>
- Date: Wed, 18 Jun 2008 01:59:49 -0700 (PDT)
Wrap your long executing process in a swing worker.
On Jun 17, 9:07 pm, mrstephengross <mrstevegr...@xxxxxxxxx> wrote:
I have a combobox with an ActionListener. When you select an item, it
fires off a process that can take a few seconds to execute. I have
found that when you click your selection, it fires the process but
does not immediately close the combo box. That is, it waits until the
process is done running before closing the combobox.
Is there a way to change this behavior? I would like to close the
combobox immediately after an item in it is selected and then fire off
the process.
Thanks,
--Steve
.
- References:
- How to refresh UI immediately?
- From: mrstephengross
- How to refresh UI immediately?
- Prev by Date: Re: How to refresh UI immediately?
- Next by Date: Re: Repainting and threading - the eternal problem...
- Previous by thread: Re: How to refresh UI immediately?
- Next by thread: Re: How to refresh UI immediately?
- Index(es):
Relevant Pages
|