Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33997 > unrolled thread
| Started by | Rhino <no_offline_contact@example.com> |
|---|---|
| First post | 2016-03-16 17:03 -0400 |
| Last post | 2016-03-17 08:42 -0400 |
| Articles | 7 — 3 participants |
Back to article view | Back to comp.lang.java.programmer
JWS question Rhino <no_offline_contact@example.com> - 2016-03-16 17:03 -0400
Re: JWS question Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 20:12 -0400
Re: JWS question Rhino <no_offline_contact@example.com> - 2016-03-16 21:18 -0400
Re: JWS question Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 21:32 -0400
Re: JWS question Rhino <no_offline_contact@example.com> - 2016-03-17 08:43 -0400
Re: JWS question Eric Douglas <e.d.programmer@gmail.com> - 2016-03-17 04:52 -0700
Re: JWS question Rhino <no_offline_contact@example.com> - 2016-03-17 08:42 -0400
| From | Rhino <no_offline_contact@example.com> |
|---|---|
| Date | 2016-03-16 17:03 -0400 |
| Subject | JWS question |
| Message-ID | <ncchip$d1n$2@dont-email.me> |
Can I run a JavaFX program as a JWS (Java WebStart) or do I have to stick to Swing/AWT for GUIs in JWS programs? I'm not sure where to look for that information.... -- Rhino
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2016-03-16 20:12 -0400 |
| Message-ID | <nccsq3$u27$1@gioia.aioe.org> |
| In reply to | #33997 |
On 3/16/2016 5:03 PM, Rhino wrote: > Can I run a JavaFX program as a JWS (Java WebStart) or do I have to > stick to Swing/AWT for GUIs in JWS programs? > > I'm not sure where to look for that information.... I cannot see why you should not be able to do so. http://docs.oracle.com/javafx/2/get_started/basic_deployment.htm seems to confirm that you indeed can. Arne
[toc] | [prev] | [next] | [standalone]
| From | Rhino <no_offline_contact@example.com> |
|---|---|
| Date | 2016-03-16 21:18 -0400 |
| Message-ID | <ncd0ga$4f0$1@dont-email.me> |
| In reply to | #33999 |
On 3/16/2016 8:12 PM, Arne Vajhøj wrote: > On 3/16/2016 5:03 PM, Rhino wrote: >> Can I run a JavaFX program as a JWS (Java WebStart) or do I have to >> stick to Swing/AWT for GUIs in JWS programs? >> >> I'm not sure where to look for that information.... > > I cannot see why you should not be able to do so. > > http://docs.oracle.com/javafx/2/get_started/basic_deployment.htm > > seems to confirm that you indeed can. > > Arne > > Thanks Arne. I think I'm going to write a Hello World in JavaFX and then see if I can get it running on my other laptop. That should prove it one way or the other with a minimum of effort. The other thing I'd love to confirm is whether a JavaFX in a JWS environment can do database access. I have some data in a DB2 database that I want my JavaFX app to be able to access from whatever computer it is on. (I might move the data to a MySQL database on a public server for my real application.) -- Rhino
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2016-03-16 21:32 -0400 |
| Message-ID | <ncd1g1$13a8$2@gioia.aioe.org> |
| In reply to | #34003 |
On 3/16/2016 9:18 PM, Rhino wrote: > On 3/16/2016 8:12 PM, Arne Vajhøj wrote: >> On 3/16/2016 5:03 PM, Rhino wrote: >>> Can I run a JavaFX program as a JWS (Java WebStart) or do I have to >>> stick to Swing/AWT for GUIs in JWS programs? >>> >>> I'm not sure where to look for that information.... >> >> I cannot see why you should not be able to do so. >> >> http://docs.oracle.com/javafx/2/get_started/basic_deployment.htm >> >> seems to confirm that you indeed can. >> >> Arne >> >> > Thanks Arne. > > I think I'm going to write a Hello World in JavaFX and then see if I can > get it running on my other laptop. That should prove it one way or the > other with a minimum of effort. > > The other thing I'd love to confirm is whether a JavaFX in a JWS > environment can do database access. I have some data in a DB2 database > that I want my JavaFX app to be able to access from whatever computer it > is on. (I might move the data to a MySQL database on a public server for > my real application.) I believe you can. By signing the jar and add permissions to the JNLP. http://docs.oracle.com/javase/8/docs/technotes/guides/javaws/developersguide/development.html#security Arne
[toc] | [prev] | [next] | [standalone]
| From | Rhino <no_offline_contact@example.com> |
|---|---|
| Date | 2016-03-17 08:43 -0400 |
| Message-ID | <nce8k0$ocq$2@dont-email.me> |
| In reply to | #34005 |
On 3/16/2016 9:32 PM, Arne Vajhøj wrote: > On 3/16/2016 9:18 PM, Rhino wrote: >> On 3/16/2016 8:12 PM, Arne Vajhøj wrote: >>> On 3/16/2016 5:03 PM, Rhino wrote: >>>> Can I run a JavaFX program as a JWS (Java WebStart) or do I have to >>>> stick to Swing/AWT for GUIs in JWS programs? >>>> >>>> I'm not sure where to look for that information.... >>> >>> I cannot see why you should not be able to do so. >>> >>> http://docs.oracle.com/javafx/2/get_started/basic_deployment.htm >>> >>> seems to confirm that you indeed can. >>> >>> Arne >>> >>> >> Thanks Arne. >> >> I think I'm going to write a Hello World in JavaFX and then see if I can >> get it running on my other laptop. That should prove it one way or the >> other with a minimum of effort. >> >> The other thing I'd love to confirm is whether a JavaFX in a JWS >> environment can do database access. I have some data in a DB2 database >> that I want my JavaFX app to be able to access from whatever computer it >> is on. (I might move the data to a MySQL database on a public server for >> my real application.) > > I believe you can. > > By signing the jar and add permissions to the JNLP. > > http://docs.oracle.com/javase/8/docs/technotes/guides/javaws/developersguide/development.html#security > > Excellent! Then I should be able to do what I want to do. Thank you! -- Rhino
[toc] | [prev] | [next] | [standalone]
| From | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| Date | 2016-03-17 04:52 -0700 |
| Message-ID | <bd262e2a-b5bf-404c-94b9-9ede1548e0c1@googlegroups.com> |
| In reply to | #33997 |
On Wednesday, March 16, 2016 at 5:04:35 PM UTC-4, Rhino wrote: > Can I run a JavaFX program as a JWS (Java WebStart) or do I have to > stick to Swing/AWT for GUIs in JWS programs? > > I'm not sure where to look for that information.... > > -- > Rhino You can run JavaFX in Swing, using javafx.application.Platform.runLater from javafx.embed.swing.JFXPanel
[toc] | [prev] | [next] | [standalone]
| From | Rhino <no_offline_contact@example.com> |
|---|---|
| Date | 2016-03-17 08:42 -0400 |
| Message-ID | <nce8i5$ocq$1@dont-email.me> |
| In reply to | #34011 |
On 3/17/2016 7:52 AM, Eric Douglas wrote: > On Wednesday, March 16, 2016 at 5:04:35 PM UTC-4, Rhino wrote: >> Can I run a JavaFX program as a JWS (Java WebStart) or do I have to >> stick to Swing/AWT for GUIs in JWS programs? >> >> I'm not sure where to look for that information.... >> >> -- >> Rhino > > You can run JavaFX in Swing, using javafx.application.Platform.runLater from javafx.embed.swing.JFXPanel > It's great to get a solid confirmation; thank you! -- Rhino
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web