Win a copy of Svelte and Sapper in Action this week in the JavaScript 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

regarding tab key

Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

i wrote an editor using swings. To provide input through console, i used the event handlers for keyboard events like
keypressed(), key released()etc.. i also provided some tool bar for opening a file, saving etc. i was able to define the action for almost all the keys on the keyboard, except for some keys. i was unable to get the control of tab key. when i am pressing a tab key, the control is movig on toll bar options only. the conrol is not getting int the frame, on which i used to display the text.
what i finally require is that how can i get the control of 'tab key' and how can i define some actions that are to be performed on pressing tab keys.
i will be thankful if any body can help me in this regard.
bye one and all,

There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic