Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Tab doesn't work in applet

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Applet that has a form with several text fields. I am using JDK 1.4.1 and primarily Windows Machines with IE 5.5/6. And the tab key doesn't seem to work. I hit tab and it does not traverse anywhere. As an application, the tab key works just fine. Is this a bug, a limitation, or what?
Thanks.
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Gregg,
you can make sure if tab is working or not by implementing KeyListener and detect the tab key code and popup some message or something...
if you are able to pop up the message then it will mean your applet is able to detect the tab key. if not then its a problem with the applet (may be due to the JDK1.4 api you are using)...
i have worked with applet with JDK1.1 (way back, huh?) and there this tab thing worked for me.
please let me know whatever you are able to find..
regards
maulin
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I do notice this.
When I hover my mouse over the JTextArea, my pointer does not turn into the cursor. It stays as an Arrow.
I have noticed in the passed that when this happens I lose TAB capabilites. But usually I starts off ok. But on this applet it doesn't.
Does anyone have any insight?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have attempted to catch the VK_TAB event in my code. Appearntly, the tab key is not even getting registered when I type it.
Does anyone know anything about my problem?
Thanks.
 
He got surgery to replace his foot with a pig. He said it was because of this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic