Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

On Screen Key Board  RSS feed

 
Talha-bin -Shakir
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working on a KIOSK System. And need to do a on screen key board. I have no idea about it that how to do. So can you guys please help me out to do this. Any one have some idea about it.
Thanks
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using Swing for the kiosk, you need to
1) Set a proper layout for the JPanel (grid layout suggests itself)
2) Subclass JButton. Assocate a custom action with it
3) Layout the buttons on the panel
4) Add the panel to the container as required.

If you google, you will find many examples of calculators built in swing which will be useful to you.
Start trying it out yourself, and if you run into any problems, come back here and we will be most happy to lend a helping hand.
Best of luck
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!