You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Peter Toye <ne...@ptoye.com> on 2019/06/26 14:59:05 UTC

Swing in Netbeans

Having recently decided to modify an ancient Java program I installed NB version 11, but there doesn't seem to be any support for Swing projects in it. Do I have to convert to JavaFX (which I'd first have to learn)? Or is it easier just to continue with Netbeans version 8?

Thanks in advance,
 
Peter
mailto:netbeans@ptoye.com
www.ptoye.com

Re: Swing in Netbeans

Posted by Glenn Holmer <ce...@kolabnow.com.INVALID>.
On 6/26/19 9:59 AM, Peter Toye wrote:
> Having recently decided to modify an ancient Java program I installed NB
> version 11, but there doesn't seem to be any support for Swing projects
> in it. Do I have to convert to JavaFX (which I'd first have to learn)?
> Or is it easier just to continue with Netbeans version 8?

Swing's supported, I've been working on a Swing project with NB 11.
Maybe the ancients were using a technology besides Swing that's no
longer supported or needs to be set up differently. Are you getting any
interesting error messages?

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

Re: Swing in Netbeans

Posted by Peter Toye <ne...@ptoye.com>.
Dear Geertjan,

Thanks. It's just that (as I reported in a previous post) I had problems opening my old project in NB 11. I then created a library called swing-layout but didn't give it a classpath - now the project compiles OK even with the missing classpath (not sure how - should it have one?) so I seem to be OK.

But I thought I'd try starting afresh and couldn't find the old New Project - Java. Now I realise I have to select Java with Ant.

Sorry for the trouble - getting too old for this sort of thing.

Best regards,

Peter
mailto:netbeans@ptoye.com
www.ptoye.com

-------------------------
Wednesday, June 26, 2019, 4:01:30 PM, you wrote:


You’re going to need to define what “Swing projects” are. Swing is supported out of the box, NetBeans Platform applications too, which are Swing projects, too.

Gj

On Wed, 26 Jun 2019 at 16:59, Peter Toye <ne...@ptoye.com> wrote:

Having recently decided to modify an ancient Java program I installed NB version 11, but there doesn't seem to be any support for Swing projects in it. Do I have to convert to JavaFX (which I'd first have to learn)? Or is it easier just to continue with Netbeans version 8?

Thanks in advance,
 
Peter
mailto:netbeans@ptoye.com
www.ptoye.com

Re: Swing in Netbeans

Posted by Geertjan Wielenga <ge...@apache.org>.
You’re going to need to define what “Swing projects” are. Swing is
supported out of the box, NetBeans Platform applications too, which are
Swing projects, too.

Gj

On Wed, 26 Jun 2019 at 16:59, Peter Toye <ne...@ptoye.com> wrote:

> Having recently decided to modify an ancient Java program I installed NB
> version 11, but there doesn't seem to be any support for Swing projects in
> it. Do I have to convert to JavaFX (which I'd first have to learn)? Or is
> it easier just to continue with Netbeans version 8?
>
> Thanks in advance,
>
> Peter
> mailto:netbeans@ptoye.com <ne...@ptoye.com>
> www.ptoye.com
>