Skip to main content



      Home
Home » Newcomers » Newcomers » button event delay
button event delay [message #11852] Sat, 22 January 2005 14:48 Go to next message
Eclipse UserFriend
Originally posted by: ryusasai.hotmail.com

Hi,

I wrote a java application with SWT using eclipse.
After launching, within first 10 hitting of buttons, one of them
is really slow, sometimes you have to 7 or 8 seconds for the
event to come to the button event handler.
After this one delay, the buttons are really responsive and
delay never happens, until you launch the application again.

Anyone having a good guess about this?

Thank you.

Raiu
Re: button event delay [message #15958 is a reply to message #11852] Tue, 25 January 2005 09:58 Go to previous message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

What else are you doing? If you are executing a lot of Java
code in the main UI thread, no events will be handled.
In general, you should avoid doing lots of work in the UI thread.

Jobs should be used for expensive work that does not
need access to the UI immediately.

--
Chris Laffra, http://eclipsefaq.org


"Ryu" <ryusasai@hotmail.com> wrote in message
news:csualm$49r$1@www.eclipse.org...
> Hi,
>
> I wrote a java application with SWT using eclipse.
> After launching, within first 10 hitting of buttons, one of them
> is really slow, sometimes you have to 7 or 8 seconds for the
> event to come to the button event handler.
> After this one delay, the buttons are really responsive and
> delay never happens, until you launch the application again.
>
> Anyone having a good guess about this?
>
> Thank you.
>
> Raiu
>
>
>
Previous Topic:cobol plugin
Next Topic:Displaying the the editor file path in the application title-bar (repost)
Goto Forum:
  


Current Time: Sat May 10 03:09:38 EDT 2025

Powered by FUDForum. Page generated in 0.06486 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top