# graphical user interface in java

**URL:** <https://talk.openmrs.org/t/graphical-user-interface-in-java/32844>\
**Category:** Community\
**Created:** [March 25, 2021, 9:34am UTC](https://talk.openmrs.org/t/graphical-user-interface-in-java/32844 "2021-03-25T09:34:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![allan](https://talk.openmrs.org/user_avatar/talk.openmrs.org/allan/32/14023_2.png) [@allan](https://talk.openmrs.org/u/allan)\
**Post date:** [March 25, 2021, 9:34am UTC](https://talk.openmrs.org/t/graphical-user-interface-in-java/32844/1 "2021-03-25T09:34:24Z")

</div>

what may be the problem when my exit button does not respond. i handled the event but when i run the program and then click on the exit button, there is no response from the program.

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [March 25, 2021, 10:41am UTC](https://talk.openmrs.org/t/graphical-user-interface-in-java/32844/2 "2021-03-25T10:41:53Z")

</div>

What are you trying to do?

---

<div class="post-metadata">

**Author:** ![nkumar](https://talk.openmrs.org/letter_avatar/nkumar/32/6_22734026db12803ebb3e059622ac3534.png) [@nkumar](https://talk.openmrs.org/u/nkumar)\
**Post date:** [March 25, 2021, 10:51am UTC](https://talk.openmrs.org/t/graphical-user-interface-in-java/32844/3 "2021-03-25T10:51:11Z")

</div>

Can you provide more information on what you working on

---

<div class="post-metadata">

**Author:** ![mozzy](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mozzy/32/11815_2.png) [@mozzy](https://talk.openmrs.org/u/mozzy)\
**Post date:** [March 26, 2021, 5:19am UTC](https://talk.openmrs.org/t/graphical-user-interface-in-java/32844/4 "2021-03-26T05:19:03Z")

</div>

Hi @allan , but i guess your issue is not necesarily OpenMRS-specific . Try debugging more into that ,or probably paste the error log in google.

but for a hint , ensure you registered the ‘click’ event with your button and also it invokes the right call back function
