Hi Jukka,

in general the LeftClickFilter class is more an internal class for some 
kind of cursortools. Your questions has nothing to do with that. The 
behavior of a checkbox is given by Java checkbox implementation himself. 
So we cannot change simply that.
But I've made a small test on my Panasonic Toughbook CF-18 with stylus. 
I mean the problem with the layer visibility checkbox is an other one. 
The hole layer representation (stylebox, visibility checkbox + layer 
name) you can drag&drop. So it's not very easy to distinguish what is a 
click+release or what is a drag, if your mousepointer position over the 
checkbox.

And in general I would say, that the actual GUI is not designed for 
stylus or touch usage! This can be an interesting project in the future, 
to make a touch ready GUI.

Matthias
> Hi,
>
> Perhaps you could say your opinion about the layer visibility check box? I 
> have a feeling that visibility toggling is fired by mouseReleased which means 
> that the click and release must happen in the same pixel. This makes the 
> check box rather hard to use with a mouse in a moving car and almost 
> impossible with a stylus. Could it be possible to change visibility 
> immediately after doing mouseClicked? Would it harm the normal desktop use?
>
> I may use wrong names because I am not a programmer but those names 
> correspond well what happens when using the layer visibility check box.
>
> -Jukka Rahkonen-
> ________________________________________
> Matthias Scholz wrote_
>
> Hi,
>
> in the LeftClickFilter code I've implemented the
> isRightMouseButtonUsed() method with real code. In the past they always
> returns with false. This is bad for tools which uses the right mouse
> button too. Here was a problem that always came the right mouse button
> context menu. Now this is fixed and if the tool overrides the
> AbstractCursorTool.isRightMouseButtonUsed() this will be checked in
> LeftClickFilter for mouseClicked, mousePressed, mouseReleased and
> mouseDragged events.
> I've tested this code some weeks with my upcoming changes on zoom/pan tools.
>
> Matthias
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create 
> new or port existing apps to sell to consumers worldwide. Explore the 
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>   


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to