# How can I create a virtual keypad?

**URL:** <https://forum.universal-robots.com/t/how-can-i-create-a-virtual-keypad/35266>\
**Category:** General Application Help: How do I?\
**Created:** [July 16, 2024, 9:30am UTC](https://forum.universal-robots.com/t/how-can-i-create-a-virtual-keypad/35266 "2024-07-16T09:30:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juwi07\_1](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@juwi07\_1](https://forum.universal-robots.com/u/juwi07_1)\
**Post date:** [July 16, 2024, 9:30am UTC](https://forum.universal-robots.com/t/how-can-i-create-a-virtual-keypad/35266/1 "2024-07-16T09:30:14Z")

</div>

Hello all,

I have just started developing URCaps. My knowledge in coding is limited.

I have acchieved to create a URCap with a JTextField, but I have to insert my values with the keyboard.

In URSim you can use (for example in the “Wait” fuction) a virtual keyboard.

How can I create such a virtual keyboard, that only accepts positive doubles.

Please give a detailed code example.

Thanks in advance!
