Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

Lag/delay in text input

Thread view: 
rischconsulting@gmail.com - 28 Jul 2006 18:22 GMT
I don't know if this the right place to post this.  If there is
another, please let me know.

Every Java App I install on my machine has painfully slow UI response
time for input boxes.  The text is there, as I can type and click "OK"
and the text gets processed, but it doesn't actually show up on screen
for 5-15 seconds after typing.

Any ideas on why this would happen?  I have the latest JRE installed.

Thanks in advance for any comments.

MR
rischconsulting@gmail.com - 28 Jul 2006 18:31 GMT
Added information - if I click on another window - non-java, the text
input shows what I typed immediately.  It's as if it is being held in a
buffer waiting for processing, and the buffer is flushed by time or if
I click on another app.  Other computers in my office don't have this
problem.

> I don't know if this the right place to post this.  If there is
> another, please let me know.
[quoted text clipped - 9 lines]
>
> MR
Knute Johnson - 28 Jul 2006 18:33 GMT
> Added information - if I click on another window - non-java, the text
> input shows what I typed immediately.  It's as if it is being held in a
[quoted text clipped - 15 lines]
>>
>> MR

Are you using the new JDK 1.5.0_07?  I've seen this especially with
checkboxes.  Try going back to 1.5.0_06 or using the new 1.6 beta2.

Signature

Knute Johnson
email s/nospam/knute/

Andrew Thompson - 28 Jul 2006 18:48 GMT
> I don't know if this the right place to post this.  If there is
> another, please let me know.

The people who stick to the original charters
might object.   (shrugs) I'm not one of them.

> Every Java App I install on my machine has painfully slow UI response
> time for input boxes.

The link below is technically not an app(lication),
it is an applet, but it should use the same JVM
your apps. are using (fingers crossed).
<http://www.physci.org/test/resize/fullwndw.html>

This smallish demonstration applet has both a
text field and text area available in a pop-up dialog.
Produce the dialog by selecting 'Editable' from the
drop-down on the upper right.

Do these text elements show the same slow
behaviour as your applications?

> The text is there, as I can type and click "OK"
> and the text gets processed, but it doesn't actually show up on screen
> for 5-15 seconds after typing.
>
> Any ideas on why this would happen?

Methinks they might be 'blocking the EDT', but
the test above should help us determine that.
(There is no process behind that dialog that could
conceivably block Java's Event Dispatch Thread)

>  ..I have the latest JRE installed.

Let's just check we are all on the same page.

What do the application and applet listed here,..
 <http://www.physci.org/pc/>
..report for java.version?
(The files you are after are jtest.jnlp & jtest-applet.jnlp)

Andrew T.
rischconsulting@gmail.com - 28 Jul 2006 22:21 GMT
Andrew -

You are dead on:
1.  Yes, the applet shows the same results.  Note that I need not click
another window - just moving the dialog works.
2.  Note that this also happened in my browser frame (just clicking on
the editable)
3.  1.5.0_06 class version 49 for both

Thanks for you input!

MR

> > I don't know if this the right place to post this.  If there is
> > another, please let me know.
[quoted text clipped - 39 lines]
>
> Andrew T.
rischconsulting@gmail.com - 29 Jul 2006 16:58 GMT
Turns out it was everything Java - even the console.  I installed 1.6b2
as suggested, and the problem went away.

> Andrew -
>
[quoted text clipped - 52 lines]
> >
> > Andrew T.
Andrew Thompson - 29 Jul 2006 19:43 GMT
> Andrew -
>
> You are dead on:
> 1.  Yes, the applet shows the same results.  Note that I need not click
> another window - just moving the dialog works.

Actually.. that means Knute was dead on.

It obviously was not an EDT problem, as
I first suspected.

Glad my little prog helped confirm it though,
..and (checks next message) glad you got it sorted!  :-)

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.