Newbie help

2023-05-12 Thread Peter Toye
Hello I'm returning to NetBeans after a long bap, and have forgotten almost everything I know, so please be indulgent. I'm trying to work out how to organise the workflow for developing a program - I suspect it's changed since I was last here.  What I can't work out is how to separate the

Re: New 12.2 install, can't change netbeans.conf

2020-12-07 Thread Peter Toye
Dear Brenden, Well, on my machine (Windows 10 Home 64-bit) I don't have write access to the directory of the file, but Admin does. I assume you've looked at the effective permissions part of the file properties to check. Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com

Re: New 12.2 install, can't change netbeans.conf

2020-12-07 Thread Peter Toye
Dear Brenden, You have to run Wordpad (or whatever editor you're using) as an administrator. And don't forget to save a copy first! Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, December 7, 2020, 5:20:47 PM, you wrote: > I have a brand new 12.2

Re: NB doesn't want to update

2020-11-03 Thread Peter Toye
wrote: > On Tue, 3 Nov 2020 at 11:46, Peter Toye wrote: >> But when I ask NB to check for updates it tells me that 'your IDE is up to >> date!' which is obviously not the case. >> >> Anyone any idea what's going on? > Actually, expected behaviour - there are no up

Re: GUI builder cannot find generated code

2019-10-31 Thread Peter Toye
again. Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Thursday, October 31, 2019, 5:05:02 PM, you wrote: > On Thu, 31 Oct 2019 at 16:53, Peter Toye > wrote: >> Thanks a million. That did the trick. > Great! >> I suspect that the conve

Re: GUI builder cannot find generated code

2019-10-31 Thread Peter Toye
, October 31, 2019, 11:59:34 AM, you wrote: > On Thu, 31 Oct 2019 at 11:46, Peter Toye > wrote: >> You should get an error message saying the file is corrupt. If you don't, >> your system is different from mine. > Yep! Probably because it is. Open the > OuterPane.java

Re: GUI builder cannot find generated code

2019-10-31 Thread Peter Toye
system is different from mine. Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Wednesday, October 23, 2019, 3:33:49 PM, you wrote: Unless we can reproduce it or get a stack trace, you?ll get no responses. Gj On Wed, 23 Oct 2019 at 16:09, Peter Toye wrot

Re: GUI builder cannot find generated code

2019-10-23 Thread Peter Toye
using NetBeans 11.1 with AdoptOpen JDK 11 So I don't even get as far as you. FYI: I'm pretty sure Geertjan said no zips please. --- Cheers, Slim On 2019-10-23 11:32, Peter Toye wrote: Dear Geertjan, I'm not sure what you mean by a "Stack trace" - there's no dump available as it didn't crash

Re: GUI builder cannot find generated code

2019-10-23 Thread Peter Toye
23, 2019, 3:33:49 PM, you wrote: Unless we can reproduce it or get a stack trace, you’ll get no responses. Gj On Wed, 23 Oct 2019 at 16:09, Peter Toye wrote: More information on this. When I open the .java file in a text editor, the editor-fold lines have extra information // //GEN-

Re: GUI builder cannot find generated code

2019-10-23 Thread Peter Toye
More information on this. When I open the .java file in a text editor, the editor-fold lines have extra information // //GEN-BEGIN:initComponents and } // //GEN-END:initComponents But these don't appear when I look at the file in NetBeans. I've done the same for a very simple project which

GUI builder cannot find generated code

2019-10-22 Thread Peter Toye
Another issue moving from NB 8 to 11.1 I moved a Java with Ant project from NB version 8 to 11.1, and everything seemed fine until I decided to modify a form within the project. I got an error message saying that the GUI builder couldn't find the generated code. The message directed me to the

Re: Java project now needs classpaths to run it

2019-10-22 Thread Peter Toye
both GNU style and POSIX style arguments with both alternatives for most things. From running "java --help", I learn that --module will do the same as -m and -p is an alternative to --module-path On 10/21/19 5:56 AM, Peter Toye wrote: Re: Java project now needs classpaths to run it Wh

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
ope the above investigation makes you happy. :-) Gj On Mon, Oct 21, 2019 at 4:07 PM Geertjan Wielenga wrote: It is copied and pasted from there. Gj On Mon, 21 Oct 2019 at 16:06, Peter Toye wrote: Dear Geertjan, Fine. I agree. A shame that OpenJDK don't put this on the mailing list page

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
to write to that mailing list apparently without a problem. https://mail.openjdk.java.net/mailman/listinfo/discuss Go to the above and sign up, ignoring this topic on mailing lists now. Gj On Mon, 21 Oct 2019 at 15:48, Peter Toye wrote: Dear Geertjan, I wasn't expecting you to, but I hope

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
at 13:54, Peter Toye wrote: Dear Geertjan, Agreed - but the address they give is the one that's auto-rejected! Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, October 21, 2019, 11:35:13 AM, you wrote: You’ll need to subscribe to the mailing lists

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
On Mon, 21 Oct 2019 at 12:31, Peter Toye wrote: Dear Geertjan, Thanks. I wrote to the mailing list address and got the following answer: You are not allowed to post to this mailing list, and your message has been automatically rejected. If you think that your messages are being rejected

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
, 2019, 10:59:35 AM, you wrote: File an issue with steps, and we can investigate and see where to fix that output. If it still gives problems, can you say what those problems are, or how can we help? Gj On Mon, 21 Oct 2019 at 11:56, Peter Toye wrote: Dear Geertjan, Thanks again. I'd found

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
you're having running java on the command line -- they need to know that otherwise they'll never hear from you and never make it work the way you'd like. Gj On Sun, Oct 20, 2019 at 8:10 PM Peter Toye wrote: Dear Geertjan, OK, I've read up on modules and written my first Hello World p

Re: Java project now needs classpaths to run it

2019-10-20 Thread Peter Toye
t regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, October 14, 2019, 10:18:27 AM, you wrote: On Mon, Oct 14, 2019 at 11:16 AM Peter Toye wrote: Dear Geertjan, I agree that the "java" command has nothing to do with Netbeans. I'll try to be more

Re: Java project now needs classpaths to run it

2019-10-15 Thread Peter Toye
, Oct 14, 2019 at 11:16 AM Peter Toye wrote: Dear Geertjan, I agree that the "java" command has nothing to do with Netbeans. I'll try to be more explicit: I have a project which dates back to about 2006 and has a main class which I'll call A. This uses a separate class B which I

Re: Java project now needs classpaths to run it

2019-10-14 Thread Peter Toye
ava” command line below, which has nothing at all to do with NetBeans. You seen to be using different versions of Java. Gj On Fri, 20 Sep 2019 at 16:44, Peter Toye wrote: Having just moved from NB version 8 to 11.1 there seems to have been a change in the command line needed to run a proj

Re: Problems contacting website

2019-10-07 Thread Peter Toye
Dear Geertjan, I see what you mean! Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, October 7, 2019, 12:06:23 PM, you wrote: The mailing list is the forum. Gj On Mon, Oct 7, 2019 at 1:05 PM Peter Toye wrote: Dear Geertjan, I don't think I'm

Re: Problems contacting website

2019-10-07 Thread Peter Toye
, right now. Gj On Mon, Oct 7, 2019 at 12:41 PM Peter Toye wrote: I'm having problems contacting your website. http://www.netbeans.org/community/index.html is timing out. https://forums.netbeans.org/ is giving a security violation: An error occurred during a connection to forums.netbeans.org

PLease ignore previous mail

2019-10-07 Thread Peter Toye
Sorry - I just realised that my address book is out of date and has the old Oracle addresses. Regards, Peter mailto:netbe...@ptoye.com www.ptoye.com

Problems contacting website

2019-10-07 Thread Peter Toye
I'm having problems contacting your website. http://www.netbeans.org/community/index.html is timing out. https://forums.netbeans.org/ is giving a security violation: An error occurred during a connection to forums.netbeans.org. PR_CONNECT_RESET_ERROR The page you are trying to view

Java project now needs classpaths to run it

2019-10-05 Thread Peter Toye
Having just moved from NB version 8 to 11.1 there seems to have been a change in the command line needed to run a project. The OS is Windows 7 Home. The project has two external libraries: one in the Java modules in the NetBeans 11 directory, and one of my own. In version 8 it was possible to

Java project now needs classpaths to run it

2019-09-20 Thread Peter Toye
Having just moved from NB version 8 to 11.1 there seems to have been a change in the command line needed to run a project. The OS is Windows 7 Home. The project has two external libraries: one in the Java modules in the NetBeans 11 directory, and one of my own. In version 8 it was possible to

Over-enthusiastic deprecation removal

2019-08-29 Thread Peter Toye
In a JLayeredPane inheriting from JComponent a call of add(component, new Integer(LEVEL)) is deprecated and changed to add(component, LEVEL) However, these have different meanings as JComponent has two overrides of the add method, one taking an integer as the second parameter and one taking an

Re: Javadoc popup works, but "Show Javadoc" does not.

2019-08-13 Thread Peter Toye
Dear Neil, Sorry, no. Still "Cannot perform Javadoc here". But shift-F1 works OK (as it did before). Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Tuesday, August 13, 2019, 11:57:11 AM, you wrote: > On Tue, 13 Aug 2019 at 11:38, Peter

Re: Javadoc popup works, but "Show Javadoc" does not.

2019-08-13 Thread Peter Toye
Dear Thomas, I have a similar problem, but with the Oracle JDK. I specify the Javadoc index as https://docs.oracle.com/en/java/javase/12/docs/api/ Also using NB 11.1 on Windows. Maybe Alt-F1 is broken in 11.1?? Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com

Re: Files tab does not show all files

2019-08-08 Thread Peter Toye
be touched or changed, and even the idea of looking at Form file is a bad idea. Gj On Sat, 3 Aug 2019 at 16:30, Thomas Kellerer wrote: Peter Toye schrieb am 03.08.2019 um 14:19: > When investigating an issue, I found that the Files tab doesn't show > the .form files generated by the form

Re: Files tab does not show all files

2019-08-03 Thread Peter Toye
. It is generated by the GUI Builder, should never be touched or changed, and even the idea of looking at Form file is a bad idea. Gj On Sat, 3 Aug 2019 at 16:30, Thomas Kellerer wrote: Peter Toye schrieb am 03.08.2019 um 14:19: > When investigating an issue, I found that the Files tab does

Re: Files tab does not show all files

2019-08-03 Thread Peter Toye
- Saturday, August 3, 2019, 3:29:36 PM, you wrote: > Peter Toye schrieb am 03.08.2019 um 14:19: >> When investigating an issue, I found that the Files tab doesn't show >> the .form files generated by the form editor. Is this on purpose, as >> it's a bit co

Re: Files tab does not show all files

2019-08-03 Thread Peter Toye
PM, you wrote: You’re not supposed to be editing the form files at all. That’s why you can’t see them. If you ever find yourself editing form files, you’re definitely doing something wrong. Gj On Sat, 3 Aug 2019 at 14:19, Peter Toye wrote: When investigating an issue, I found that the Files

Files tab does not show all files

2019-08-03 Thread Peter Toye
When investigating an issue, I found that the Files tab doesn't show the .form files generated by the form editor. Is this on purpose, as it's a bit confusing? It's possibly a hangover from the Oracle days, as it also happens in NB version 8. Regards, Peter mailto:netbe...@ptoye.com

Re: Odd character translation

2019-07-20 Thread Peter Toye
saving files which contain characters that cannot be represented in the current encoding; b) form editor should avoid putting such characters into the source code. Jan On Fri, Jul 19, 2019 at 8:09 PM Peter Toye wrote: Sorry - hit "reply" rather than "reply all" Dear Gee

Re: Odd character translation

2019-07-20 Thread Peter Toye
marks directly in GitHub to the special characters. Gj On Sat, 20 Jul 2019 at 10:58, Peter Toye wrote: Dear Geertjan, The problem was "solved" in that there is a workaround long before I posted it - I simply put setText calls into the constructor. The reason I posted the pr

Re: Odd character translation

2019-07-20 Thread Peter Toye
Dear Geertjan, The problem was "solved" in that there is a workaround long before I posted it - I simply put setText calls into the constructor. The reason I posted the problem here was to determine if it was actually a NB issue, or something to do with my configuration. Jan Lahoda's comment

Re: Odd character translation

2019-07-19 Thread Peter Toye
ye.com www.ptoye.com - Friday, July 19, 2019, 4:47:07 PM, you wrote: My comment does more than imply: it directly states these words -- "edited this file directly in GitHub" Gj On Fri, Jul 19, 2019 at 5:35 PM Peter Toye wrote: Dear Geertjan, I see. But in the IDE, the initComponents()

Re: Odd character translation

2019-07-19 Thread Peter Toye
a pull request against my own repo and merged it: https://github.com/geertjanw/TestCharacters4/blob/master/src/com/ptoye/TestKiller/OuterPane.java Gj On Fri, Jul 19, 2019 at 5:08 PM Peter Toye wrote: Dear Geertjan, Thanks - it runs fine. So what exactly did you do as I can see no difference

Re: Odd character translation

2019-07-19 Thread Peter Toye
. Type: git clone https://github.com/geertjanw/TestCharacters4.git 3. Open and run the result from NetBeans. It will work out of the box, at least it does for me. Will you try it and then, after that, write back? Gj On Fri, Jul 19, 2019 at 4:52 PM Peter Toye wrote: Dear Geertjan, Thanks

Re: Odd character translation

2019-07-19 Thread Peter Toye
try plan B. Gj On Fri, Jul 19, 2019 at 2:07 PM Peter Toye wrote: Dear Geertjan, Errr No! I don’t want to delete the button - it's part of the UI. What I don't understand is how deleting button X changes the text in buttons A,B and C (if you see what I mean). That's surely a bug in NB, some

Re: Odd character translation

2019-07-19 Thread Peter Toye
j On Fri, Jul 19, 2019 at 1:28 PM Peter Toye wrote: Dear Geertjan, You didn't answer my last emails, and I’ve been away for a few days. Have a look at https://github.com/ptoye/TestCharacters4 - I hope you can access it but I'm not sure about the privacy settings on GitHub. There's a README fil

Re: Odd character translation

2019-07-19 Thread Peter Toye
problem. Gj On Sat, 13 Jul 2019 at 17:19, Peter Toye wrote: Dear Geertjan, Oh dear, I was wrong. The problem came back today, even without the offending file in the directory.Shall I try to cut down the program to a manageable size before posting it, or would you like the lot? Best regards

Re: Odd character translation

2019-07-13 Thread Peter Toye
, you wrote: Make as small a sample as possible that reproduces the problem and put it on GitHub — that will always be the approach to take, no one will ever want ‘the lot’ to solve a specific problem. Gj On Sat, 13 Jul 2019 at 17:19, Peter Toye wrote: Dear Geertjan, Oh dear, I was wrong

Re: Odd character translation

2019-07-13 Thread Peter Toye
- Friday, July 12, 2019, 4:25:35 PM, you wrote: You’re always going to have the same response — put the code somewhere so that someone can look at it and/or provide clear step by step instructions to reproduce the problem. Gj On Fri, 12 Jul 2019 at 17:15, Peter Toye wrote

Re: Odd character translation

2019-07-12 Thread Peter Toye
www.ptoye.com - Friday, July 12, 2019, 4:25:35 PM, you wrote: You’re always going to have the same response — put the code somewhere so that someone can look at it and/or provide clear step by step instructions to reproduce the problem. Gj On Fri, 12 Jul 2019 at 17:15, Peter Toye

Re: Odd character translation

2019-07-12 Thread Peter Toye
To continue with this (as I've not had any feedback) the .form file seems to contain the correct character: THIS IS CORRECT! So there's

Odd character translation

2019-07-09 Thread Peter Toye
I modified a button to display a character rather than a GIF icon. The character is a symbol - from the Unicode arrows set \x219x. It displays OK in the Design (and also Preview) panes (see Fonts1.png) but when the program is run it displays as a question mark. And if I look at the generated

Re: ...and now I can't build

2019-07-05 Thread Peter Toye
orm in the project settings. In order to solve the original issue we would need real logs. Just execute the ant build in debug mode, then send the debug output. I'm sorry, but screenshot won't help in this case. On 7/4/19 3:11 AM, Peter Toye wrote: Re: ...and now I can't build Dear Laszlo,

Re: ...and now I can't build

2019-07-04 Thread Peter Toye
consists of two Java source files? Gj On Thu, Jul 4, 2019 at 12:52 PM Peter Toye wrote: Dear Geertjan, Here's the output from a clean build. ant -f D:\\Peter\\Netbeans\\KillerSudoku11 -Dnb.internal.action.name=rebuild clean jar init: deps-clean: Updating property file: D:\Peter\Netbeans

Re: ...and now I can't build

2019-07-04 Thread Peter Toye
you do this: copy and paste the build error message into the response to this e-mail and then press Send? Gj On Thu, 4 Jul 2019 at 12:32, Peter Toye wrote: Dear Geertjan, Both javac.source and javac.target are set to 12. If I change the source/target to 8 they change accordingly. See

Re: ...and now I can't build

2019-07-04 Thread Peter Toye
:57 AM, Peter Toye wrote: ...and now I can't build I made a copy of a project in NB 8 and opened it in NB 11. Got some errors which were resolved OK. But it won't build - I get a warning and 2 errors: warning: [options] bootstrap class path not set in conjunction with -source 6 ??error: Source

Re: ...and now I can't build

2019-07-04 Thread Peter Toye
, Peter Toye wrote: ...and now I can't build I made a copy of a project in NB 8 and opened it in NB 11. Got some errors which were resolved OK. But it won't build - I get a warning and 2 errors: warning: [options] bootstrap class path not set in conjunction with -source 6 ??error: Source option 6

Re: Another installation issue

2019-07-04 Thread Peter Toye
messages, steps to reproduce, some clues from your end. Gj On Thu, 4 Jul 2019 at 11:36, Peter Toye wrote: Dear Geertjan, I was referring to the track called ' ...and now I can't build' which you've been helping me with. That problem remains in 11.1. Best regards, Peter mailto:netbe...@ptoye.com

Re: Another installation issue

2019-07-04 Thread Peter Toye
help with this. I mean, what does this problem description mean. Gj On Wed, 3 Jul 2019 at 19:47, Peter Toye wrote: Dear Geertjan, Thanks for the link. I tried it out and NB 11.1 runs without needing admin permission. If there are any glitches with the beta I'll send feedback - do I do that via

Re: Another installation issue

2019-07-03 Thread Peter Toye
/Apache+NetBeans+11.1 Gj On Mon, Jul 1, 2019 at 11:02 AM Geertjan Wielenga wrote: Or you can unzip the ZIP file and run the executable to start NetBeans like that, instead of installing it via an installer. Gj On Sun, Jun 30, 2019 at 6:58 PM Peter Toye wrote: Dear Geertjan, Yes... but it's

Re: ...and now I can't build

2019-07-02 Thread Peter Toye
- Monday, July 1, 2019, 12:03:28 PM, you wrote: I can very clearly see Source/Binary Format in your screenshot in the Sources tab. Gj On Mon, 1 Jul 2019 at 13:01, Peter Toye wrote: Dear Geertjan, I think we're at cross-purposes here. My Project Properties doesn't have

Re: ...and now I can't build

2019-07-01 Thread Peter Toye
' folder, to find 'project.properties' file. Gj On Mon, Jul 1, 2019 at 11:57 AM Peter Toye wrote: Dear Geertjan, To answer both your posts: I can't see any project option which corresponds to "source" or "target" with a value including "6". Which option are y

Re: ...and now I can't build

2019-07-01 Thread Peter Toye
y? Gj On Mon, Jul 1, 2019 at 10:58 AM Geertjan Wielenga wrote: Look in the Project Properties of your project (right-click it in the Projects window and choose Properties). Gj On Mon, Jul 1, 2019 at 10:57 AM Peter Toye wrote: I made a copy of a project in NB 8 and opened it in NB 11. Got some er

...and now I can't build

2019-07-01 Thread Peter Toye
I made a copy of a project in NB 8 and opened it in NB 11. Got some errors which were resolved OK. But it won't build - I get a warning and 2 errors: warning: [options] bootstrap class path not set in conjunction with -source 6 error: Source option 6 is no longer supported. Use 7 or later.

Re: Another installation issue

2019-06-30 Thread Peter Toye
- Sunday, June 30, 2019, 5:03:05 PM, you wrote: So just run it. Gj On Sunday, June 30, 2019, Peter Toye wrote: Having installed NB11 by unzipping the downloaded files, Windows keeps telling me that it's not digitally signed and whether I want to run it. This didn't happen

Another installation issue

2019-06-30 Thread Peter Toye
Having installed NB11 by unzipping the downloaded files, Windows keeps telling me that it's not digitally signed and whether I want to run it. This didn't happen with previous installations, presumably because the digital signing was handled automatically. I've downloaded the KEYS file, but I

Re: Bits missing in NB11 installation

2019-06-28 Thread Peter Toye
hand re javadoc, I know there's a PR about this: https://github.com/apache/netbeans/pull/1299 Gj On Fri, Jun 28, 2019 at 4:41 PM Peter Toye wrote: Having just installed NB 11, there seem to be bits missing: 1) There's no help system - just the online docs & support. Is this intentional

Bits missing in NB11 installation

2019-06-28 Thread Peter Toye
Having just installed NB 11, there seem to be bits missing: 1) There's no help system - just the online docs & support. Is this intentional? 2) (This one may be a Java issue not a Netbeans one.) I can't find the Javadoc for the Java 12 API. I tried setting the Javadoc URL to

Re: Swing in Netbeans

2019-06-27 Thread Peter Toye
Thanks Glenn for the comments. I was getting an intermittent notification that there was a missing hamcrest library, but without doing anything about it the messages seem to have disappeared. My code certainly doesn't use hamcrest directly, but there may be some assertion that is translated

Re: Swing in Netbeans

2019-06-26 Thread Peter Toye
- 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 wrote: Having recently decided

Swing in Netbeans

2019-06-26 Thread Peter Toye
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,

Re: Coming back to Netbeans

2019-06-23 Thread Peter Toye
Thanks Geertjan and Emilio. I've downloaded and unpacked, but there was a bug found when I started it up again - I've reported that to JIRA. But also, trying to open the project it says: Problem: The project uses a class library called "swing-layout", but this class library was not

Coming back to Netbeans

2019-06-22 Thread Peter Toye
I've not used NetBeans for some time, but probably want to start using it again. But a lot had happened since then: Apache has taken over from Oracle, and my old version (8.0.2) is way out of date. Is there an easy way to upgrade from that version to the latest stable one (whichever that is)