Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31586
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!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 | Sun, 19 Apr 2015 19:02:12 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 24 |
| Message-ID | <mh1c55$pol$1@dont-email.me> (permalink) |
| References | <mh0amo$2vsb$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 | Sun, 19 Apr 2015 23:01:57 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="c50a9e5d554cfaba13eda1c71e805135"; logging-data="26389"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18y/JxDiSbWj1K7coaBqFYr+ITNwbyrwLg=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
| In-Reply-To | <mh0amo$2vsb$1@ariadne.rz.tu-clausthal.de> |
| Cancel-Lock | sha1:ekq18dVP68l0uXVYbiDiT2TIHlI= |
| Xref | csiph.com comp.lang.java.programmer:31586 |
Show key headers only | View raw
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.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next 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