Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31304
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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: JFXPanel with WebView JavaScript |
| Date | Tue, 10 Mar 2015 09:28:06 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 42 |
| Message-ID | <mdmrgh$tqi$1@dont-email.me> (permalink) |
| References | <mdme52$2ti$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 | Tue, 10 Mar 2015 13:27:45 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="c50a9e5d554cfaba13eda1c71e805135"; logging-data="30546"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LsP+3pJXSZ5nabJMubxiL3wY1kgEcozw=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 |
| In-Reply-To | <mdme52$2ti$1@ariadne.rz.tu-clausthal.de> |
| Cancel-Lock | sha1:8mWglYYvX8tvGfFbk5+Y5MmLCGU= |
| Xref | csiph.com comp.lang.java.programmer:31304 |
Show key headers only | View raw
On 03/10/2015 07:50 AM, Philipp Kraus wrote: > Hello, > > > I have created a small browser component within my project, that uses > JFXPanel with WebView to show HTML file to the user. > > This structure works well. So in my next task I would like to add > dynamic items e.g. jQuery with jQuery-UI and chart plotting. > > The charts should be visualize with tools like http://www.chartjs.org/ > > > I would like to add / modify my data of the charts continously. The > application create with a threadpool data and calls listen objects, which > > calculate the data, these elements should be the data for visualization. > I don't want to create a full HTTP server, so my question is, can > > I change the data fields of my JavaScript components from Java side? > > > I would like to have this architecture: > > > thread pool -> runs task -> generates data -> data is stored <- convert > o Json <- WebView <- Chart.JS > > > If the data store is updated also the Chart.JS should be updated. I need > an idea to create this architecture in a standalone > > application. WebView should create the visualization, but I don't know > how I can create the data "connection" between the WebView > > component and my data storage. > > Use Web Sockets if you can implement a simple server. If not use Web Worker.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JFXPanel with WebView JavaScript Philipp Kraus <philipp.kraus@flashpixx.de> - 2015-03-10 12:50 +0100
Re: JFXPanel with WebView JavaScript Jeff Higgins <jeff@invalid.invalid> - 2015-03-10 09:28 -0400
Re: JFXPanel with WebView JavaScript Philipp Kraus <philipp.kraus@flashpixx.de> - 2015-03-10 20:38 +0100
Re: JFXPanel with WebView JavaScript Jeff Higgins <jeff@invalid.invalid> - 2015-03-10 19:33 -0400
Re: JFXPanel with WebView JavaScript Jeff Higgins <jeff@invalid.invalid> - 2015-03-11 07:37 -0400
Re: JFXPanel with WebView JavaScript Philipp Kraus <philipp.kraus@flashpixx.de> - 2015-03-12 09:45 +0100
Re: JFXPanel with WebView JavaScript Jeff Higgins <jeff@invalid.invalid> - 2015-03-10 20:24 -0400
Re: JFXPanel with WebView JavaScript Jeff Higgins <jeff@invalid.invalid> - 2015-03-10 22:52 -0400
csiph-web