• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

soft keyboard

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mahesh, there is no actual "hardware keyboard" for my application. Only on screen keyboard.
reply
    Bookmark Topic Watch Topic
  • New Topic