You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Ernie Rael <er...@raelity.com> on 2020/02/01 21:05:44 UTC
RCP JavaFX
I want to exercise 11.3 with JavaFX. In b2 (built locally) update center
there is "Third Party Libraries" with what seems to be the correct link,
but the JavaFX stuff is not in Available Plugins.
Can something be done to enable this?
-ernie
PS. And can the new apache NetBeans plugin portal be enabled?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: RCP JavaFX
Posted by Neil C Smith <ne...@apache.org>.
On Sat, 22 Feb 2020, 19:30 Matthias Bläsing, <mb...@doppel-helix.eu>
wrote:
> just because these unfounded "$build system is the best" praises are
> like religion:
>
> Before you go down one road, consider all options. In my experience
> maven is perfectly fine for many, if not most, tasks. It enforces a
> structure and in my experience gives you less headaches as you normally
> don't get to creative with the projects and stick to the defaults.
>
+1
“Gradle is for Ant developers who don’t understand Maven.” ;-)
Best wishes,
Neil
>
Re: RCP JavaFX
Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi,
Am Samstag, den 22.02.2020, 14:21 -0500 schrieb Scott Palmer:
> If you aren’t on Maven I strongly advise to skip it and go straight
> to Gradle. It can run Ant tasks during your transition and it is a
> much much better system than Maven. It will save you many days of
> frustration. (The JavaFX project itself is Gradle-based.)
just because these unfounded "$build system is the best" praises are
like religion:
Before you go down one road, consider all options. In my experience
maven is perfectly fine for many, if not most, tasks. It enforces a
structure and in my experience gives you less headaches as you normally
don't get to creative with the projects and stick to the defaults.
That the support in the NetBeans IDE as very nice might influence my
thinking though.
Greetings
Matthias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: RCP JavaFX
Posted by Scott Palmer <sw...@gmail.com>.
> On Feb 3, 2020, at 3:54 PM, Neil C Smith <ne...@apache.org> wrote:
>
> On Mon, 3 Feb 2020, 20:06 Ernie Rael, <er...@raelity.com> wrote:
>
>> PS. I will probably go to maven at some point in the future, but it
>> doesn't seem to be time yet (at least for me).
>>
>
> Yes, I can't see myself switching any time soon either. Too many ant
> customizations.
If you aren’t on Maven I strongly advise to skip it and go straight to Gradle. It can run Ant tasks during your transition and it is a much much better system than Maven. It will save you many days of frustration. (The JavaFX project itself is Gradle-based.)
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: RCP JavaFX
Posted by Ernie Rael <er...@raelity.com>.
On 2/3/2020 12:54 PM, Neil C Smith wrote:
> On Mon, 3 Feb 2020, 20:06 Ernie Rael, <er...@raelity.com> wrote:
>
>> It may be that I'm not understanding the jfx plugin. Can it be used "as
>> is" for plain old java or RCP?
>>
> Could be interesting if you can get it to work in an RCP as it downloads
> JavaFX on demand, rather than just wrapping it. Could be good for keeping
> the size of your application down, could be a headache!
I've put together a Standalone Module, call it JfxDev for example, with
which the following steps work
1. Install JfxDev plugin
2. it appears in NetBeansPlatforms>PlatformModules
3. Create new ant NB module, call it UsesJfxDevModule
4. Add dependency to JfxDev
5. Add some javafx code to UsesJfxDevModule, Code completion/javadoc,
GoToSource, ... all work as expected
6. Debug and run UsesJfxDebugModule, install into NB, ...
I took a look last night at the source code for "JavaFX Implementation
for Windows". I get the general idea of what it's doing, haven't tried
anything with the source. It's in category library, but after installing
it I don't see anything in Tools>Libraries. I don't get what this module
is for.
I'd like to see after installing an entry in Library Manager and a
module that could be used as a dependency. If preferred, there could be
a 2nd NB module that download source/javadoc and serves them up to the
NB infrastructure (rather than all bundled together). So the first is
runtime, the 2nd is dev.
To get step 2 to work, I had to flag it to install globally into it's
own cluster. My experiments started by using openjfx's sdk, rather than
jars taken from maven.
Noting that recent jdk is required and based on openjfx seem appropriate.
Comments, thoughts?
-ernie
>
> PS. I will probably go to maven at some point in the future, but it
>> doesn't seem to be time yet (at least for me).
>>
> Yes, I can't see myself switching any time soon either. Too many ant
> customizations.
>
> Best wishes,
>
> Neil
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: RCP JavaFX
Posted by Neil C Smith <ne...@apache.org>.
On Mon, 3 Feb 2020, 20:06 Ernie Rael, <er...@raelity.com> wrote:
> It may be that I'm not understanding the jfx plugin. Can it be used "as
> is" for plain old java or RCP?
>
Could be interesting if you can get it to work in an RCP as it downloads
JavaFX on demand, rather than just wrapping it. Could be good for keeping
the size of your application down, could be a headache!
PS. I will probably go to maven at some point in the future, but it
> doesn't seem to be time yet (at least for me).
>
Yes, I can't see myself switching any time soon either. Too many ant
customizations.
Best wishes,
Neil
Re: RCP JavaFX
Posted by Ernie Rael <er...@raelity.com>.
I have an abandoned NB-80 RCP application which uses JavaFX. My goal is
to revive the RCP app under NB-11+ and a modern jfx. Using NB-11.3 and
jfx-13 lets me exercise 11.3. I'm still using ant.
I saw a javafx v13 plugin on 11.2. I thought that plugin would provide a
module that my RCP app could use to provide jfx-13 access.
Instead, I've download a javafx-sdk and used it to make a library
wrapper. Seems to be working. I had hoped for a more automatic method
provided by NB.
It may be that I'm not understanding the jfx plugin. Can it be used "as
is" for plain old java or RCP?
-ernie
PS. I will probably go to maven at some point in the future, but it
doesn't seem to be time yet (at least for me).
On 2/1/2020 3:43 PM, Geertjan Wielenga wrote:
> What specifically do you want to do with JavaFX?
>
> Gj
>
> On Sat, Feb 1, 2020 at 10:06 PM Ernie Rael <er...@raelity.com> wrote:
>
>> I want to exercise 11.3 with JavaFX. In b2 (built locally) update center
>> there is "Third Party Libraries" with what seems to be the correct link,
>> but the JavaFX stuff is not in Available Plugins.
>>
>> Can something be done to enable this?
>>
>> -ernie
>>
>> PS. And can the new apache NetBeans plugin portal be enabled?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: RCP JavaFX
Posted by Geertjan Wielenga <ge...@apache.org>.
What specifically do you want to do with JavaFX?
Gj
On Sat, Feb 1, 2020 at 10:06 PM Ernie Rael <er...@raelity.com> wrote:
> I want to exercise 11.3 with JavaFX. In b2 (built locally) update center
> there is "Third Party Libraries" with what seems to be the correct link,
> but the JavaFX stuff is not in Available Plugins.
>
> Can something be done to enable this?
>
> -ernie
>
> PS. And can the new apache NetBeans plugin portal be enabled?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
Re: RCP JavaFX
Posted by "Luff,Chris" <Ch...@Cerner.com.INVALID>.
You do not need any plugins. If you want to turn on integration with SceneBuilder that is in Preferences->Java->JavaFx.
To create a JavaFX project you need to include at least org.openjfx.javafx-base as a dependency for you project. You can then include the org.openjfx javafx plugin for Gradle or Maven that will allow you to easily run your project.
There are also some good maven archetypes included with NetBeans to get you started.
Hope that helps!
> On 1 Feb 2020, at 21:05, Ernie Rael <er...@raelity.com> wrote:
>
> I want to exercise 11.3 with JavaFX. In b2 (built locally) update center there is "Third Party Libraries" with what seems to be the correct link, but the JavaFX stuff is not in Available Plugins.
>
> Can something be done to enable this?
>
> -ernie
>
> PS. And can the new apache NetBeans plugin portal be enabled?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&data=02%7C01%7CChris.Luff%40cerner.com%7C6ab927aea78d4938db9a08d7a75a91b5%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637161879742838862&sdata=aZuBZ4LXpOvWGtwhKKYIKpT06ZN7%2Bfi7BQQ5EqJMAgA%3D&reserved=0
>
>
>
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: RCP JavaFX
Posted by Jaroslav Tulach <ja...@gmail.com>.
Hi.
This shall give you NetBeans Platform with JavaFX:
New Project/Java with Maven/Java Frontend
Checkbox the "NetBeans Module" when selecting the supported platform.
Let all the modules build and than Run/Debug on the NetBeans Maven Module.
The application starts and it has all the JavaFX libs ready for your usage.
-jt
Dne so 1. 2. 2020 22:06 uživatel Ernie Rael <er...@raelity.com> napsal:
> I want to exercise 11.3 with JavaFX. In b2 (built locally) update center
> there is "Third Party Libraries" with what seems to be the correct link,
> but the JavaFX stuff is not in Available Plugins.
>
> Can something be done to enable this?
>
> -ernie
>
> PS. And can the new apache NetBeans plugin portal be enabled?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>