From sverre.moe at gmail.com Tue Nov 6 19:49:06 2018 From: sverre.moe at gmail.com (Sverre Moe) Date: Tue, 6 Nov 2018 20:49:06 +0100 Subject: JavaFX RangeSlider Control Message-ID: I had an idea for a new JavaFX RangeSlider control. Based on this Javascript range slider I found which looks amazing. It would be great to have a similar range slider for JavaFX. http://ghusse.github.io/jQRangeSlider/demo.html I discovered that ControlsFX does have a RangeSlider, though rudimentary compared to the Javascript RangeSlider. Perhaps the ControlsFX RangeSlider could be extended with an additional properties and Skin to support similar behaviour and look as this javascript control. Mouse dragging of the range (not just the thumbs). Showing thumb text boxes with the value (editable). Having vertical thumb lines instead of circular thumbs. LocalDate/LocalTime RangeSlider instead of integer values. Is it feasible to improve ControlsFX RangeSlider this way? I may be way over my head here, as such an endeavour currently is beyond me. I have never before made a custom control of such complexity, just a few simple controls. I started a project for experimenting with custom JavaFX controls, currently I have only two very simple controls in it. https://github.com/DJViking/fxcontrols /Sverre From ooo_saturn7 at mail.ru Sun Nov 18 16:08:57 2018 From: ooo_saturn7 at mail.ru (=?UTF-8?B?QWxleCBTdmlyaWRvdg==?=) Date: Sun, 18 Nov 2018 19:08:57 +0300 Subject: =?UTF-8?B?U2NyaXB0NGogLSBzaW1wbGlmaWVkIE9wZW5KRlggQVBJIGZvciB3ZWIgZGV2?= =?UTF-8?B?ZWxvcG1lbnQu?= Message-ID: <1542557337.520537870@f395.i.mail.ru> Hi all, We started a new project - Script4J (see https://github.com/PavelKastornyy/script4j ) that will allow to use in web development simplified OpenJFX API. We need it?firstly for business CRUD applications that's why we will start from such components as label, textarea, textfield, table, button etc. Every component will be linked to DOM element. Project is divided into modules and after building there are several ES2015 modules. We hope that our project will be interesting to OpenJFX users and developers. Any help, ideas, suggestions and bugs are welcome. -- Best regards, Alex From elect86 at gmail.com Wed Nov 21 08:56:22 2018 From: elect86 at gmail.com (Giuseppe Barbieri) Date: Wed, 21 Nov 2018 09:56:22 +0100 Subject: How to add an external dependency to openjfx Message-ID: I'm playing around trying to add lwjgl as a dependency to the graphics module. I already modified the graphics module-info : module javafx.graphics { requires java.desktop; requires java.xml; requires jdk.unsupported; requires org.lwjgl; requires org.lwjgl.opengl; Added a custom repo and declared the required libs into dependencies, always within graphics Then I fixed step-by-step all the dependencies for graphics here , here and here However now I'm struggling to fix the next error: > Task :media:compileJava FAILED Task ':media:compileJava' is not up-to-date because: Task has failed previously. All input files are considered out-of-date for incremental task ':media:compileJava'. Compiling with Java command line compiler 'C:\Program Files\Java\jdk-11.0.1\bin\javac.exe'. Starting process 'command 'C:\Program Files\Java\jdk-11.0.1\bin\javac.exe''. Working directory: C:\Users\elect\openjdk-jfx\modules\javafx.media Command: C:\Program Files\Java\jdk- 11.0.1\bin\javac.exe @C:\Users\elect\openjdk-jfx\modules\javafx.media\build\tmp\compileJava\java-compiler-args.txt Successfully started process 'command 'C:\Program Files\Java\jdk-11.0.1\bin\javac.exe'' C:\Users\elect\openjdk-jfx\modules\javafx.graphics\src\main\java\module-info.java:40: error: module not found: org.lwjgl requires org.lwjgl; ^ C:\Users\elect\openjdk-jfx\modules\javafx.graphics\src\main\java\module-info.java:41: error: module not found: org.lwjgl.opengl requires org.lwjgl.opengl; ^ I guess I shall add lwjgl into the module path of project media, but I run out of options.. I tried to modify the media module-info, the compileJava task, nothing.. I couldnt make it work How may I solve it? Thanks in advance, Giuseppe From stefan at prelle.org Sun Nov 25 13:26:32 2018 From: stefan at prelle.org (Stefan Prelle) Date: Sun, 25 Nov 2018 14:26:32 +0100 Subject: 3D performance Message-ID: <8535641ffa58958d93b1adf3efd1c8fb03f46195.camel@prelle.org> Hi, I am currently investigating writing a 3D space shooter in Java and came across a performance issue, I am not sure I understand. I am testing on a Linux machine with a GeForce 960. My first attempt was without JavaFX, using the JMonkeyEngine and the nouveau driver, running on Java 11. The performance for my minimal example was very good. My second attempt was Java 11 plus OpenJFX 11.01 (still nouveau driver). I just loaded an OBJ file, applied textures and rotated it with an AnimationTimer. The performance was poor, sluggish. My last attempt was the same, but with the proprietary nvidia driver. That again looked smooth. I can understand that the proprietary NVIDIA driver performs better than the open source nouveau - but I am still surprised that the JMonkeyEngine is that much faster than JavaFX. My understanding was that both rely on the underlying OpenGL layer, so I expected only minor performance differences. Can someone explain what I am missing? Regards, Stefan From pmonks at gmail.com Wed Nov 28 18:08:46 2018 From: pmonks at gmail.com (Peter Monks) Date: Wed, 28 Nov 2018 10:08:46 -0800 Subject: Maven artifacts for OpenJFX v1.8? Message-ID: G'day, Just wondering if artifacts for OpenJFX v1.8 (for OpenJDK v1.8) are published in a Maven repository anywhere? I've checked Maven central, as well as Gluon's Nexus instance, but they only contain OpenJFX v11+ artifacts. Thanks in advance, Peter From kevin.rushforth at oracle.com Wed Nov 28 21:47:57 2018 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Wed, 28 Nov 2018 13:47:57 -0800 Subject: Maven artifacts for OpenJFX v1.8? In-Reply-To: References: Message-ID: No, JavaFX 8 was only ever released as part of JDK 8. -- Kevin On 11/28/2018 10:08 AM, Peter Monks wrote: > G'day, > > Just wondering if artifacts for OpenJFX v1.8 (for OpenJDK v1.8) are > published in a Maven repository anywhere? I've checked Maven central, as > well as Gluon's Nexus instance, but they only contain OpenJFX v11+ > artifacts. > > Thanks in advance, > Peter From pmonks at gmail.com Thu Nov 29 01:48:12 2018 From: pmonks at gmail.com (Peter Monks) Date: Wed, 28 Nov 2018 17:48:12 -0800 Subject: Maven artifacts for OpenJFX v1.8? In-Reply-To: References: Message-ID: G'day Kevin, OpenJDK 8 does not include JavaFX, hence my question. Can OpenJDK 8 users make use of JavaFX / OpenJFX capabilities, and if so how is that done? Thanks, Peter -- *Peter Monks* | ?? pmonks at gmail.com | ?? 415-734-6316 On Wed, Nov 28, 2018 at 1:50 PM Kevin Rushforth wrote: > No, JavaFX 8 was only ever released as part of JDK 8. > > -- Kevin > > > On 11/28/2018 10:08 AM, Peter Monks wrote: > > G'day, > > > > Just wondering if artifacts for OpenJFX v1.8 (for OpenJDK v1.8) are > > published in a Maven repository anywhere? I've checked Maven central, as > > well as Gluon's Nexus instance, but they only contain OpenJFX v11+ > > artifacts. > > > > Thanks in advance, > > Peter > > From kevin.rushforth at oracle.com Thu Nov 29 02:21:57 2018 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Wed, 28 Nov 2018 18:21:57 -0800 Subject: Maven artifacts for OpenJFX v1.8? In-Reply-To: References: Message-ID: <3493f897-1560-c4e4-05df-782d49b61f72@oracle.com> I see. If you want to use JavaFX 8 with an OpenJDK 8 build, you would need to build JavaFX 8 yourself. We don't provide any such bundles. -- Kevin On 11/28/2018 5:48 PM, Peter Monks wrote: > G'day Kevin, > > OpenJDK 8 does not include JavaFX, hence my question.? Can OpenJDK 8 > users make use of JavaFX / OpenJFX capabilities, and if so how is that > done? > > Thanks, > Peter > -- > *Peter Monks*| ?? pmonks at gmail.com | ?? > 415-734-6316 > > > > On Wed, Nov 28, 2018 at 1:50 PM Kevin Rushforth > > wrote: > > No, JavaFX 8 was only ever released as part of JDK 8. > > -- Kevin > > > On 11/28/2018 10:08 AM, Peter Monks wrote: > > G'day, > > > > Just wondering if artifacts for OpenJFX v1.8 (for OpenJDK v1.8) are > > published in a Maven repository anywhere?? I've checked Maven > central, as > > well as Gluon's Nexus instance, but they only contain OpenJFX v11+ > > artifacts. > > > > Thanks in advance, > > Peter >