How can I create a virtual keypad?

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!