Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #20041

Re: Is there a delay in select() of JTextComponent?

From Jan Burse <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: Is there a delay in select() of JTextComponent?
Date 2012-12-02 18:52 +0100
Organization albasani.net
Message-ID <k9g4gj$1ah$1@news.albasani.net> (permalink)
References <k9g365$t0b$1@news.albasani.net>

Show all headers | View raw


Jan Burse schrieb:
> How can I prevent that my F2 actions get stacked up because
> the GUI is not responding fast enough? It seems that the
> GUI is fast enough, since everything else works fine, such
> as arrow down or scroll bar. But somehow the select() seems
> to be slow.

It happens already with this simple action:

             int offset = getSelectionEnd();
	    select(offset + 150, offset + 155);

I am using a TextArea with around 51'000 text lines.

Bye

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is there a delay in select() of JTextComponent? Jan Burse <janburse@fastmail.fm> - 2012-12-02 18:29 +0100
  Re: Is there a delay in select() of JTextComponent? Jan Burse <janburse@fastmail.fm> - 2012-12-02 18:52 +0100
  Re: Is there a delay in select() of JTextComponent? Jan Burse <janburse@fastmail.fm> - 2012-12-02 19:09 +0100

csiph-web