Re: Where's Juan Carlos when you need him? (Re: Tab taking keyboard focus away from applet...HELP!)
Richard Maher wrote:
...
I've only ever worked with blind Applets ..
What exactly is a 'blind' applet, and how does it differ from an
applet with '20/20' vision?
...so this post is probably of limited
use, ..
Puhh! Enough excuses already, get to the solution/suggestion!
...but I cannot bare to see you treated so badly, so in the absence of an
Applet-friendly newsgroup here goes:-
We are using the Sun JRE 1.6.0_03 in IE for applets.
Here are some of the things I have tried thus far without success.
FWIW, have you tried tackling it from the JavaScript side?
Classic. I was just waiting for somebody to suggest JS as a helper.
FWIW - all sarcasm aside - I think that might be the best/only
soutlion to the problem as stated.
...
Alternatively, a quick search of the web suggests that you should be
invoking the setFocusTraversalKeysEnabled(false) method on the Applet
itself, in the init or start methods - have you tried that?
Unfortunately (my) experience suggest they only have an
effect if the applet *already* has input focus. Admittedly
though, I have no 'test case' for people to surf to, & prove
me wrong.
No, it is not a car, but it functions much like the dashboard in your
car.
For anyone else who have trouble conceptualizing a dashboard, here's a
pretty good example:-
http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html
or this: -
http://examples.adobe.com/flex3/labs/dashboard/main.html#
(abashed) ok OK! I might look over them later.
So just in case you're running out of gobby Aussies ..
<dws>Or the 'reality' that means applets are doomed?</dws>
..who can't help but tell
you (and the whole world) how to run your lives, my suggestion is that you
drop the Applet graphics and use Flex Charting instead.
Are you *serious*? That is very funny. ;-)
Come to think of it, you've been told here many times that "SUN is
deprecating Applets!",
By who? When? If you don't produce links to actual posts*,
I will consider you a lier/mistaken.
* I have said similar things in the past, but have never gone so far
as to say that Sun has *deprecated* applets.
OTY.
Over to You? That is an obscure one!
Oh, and since I've spent the time (and the bandwidth of other people)
to kick back into this thread, I'll mention another thing ..
You (the OP) mentioned earlier that some of the content the app.
needs to display, comes from web pages, and that was another
reason you felt the app. could not be
a) Entirely contained within a JFrame (or equivalent) and therefore..
b) Represented in pure Java.
A thought occured that you might use an 'embedded' browser
within Java - JDIC supplies an API that will allow you to do that
on Win/*nix systems at least. OTOH - that does lead to more
're-engineering' of the app. than if it had been a single, self
contained applet as your first post suggested.
--
Andrew Thompson
http://www.physci.org/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200712/1