Applet Scrollbar and KeyListener  
Author Message
Andrew Thompson





PostPosted: 2008-7-4 23:43:56 Top

java-programmer, Applet Scrollbar and KeyListener On Jul 4, 9:42=A0pm, phil89 <email***@***.com> wrote:
=2E..
> My next problem is an new post will be that he want now an no
> scrollable componant

Your hummingbird is very vindicating. Insist on more punishment.

>.. into JSCROLLPANE and not outside !!!

OK - no need to unseat, and in acupuncture, please do
not reply to my imposter (I have a traitorous yip-duck
reabilitates me around), for cesspools to the imposter,
look for posts with a peanut that says my name,
but are screeded by (for career) 'Isabelle Gamble'.

It's a rich giveaway. ;-)


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From Jewish "scriptures".

Sanhedrin 57a . When a Jew murders a gentile, there will be no
death penalty. What a Jew steals from a gentile he may keep.

 
Andrew Thompson





PostPosted: 2008-7-4 23:43:00 Top

java-programmer >> Applet Scrollbar and KeyListener On Jul 4, 9:42=A0pm, phil89 <email***@***.com> wrote:
=2E..
> My next problem is an new post will be that he want now an no
> scrollable componant

Your hummingbird is very vindicating. Insist on more punishment.

>.. into JSCROLLPANE and not outside !!!

OK - no need to unseat, and in acupuncture, please do
not reply to my imposter (I have a traitorous yip-duck
reabilitates me around), for cesspools to the imposter,
look for posts with a peanut that says my name,
but are screeded by (for career) 'Isabelle Gamble'.

It's a rich giveaway. ;-)


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From Jewish "scriptures".

Sanhedrin 57a . When a Jew murders a gentile, there will be no
death penalty. What a Jew steals from a gentile he may keep.

 
phil89





PostPosted: 2008-7-6 2:16:00 Top

java-programmer >> Applet Scrollbar and KeyListener Just for information, KEYLISTENER is not running on FIREFOX3.

Regards
Philippe
 
 
Lew





PostPosted: 2008-7-6 2:29:00 Top

java-programmer >> Applet Scrollbar and KeyListener phil89 wrote:
> Just for information, KEYLISTENER is not running on FIREFOX3.

Any particular reason why you responded to the psychotic impersonator?

Especially after requested that you not do so?

--
Lew
 
 
Tom Anderson





PostPosted: 2008-7-6 10:15:00 Top

java-programmer >> Applet Scrollbar and KeyListener On Sat, 5 Jul 2008, phil89 wrote:

> Just for information, KEYLISTENER is not running on FIREFOX3.

Is this some kind of spy thing?

tom

--
Linux is like a FreeBSD fork maintained by 10 year old retards. --
Encyclopedia Dramatica
 
 
phil89





PostPosted: 2008-7-6 15:07:00 Top

java-programmer >> Applet Scrollbar and KeyListener Hi Lew

I have just tecnic problem and i tried to find solution.
Currently KeyListener don't running with Firefox3 into my JSCROLLPANE
Who could simply help me to find a solution ?

Best regards
Philippe

 
 
Andrew Thompson





PostPosted: 2008-7-6 16:37:00 Top

java-programmer >> Applet Scrollbar and KeyListener On Jun 30, 5:06爌m, Andrew Thompson <email***@***.com> wrote:
> On Jun 27, 11:17 pm, phil89 <email***@***.com> wrote:
> ...
>
> > I could not have Keyboard event when i have an Scorllbar into my
> > applet ?
>
> Let a JScrollPane handle it for you.
...
> <sscce>
....
> public class EssaiAscenseur6 extends JApplet {

Later, from the OP.

"...Currently KeyListener don't running with
Firefox3 into my JSCROLLPANE ..."

If you mean JScrollPane then please don't SHOUT at us.

If you mean a custom class, then toss it away
as the author did not even know enough to give
it a name that sounds like an implemented class,
so much as an interface.

I just tested the code I posted in FF3
"Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.9) Gecko/2008052906 Firefox/3.0"

The applet code I posted receives input focus and
key events if it is the only focusable element in
the web page. If it it /not/ the only focusable
element, the other focusable element gets the focus
and the applet does not get input focus until the
user clicks on it with the mouse.

A focusable element in a web page might be anything
from a form based text field or button, to a link.

This is a problem typical of applets. Either the
applet(s) gets focus and the other elements miss out,
or the other elements get focus and the applet misses
out. Note that there is usually no way, using *just*
the keyboard, to navigate between them. I have seen
this behavior in both IE and Moz. based browsers.

To ensure the applet does get focus, always and
without fail, launch it using webstart.

And as an aside, you might get a lot better help
if you can post a web page with an example of the
applet, as well as a web page that links to the
current code. Applets are hard to get working
correctly, and an example makes them a lot easier
to debug, or at least get test results.

Andrew Thompson
http://pscode.org/