# Create a touch keyboard on a new frame / JPanel

**URL:** <https://forum.universal-robots.com/t/create-a-touch-keyboard-on-a-new-frame-jpanel/3263>\
**Category:** Java\
**Tags:** keyboard\
**Created:** [December 7, 2018, 5:07am UTC](https://forum.universal-robots.com/t/create-a-touch-keyboard-on-a-new-frame-jpanel/3263 "2018-12-07T05:07:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon44063275](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anon44063275](https://forum.universal-robots.com/u/anon44063275)\
**Post date:** [December 7, 2018, 5:07am UTC](https://forum.universal-robots.com/t/create-a-touch-keyboard-on-a-new-frame-jpanel/3263/1 "2018-12-07T05:07:01Z")

</div>

HI,

Is it impossible to create a touch keyboard in a new frame? If so, in what way?

---

<div class="post-metadata">

**Author:** ![inu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/inu/32/732_2.png) [@inu](https://forum.universal-robots.com/u/inu)\
**Post date:** [December 9, 2018, 11:12pm UTC](https://forum.universal-robots.com/t/create-a-touch-keyboard-on-a-new-frame-jpanel/3263/2 "2018-12-09T23:12:20Z")

</div>

Hello,

It depends on what you are trying to implement. It may be beneficial to check out the coordinate map example to see how you can use the touchevent to accomplish a keyboard type of functionality.

Example: [GitHub - UniversalRobots/CoordinateMapHTML: URCap sample that mainly demonstrates the principle of TouchEvent](https://github.com/UniversalRobots/CoordinateMapHTML)

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [December 10, 2018, 2:12pm UTC](https://forum.universal-robots.com/t/create-a-touch-keyboard-on-a-new-frame-jpanel/3263/3 "2018-12-10T14:12:26Z")

</div>

If the JComponent you want to attach a (default UR touch keyboard) to, is a child within the parent JPanel in your View-class, it is possible to tie this keyboard tot hat component.

It is generally not possible to tie a UR supplied keyboard, to an overlay outside of the bounds of the View-JPanel.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [January 27, 2021, 12:15am UTC](https://forum.universal-robots.com/t/create-a-touch-keyboard-on-a-new-frame-jpanel/3263/4 "2021-01-27T00:15:09Z")

</div>

Closed on January 27, 2021, 12:15am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
