Petr Kalis

Greenhorn
+ Follow
since Jul 21, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Petr Kalis

Sorry, my bad. I accused wrong victim. show() is innocent, so show must go on!
Something else is consuming mousePressed event, sadly I am working on large application and still I wasn't able to find the problem. So I haxored it somehow.
Anyway, thanks for concern and ideas.
14 years ago
Hi
I have created small table editor, cells are extended JLabels. I am battling with strange problem. I am able to select and highlight cell(even with right mouse button - RMB ), open popup menu (hey, e.isPopupTrigger() on different OS kicked my ass ;) ), but when I move mouse to different cell, click with RMB, somehow it seems, that mousePressed event is not fired and it is consumed somewhere (with debugging I found that the flow is going to the mouseReleased() directly). And I can't find a solution
I found somewhere, that adding Tooltip could be problem..it wasn't for me.
It seems, that JPopupMenu.show() is consuming mousePressed event, could be this avoided somehow?
Thanks for ideas.
14 years ago