Re: Odd character translation

2019-07-19 Thread Jan Lahoda
Hi, I suspect the cause for the initial problem is that at some point, the files was saved with an encoding that does not handle these characters. And form editor avoids regenerating the code unless there are changes, so the broken code remains until something changes. A potential workaround is

syntax highlighting values are resetting to default

2019-07-19 Thread collector1871
Hello everyone, i have very annoying problem with incorrect xml syntax highlighting (file pom.xml), it looks like this: basically this header tag is very unclear. I am afraid this issue will appear in the future, for other syntax highlighting, so this is why I am asking here. so what i

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
Your problem is solved, I think you should move on to your next problem now. If you want me to try something, please tell me exactly what it is that I must try. Thanks, Gj On Fri, Jul 19, 2019 at 8:09 PM Peter Toye wrote: > Sorry - hit "reply" rather than "reply all" > > Dear Geertjan, > >

Re: Odd character translation

2019-07-19 Thread Peter Toye
Sorry - hit "reply" rather than "reply all" Dear Geertjan, True. Can you try it in the form editor and see what happens? There's not much point in having an IDE which forces you to use an external editor! Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com -

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
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() can't be edited - it's greyed > out as I'd expect from auto-generated

Re: Odd character translation

2019-07-19 Thread Peter Toye
Dear Geertjan, I see. But in the IDE, the initComponents() can't be edited - it's greyed out as I'd expect from auto-generated code, especially code prefixed by /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
I cloned your repo and then edited this file directly in GitHub, replacing the question marks with your special characters, then created 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,

Re: Odd character translation

2019-07-19 Thread Peter Toye
Dear Geertjan, Thanks - it runs fine. So what exactly did you do as I can see no difference in either the ,form or .java files? Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Friday, July 19, 2019, 3:57:45 PM, you wrote: 1. Open a terminal window. 2.

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
1. Open a terminal window. 2. 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:

Re: Odd character translation

2019-07-19 Thread Peter Toye
Dear Geertjan, Thanks. But it seems to me that you edited the .java file. The issue is that the part that you edited is auto-generated by NB from the form designer, and is not under the programmer's control. So when I recompile, the old bug will return. I use "will" here as I'm still trying

Re: Design and Source view of persistence.xml don't match

2019-07-19 Thread Geertjan Wielenga
Yes: https://issues.apache.org/jira/browse/NETBEANS-2848 Gj On Fri, Jul 19, 2019 at 2:31 PM Richard Grin wrote: > Hi, > > I continue to test NetBeans 11.1 beta 4 and report potential bugs (is it > the right place to do it?) > > Web project with Payara 5.192. > > Just after having created a Web

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
https://github.com/geertjanw/TestCharacters4.git Try check out the above and run it -- you should see your special characters without needing to do anything. Gj On Fri, Jul 19, 2019 at 2:28 PM Geertjan Wielenga wrote: > The problem appears to be that when you check in or check out from

Design and Source view of persistence.xml don't match

2019-07-19 Thread Richard Grin
Hi, I continue to test NetBeans 11.1 beta 4 and report potential bugs (is it the right place to do it?) Web project with Payara 5.192. Just after having created a Web project with Maven, if I display persistence.xml, the 2 views, Source and Design, don't match (for example the version of JPA

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
The problem appears to be that when you check in or check out from GitHub, those special characters become question marks -- probably not best to use those special characters to begin with. To solve the 'swing-layout not found problem' in your project, right-click it, choose Properties, go to the

Re: Versions of Java

2019-07-19 Thread Richard Grin
Thanks Neil. I wanted to test the beta 4 version before the issue of the final version but it seems I should have to study Maven deeper. Just for information, everything, including Payara, seems to work well with JDK 11 (it was not the case before). Richard Le 19/07/2019 à 12:45, Neil C

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
I've checked in the changes you need as a pull request, once you integrate the pull request, you will not have question marks. The question marks where in your repo, they will not be there anymore after you accept my pull request. At this point, you've spent about two weeks working on this

Re: Odd character translation

2019-07-19 Thread Peter Toye
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, somewhere when it translates the data in the .form file into the

Re: Odd character translation

2019-07-19 Thread Geertjan Wielenga
I just followed your steps now and am now at the end where you say: "Go back to the OuterPane design and delete the leftmost button (undo). Compile and run again. The question marks have disappeared and the arrows/square are there!" So, the problem is fixed, i.e., your code is working in the

Re: Odd character translation

2019-07-19 Thread Peter Toye
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 file to tell you what to do. Best regards, Peter

Re: Versions of Java

2019-07-19 Thread Neil C Smith
On Fri, 19 Jul 2019 at 11:03, Richard Grin wrote: > > NetBeans is running with Java 10.0.1 (certainly the reason of > "Defaults") but the entry "Java Dependencies" is under the project and I > changed the version of Java for the project to Java 11. > > Perhaps a right click on the projects >

Re: Versions of Java

2019-07-19 Thread Richard Grin
NetBeans is running with Java 10.0.1 (certainly the reason of "Defaults") but the entry "Java Dependencies" is under the project and I changed the version of Java for the project to Java 11. Perhaps a right click on the projects > Properties does not change anything when the project is built

Re: Versions of Java

2019-07-19 Thread Neil C Smith
On Fri, 19 Jul 2019 at 10:31, Richard Grin wrote: > Why "JDK 10 (Default)" under the entry "Java Dependencies" in the Projects > tab? The (Default) sounds like you're running on a Java 10 JDK? Best wishes, Neil - To

Versions of Java

2019-07-19 Thread Richard Grin
Hi, NetBeans 11.1 beta 4. Web project with Payara 5.192. I have put Java 11 for all the properties of the project, with a right clic on the project and the choice "Properties" (Sources and Build > Compile). Why "JDK 10 (Default)" under the entry "Java Dependencies" in the Projects tab? And