Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » mouseDown event is anyhow blocked(mouseDown event is anyhow blocked till mouseUp event is triggerd)
mouseDown event is anyhow blocked [message #1775107] Tue, 24 October 2017 15:47
Rainer Stransky is currently offline Rainer StranskyFriend
Messages: 1
Registered: July 2009
Junior Member
If my application is started from the Eclipse all works fine.
The MouseListener.mouseDown() method is called when the mouse button is pressed.

If my application is exported to a runnable jar file and is started on the command line (java -jar application), all works fine but the mouseDown() method is called (a log statement shows the scenario) at the moment the mouse button is released, so the mouseUp() method is comes exactly after the mouseDown() method. The event is correct. The coordinates are fitting to the mouse position the mouse button is pressed, but the event is blocked, till the the mouseUp event is triggered.

What can be the reason for this mysterious behaviour ?

JRE: OpenJDK Runtime Environment (build 1.8.0_144-b01)
SWT: version 4.757
OS: FC26, 4.13.5-200.fc26
Previous Topic:Is it possible to make a dropdown SWT Menu scrollable?
Next Topic:Adding lable to swt table header
Goto Forum:

Current Time: Sat Apr 17 15:34:00 GMT 2021

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

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

Back to the top