Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31588
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: mouse listener on javafx swing node |
| Date | Mon, 20 Apr 2015 15:03:32 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 34 |
| Message-ID | <mh3iho$3j9$1@dont-email.me> (permalink) |
| References | <mh0amo$2vsb$1@ariadne.rz.tu-clausthal.de> <mh1c55$pol$1@dont-email.me> <mh37lm$r5r$1@ariadne.rz.tu-clausthal.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 20 Apr 2015 19:03:20 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="c50a9e5d554cfaba13eda1c71e805135"; logging-data="3689"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+7T/gNeoZ9I2WL8oHUcN7Yj0jEvR+FQo=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
| In-Reply-To | <mh37lm$r5r$1@ariadne.rz.tu-clausthal.de> |
| Cancel-Lock | sha1:WJr7kHKpBNpvtvz8S0Di2KDcOKY= |
| Xref | csiph.com comp.lang.java.programmer:31588 |
Show key headers only | View raw
On 04/20/2015 12:40 PM, Philipp Kraus wrote: > On 2015-04-19 23:02:12 +0000, Jeff Higgins said: > >> On 04/19/2015 10:12 AM, Philipp Kraus wrote: >>> Hello, >>> >>> I use a JavaFX application but one of my UI components is a Swing >>> componentent, which is added with a SwingNode to my JavaFX UI. >>> The Swing component uses a MouseAdapter, which overloads the >>> mouseClicked and mouseMove method, but on my SwingNode the mouseMove >>> does not work. I would like to catch mouve move, click and drag event on >>> a swing node, so how can I pass the events on the SwingNode down to the >>> Swing >>> component? >>> >> >> The manual states: >> "All the input and focus events are forwarded to >> the JComponent instance transparently to the developer." >> >> Some reasons why the mouseMove does not work. >> >> You've made a mistake in your code, and >> there is a bug in the library code, >> are among the possibilities. > > Thanks for the great hint, so that helps to debug the code > An example of "asking good questions" : <http://stackoverflow.com/questions/26420701/cant-get-mouse-event-from-any-other-javafx-8-node-after-getting-mouse-pressed-e>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
mouse listener on javafx swing node Philipp Kraus <philipp.kraus@flashpixx.de> - 2015-04-19 16:12 +0200
Re: mouse listener on javafx swing node Jeff Higgins <jeff@invalid.invalid> - 2015-04-19 19:02 -0400
Re: mouse listener on javafx swing node Philipp Kraus <philipp.kraus@flashpixx.de> - 2015-04-20 18:40 +0200
Re: mouse listener on javafx swing node Jeff Higgins <jeff@invalid.invalid> - 2015-04-20 15:03 -0400
csiph-web