Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37992
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2018-01-23 13:36 -0800 |
| References | (6 earlier) <p484kh$nta$1@dont-email.me> <3ce5cf06-6cfa-4baf-b459-3751a6dcd195@googlegroups.com> <p487em$dfj$1@dont-email.me> <4740811d-907d-42c3-aefe-45189d3a1d57@googlegroups.com> <p488r8$n11$1@dont-email.me> |
| Message-ID | <751cc038-6f80-4eb4-9725-2af8d5a71ed1@googlegroups.com> (permalink) |
| Subject | Re: What's the difference between mouseClicked and mousePressed? |
| From | Eric Douglas <e.d.programmer@gmail.com> |
On Tuesday, January 23, 2018 at 4:18:53 PM UTC-5, Knute Johnson wrote: > > > > Yes I am processing touch events in Swing, no FX. > > I think that's the problem, there aren't any in Swing. > > -- > > Knute Johnson If switching our Swing controls to JavaFX controls is possible it would be ugly. If Swing isn't supposed to handle the touch events, I don't know how they're converting. mousePressed and mouseReleased are getting called. I did find an old blog that says mouseClicked looks like a double tap, I'll have to test it again maybe tapping 4 times would process a mouseClicked double click. It does accept getClickCount()==2 from 2 taps in mousePressed or mouseReleased.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What's the difference between mouseClicked and mousePressed? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-23 05:17 -0800
Re: What's the difference between mouseClicked and mousePressed? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-01-23 09:22 -0500
Re: What's the difference between mouseClicked and mousePressed? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-23 06:35 -0800
Re: What's the difference between mouseClicked and mousePressed? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-23 06:47 -0800
Re: What's the difference between mouseClicked and mousePressed? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-01-23 19:41 +0100
Re: What's the difference between mouseClicked and mousePressed? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-23 11:03 -0800
Re: What's the difference between mouseClicked and mousePressed? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-23 14:06 -0600
Re: What's the difference between mouseClicked and mousePressed? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-23 12:41 -0800
Re: What's the difference between mouseClicked and mousePressed? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-23 14:54 -0600
Re: What's the difference between mouseClicked and mousePressed? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-23 13:11 -0800
Re: What's the difference between mouseClicked and mousePressed? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-23 15:18 -0600
Re: What's the difference between mouseClicked and mousePressed? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-23 13:36 -0800
Re: What's the difference between mouseClicked and mousePressed? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-23 15:48 -0600
Re: What's the difference between mouseClicked and mousePressed? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-01-23 09:55 -0500
csiph-web