• Post Reply Bookmark Topic Watch Topic
  • New Topic

soft keyboard  RSS feed

 
Cathy Song
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Is there an API/package using which I can implement a soft keyboard (also known as onscreen keyboard) using Java ?

Thanks,
Cathy.
 
Mahesh x Bogadi
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume U want to allow the user to click on the soft keyboard as well as allow the user to press keys on the actual key board.
So I suggest.

* Use Buttons with like a button for 'a'
* Use setMnemonic(...) method to assign keys.
* Use actionlistener to the buttons.

I assume you know how to layout the componenet using Layout Managers

I suggest to use SpringLayout or GridLayout.
 
Cathy Song
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mahesh, there is no actual "hardware keyboard" for my application. Only on screen keyboard.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!