|How do i get cursor location [message #460523]
||Wed, 31 August 2005 00:51
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.01768 seconds