Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How do i get cursor location
How do i get cursor location [message #460523] Wed, 31 August 2005 00:51
exquisitus is currently offline exquisitusFriend
Messages: 211
Registered: July 2009
Senior Member
i have embeded a jpanel in a Eclipse Editor (EditorPart).
I have few jlabels and jtextfields in hte panel and i have implemented
jpopupmenu, now i need to set the location of the popupmenu from the swing

My question is. how do i get the correct location of cursor, i tried passing
in the composite from EditorPart, but when i call
comp.getDisplay().getCursorLocation(), i get a invalid thread access error?
Any clues ? folks how do i get the right location?

Previous Topic:SWT Browser and JavaScript
Next Topic:Multiple Display instances questions....
Goto Forum:

Current Time: Sun Apr 18 22:29:33 GMT 2021

Powered by FUDForum. Page generated in 0.01768 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top