Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pressing on the exit small x box on a frame/panel

Status
Not open for further replies.

casper84mel

Programmer
Oct 21, 2006
3
TR
Hi there;
I have a question about that little close button(X) on the upper rigt part of any frame/panel. Is it possible for me to get that X button in order to press on it?
I press on the button via first positioning the mouse over that X button and then pressing, but if the postion is referenced wrong then the mouse starts to press different locations, What I want is to press that little button X via getting the button and then pressing on that as pressing on a JButton component.

Any comments are appreciated,

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top