Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT Question  RSS feed

 
Igor Romanov
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given an instance of MenuItem (it's a part of main app. menu) how can I obtain it's location on screen? MenuItem is not a Control child, and seems not has any methods like getLocation() etc.
I'm creating an SWT test tool and I need to imitate mouse click on main menu item...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!