Is v19 slower than 18?

2023-09-20 Thread Eric J. Schwarzenbach
Can we get any more confirmations and / or denials that Netbeans 19 is a 
step backwards speed-wise? These two reports of that make me reluctant 
to upgrade, but it is surprising that it is only 2 if this is a general 
problem. However the thread subject is kind of specific and might be 
ignored by many users, so...



On 9/11/23 10:38, Emiliano Armellin wrote:

Hello,

I can confirm that this version is very slow, significantly slower 
than 18, even on Mac M2 Pro (using the Community Installer version 
with JDK 20).


*Emiliano Armellin*
*technical leader*

earmel...@atklab.com
 342 545 83 83 



ATK LAB Srl - unipersonale

 via Benedetto Marcello 18 - 31100 Treviso (TV) | tel. 0422 45.21.01 | 
i...@atklab.com  - atklab.com 

 Le informazioni trasmesse sono destinate esclusivamente alla persona 
o alla società in indirizzo e sono da intendersi confidenziali e 
riservate. Ogni trasmissione, inoltro, diffusione o altro uso di 
queste informazioni a persone o società differenti dal destinatario è 
proibita. Se ricevete questa comunicazione per errore, contattate il 
mittente e cancellate le informazioni da ogni computer.

Il 11 set 2023, 15:46 +0200, Ken Standard  ha scritto:


This version is extremely slow for most operations...over a minute 
for some. Please find my environment below. Version 18 was looking 
very good until this came out.



*Product Version:* Apache NetBeans IDE 19

*Java:* 11.0.19; OpenJDK 64-Bit Server VM 11.0.19+7

*Runtime:* OpenJDK Runtime Environment 11.0.19+7

*System:* Linux version 5.10.0-25-amd64 running on amd64; UTF-8; 
en_US (nb)


*User directory:* /home/ken/.netbeans/19

*Cache directory:* /home/ken/.cache/netbeans/19

System: Kernel: 5.10.0-25-amd64 x86_64 bits: 64 compiler: gcc v: 
10.2.1 Desktop: Cinnamon 5.6.8
tk: GTK 3.24.24 wm: muffin dm: LightDM Distro: LMDE 5 Elsie base: 
Debian 11.2 bullseye
Machine: Type: Desktop System: Dell product: OptiPlex 3050 v: N/A 
serial:  Chassis:

type: 3 serial: 
Mobo: Dell model: 08NPPY v: A00 serial:  UEFI: Dell v: 1.25.0 
date: 04/05/2023
CPU: Info: Quad Core model: Intel Core i5-6500 bits: 64 type: MCP 
arch: Skylake-S rev: 3

L2 cache: 6 MiB

Hope to see an effective update to correct this problem soon.

Thanks

Ken Standard ad...@qso.com


Re: Console: ascii characters not shown correctly

2023-05-01 Thread Eric J. Schwarzenbach
Those line characters are not ASCII. They are part of some other 
encodings, including unicode. Those odd characters are suggestive of an 
encoding mixup, though I'm not sure how you'd manage to get one in this 
context (perhaps via your logger setup?). The alternating characters 
suggest something like the attempt to interpret the bytes of a 
multi-byte UTF-8 character as multiple characters.


The other thing that can cause this sort of thing to happen is if the 
particular font used does not support the particular characters used 
(few fonts support the entire unicode set). If the font you used in the 
editor supported these characters but the font used in the output window 
did not, it might cause odd looking output, but more commonly some block 
characters rather than the odd pattern you have here. You can 
right-click on the output window and choose "Settings..." to what font 
it's using.


On 5/1/23 11:46, Geert Vancompernolle wrote:

I have the following line in my Java application:

mLogger.info("╔╗"); 



but I see this in the debug console of NB17:

01-05-2023 17:43:22 INFO HomeControl - 
╔��������������������������������������������������������������������������������╗


How can I get the correct ascii characters in NB17?  Previous versions 
of NB (e.g. NB12.5) showed this correctly


Re: Does Netbeans have this IntelliJ Log feature?

2021-08-28 Thread Eric J. Schwarzenbach
FWIW: I run Tomcat from NetBeans (I guess the Tomcat integration is a 
plugin? Part of "Java Web and EE"?). When I start the Tomcat Server from 
within NetBeans, it opens several tabs within the Output window for 
logging. I mention this in case this is functionality that can be 
leveraged or adapted, or which a new log viewing feature should 
harmonize with.


Cheers,

Eric

On 8/27/21 4:03 PM, Tim Mullé wrote:

Hi,

I use a feature in IntelliJ at work when running applications from the 
IDE that allows me to view one or more log files

In separate tabs when the program starts up.

I was wondering if Netbeans has this kind of support or is there a 
plugin already to support this kind of action?


If not, I was thinking of taking a shot at writing one since I do like 
using Netbeans and it would be a fun and useful way to expand the IDE.


I’m guessing it would be an extension of the Java project or editor to 
add a new configuration option in the project settings dialog?
I saw something in the New Project wizard tutorial on how to add 
customizers for Projects so I think that might be where it should 
go..still learning.



I know I can always tail the logs in the terminal, but that’s no fun :)

I’d like a new tab to open up and stream the log file(s) just like 
IDEA does.


You can configure it in the configuration settings in IntelliJ on a 
per project basis:


Here is the description how to use it: 
https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html



Thanks,
- Tim



phishing emails?

2020-12-10 Thread Eric J. Schwarzenbach
Today I received an email (to my address directly I think, not via this 
list) in the form of a reply to an old message of mine in a thread on 
this list. It contained a link that I assumed to an image demonstrate 
the problem being discussed in that thread, which I foolishly clicked. 
It was a google docs link, and I'm not really sure what it did, nothing 
as far as I can tell, but I believe it must have been some kind of 
phishing or other malware attempt. Perhaps I got lucky due to not having 
the usual configuration.


I thought I should just remind everyone to beware of links in replies to 
messages that might look like they are coming from this list.


Cheers,

Eric


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans 12 minor to moderate bug list

2020-06-16 Thread Eric J. Schwarzenbach



On 6/16/20 11:11 AM, Ty Young wrote:
-Sometimes code will be underlined as if it has an error but it does 
not. The only way to fix this is by restarting the IDE[1]. Of not is 
that this used to be absolutely terrible way back in Netbeans 8.2 but 
since the performance improvements some time ago, it's rarely an 
issue. Ignore the command line output, it's irrelevant.


When this happens, do you find an error underline on the import line for 
this class or package (if I remember right it will something like just 
the "com." of the line that's underlined, or something like that?).


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Decompiler for java

2020-05-18 Thread Eric J. Schwarzenbach
It seems odd to mix the Java and Javscript items. I have no need for the 
Javascript items, another programmer may have no need for the Java 
items, yet another may no need for either and have an entirely different 
list.


I have a need for a java decompiler about once every 5 years, if that, 
for about 10 minutes.


This may be lack of imagination on my part, but the only code completion 
feature I miss, would the equivalent of "Assign Return Value to New 
Variable" for java for-each statements.



On 5/17/20 12:27 AM, Brain Rebooting wrote:
Still, Apache Netbeans requires some things to be usable as a true 
full stack IDE for java and JavaScript at least. They are:


1. Machine learning capabilities to code completion.
2. Autocompletion support for database or SQL language and NoSQL 
support like MongoDB.

3. A Decompiler for java.
4. React Native support.

at least these should be added into Apache Netbeans future releases to 
gather more real life developers.

Hope for the best.




On Sun, May 17, 2020 at 9:17 AM Brain Rebooting 
mailto:siumastroma...@gmail.com>> wrote:


Hi all,

Is there any decompiler for netbeans to see source code from class
file.

Samiul alom sium
Bangladesh



Re: Mouse quirks

2020-05-01 Thread Eric J. Schwarzenbach
I'd offer one suggestion for anyone suffering from double-click 
problems: you can configure the click delay that determines whether a 
second click constitutes a double click or a second single-click. I 
remember this being a setting in the control panel from my Windows days, 
no idea about Macs, and in Linux you may have to dig into a config file 
depending on your desktop manager. I'm not positive that the OS setting 
affects Netbeans, but it might be worth a try.



On 5/1/20 2:00 AM, James Ostrowick wrote:
I’m so glad someone else is having this problem! I thought it was just 
me.


It drives me nuts trying to create a debug breakpoint as well, 
sometimes I have to click several times to get it to acknowledge the 
breakpoint insertion.


What I have noticed is that it if you click, pause for about a second 
and then click again it acknowledges the second click better. (When 
creating breakpoints)
I’ve also found that the external mouse is less accurate than the 
trackpad for some very strange reason, possibly something to do with 
the resolution of the mouse being lower than the trackpad?
So, bluetooth apple mouse clicks tend NOT to be recognised as easily 
as the trackpad.


I first noticed this irritation in NB 10, but its persisted into 11 as 
well


This is on MacOS X Catalina 10.15.4, NB 11.3



On 01 May 2020, at 07:51, Alan > wrote:


I think Scott is onto something. I've run 20 or so tests where I 
experienced this by leaving my external mouse still and using the 
button on the laptop touchpad to do the clicking, and there were no 
"missed/ignored" clicks. Same story for a similar problem with 
opening files via double-click.


On 2020-04-30 18:39, Alan wrote:


That's a definite possibility... I'm a "drive by clicker", notorious 
for small mouse shifts between down and up. I'll try testing that out.


On 2020-04-30 16:11, Scott Palmer wrote:
Same on macOS. It seems if the mouse moves a single pixel between 
mouse down and mouse up then it may not count as a click.


Scott

On Apr 30, 2020, at 11:59 AM, Darin Miller 
 wrote:



I also observe the "ultra precise" mouse behavior. Both on win7 
and win10 desktops.


 o__
__>/ __
(__)\(__) Darin | 208-991-4421


On Thu, Apr 30, 2020 at 9:52 AM Alan 
> wrote:


Hi Eirik,

No display scaling, everything is 100%. It's also
monitor-independent. The problem is inconsistent, although
it's more prevalent with breakpoints than with the document
close. The highlight box is a good indication that the mouse
position is getting read right, it's the click event that
seems to be problematic.

At this point I'm waiting for a time when I have the presence
of mind to start screen captures. Then maybe I can better
characterize the problem. It doesn't appear to be a consistent
shift. I suspect the location of the actual hostspot is
dependent on screen coordinates. I've had this experience with
all the 11.x series, can't recall if it was there in 10.x or
not, but it's new since 8.2. If it's not "just me" with this
problem I'll see if I can set aside some time to get some more
actionable information.

This is an older machine, ASUS G75 laptop, i7-3630QM CPU, 12GB
RAM, SSD drives. Video card is NVIDIA GeForce GTX 660M, two
external monitors, external mouse Logitech M545. NB is usually
on a LG QHD 2560x1440 monitor.

On 2020-04-30 10:37, Eirik Bakke wrote:

I get the red box hover highlight around the "X" to close a document, but 
unless I click in exactly the right place within that box, the document doesn't close.

Hmm, odd--I'm on Windows 10 as well, and hadn't had this problem. Do you have HiDPI scaling active 
by any chance? ("Display Settings"->"Change the Size of Text, Apps and Other 
Items")

Will be easier to debug if you can find a way to consistently reproduce the 
problem.

-- Eirik

-Original Message-
From: Alan    
Sent: Thursday, April 30, 2020 12:07 AM

To: NetBeans Mailing List  

Subject: Mouse quirks

The question about odd laptop quirks has reminded me. Does anyone else 
experience this...

Under intermittent circumstances, mouse clicks seem to need to be extremely precise. 
For example on closing a document, I get the red box hover highlight around the 
"X" to close a document, but unless I click in exactly the right place within 
that box, the document doesn't close.
There's no consistency as to where the right spot is, either. This happens 
with sufficient frequency that I'm in the habit of using Crtl-W or right 
clicking and selecting close instead.

I also get this when trying to clear a breakpoint.

Running Windows 10 rev 1909, 64 bit, Java 13.0.2.


-
To unsubscribe, 

Re: Problems with Consolas font in NetBeans and Windows 10

2020-04-23 Thread Eric J. Schwarzenbach
FWIW, the open source font Inconsolata is very similar to Consolas. If 
you end up needing a workaround.



On 4/22/20 7:54 AM, Thomas Kellerer wrote:

Hello,

I am using the (built-in) Consolas font for editing in NetBeans (and all other 
code editors actually).

It seems that the line height in the NetBeans editor is a bit too small and 
cuts off the top most pixels.
This isn't really a problem, except for upper case German umlauts (ÖÄÜ).

However the output window (using the same font) does not suffer from this.

I have uploaded a screenshot to show the problem: 
https://i.imgur.com/g8gGvLK.png

I remember in very old NetBeans versions it was possible to influence the line 
height in the editor, but apparently this isn't possible any more.

Currently I run NetBeans with AdoptOpenJDK 13, but this was already the case 
with 11 as well.

This happens both in 11.3 and 12-beta3
I am using Windows 10, and this is not a High-DPI display (standard 1920*1200 
monitor)

Any ideas?

Regards
Thomas

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@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: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Project's pom.xml contains invalid xml content. Please fix the file before proceeding.

2020-04-10 Thread Eric J. Schwarzenbach
Right, but are you considering this error behavior to be a bug? Because 
as far as I can see the pom.xml, despite OP's claims, is NOT valid.


This pom.xml uses xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd;.


The schema at https://maven.apache.org/xsd/maven-4.0.0.xsd declares 
xmlns="http://maven.apache.org/POM/4.0.0;.



On 4/10/20 12:30 PM, Emilian Bold wrote:
I suspect that's the problem: the URL itself is not resolved (because 
then it wouldn't have mattered if it's https vs http). So internally 
there *may* be a list of such schema URLs which expressly has the http 
URL and does nothing for the new https URL.


--emi


On Fri, Apr 10, 2020 at 7:29 PM Eric J. Schwarzenbach 
mailto:eric.schwarzenb...@wrycan.com>> 
wrote:


XML namespaces /look/ like urls by convention, but are not meant
to actually be treated as urls and resolved. Is
"https://maven.apache.org/POM/4.0.0;
<https://maven.apache.org/POM/4.0.0> actually a valid namespace
for the maven pom XML?

On 4/10/20 1:39 AM, Emilian Bold wrote:

Interesting. I think there's a whitelist of schema URLs in NetBeans
and they have the original http variant. Please report this on JIRA,
somebody might pick it up for 12 (which would be the next LTS
version).

--emi

On Fri, Apr 10, 2020 at 3:25 AM Philip Durbin  
<mailto:philipdur...@gmail.com>  wrote:

I see what happened. In a recent pull request* we changed "http" to "https" 
in our pom.xml like this:

BEFORE
http://maven.apache.org/POM/4.0.0;  
<http://maven.apache.org/POM/4.0.0>
AFTER
https://maven.apache.org/POM/4.0.0;  
<https://maven.apache.org/POM/4.0.0>

If I revert "https" back to "http" I can open the project properties.

Phil

*https://github.com/IQSS/dataverse/pull/6519



On Thu, Apr 9, 2020 at 3:17 PM Philip Durbin  
<mailto:philipdur...@gmail.com>  wrote:

Hi, we are seeing the following error in Netbeans 11.3 and earlier versions 
such as Netbeans 8.2 even though our pom.xml is valid (I used xmllint to check 
it and others on my team used other validators):

"Project's pom.xml contains invalid xml content. Please fix the file before 
proceeding."

I'll also attach a screenshot.

What I'm trying to do is right click the Java EE project and open the 
properties.

Here's the commit I'm 
on:https://github.com/IQSS/dataverse/blob/d04d09c3e8d66295dc12e25f676a04a44b69acd6/pom.xml

Any advice is welcome!

Phil

-
To unsubscribe, e-mail:users-unsubscr...@netbeans.apache.org  
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:users-h...@netbeans.apache.org  
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Project's pom.xml contains invalid xml content. Please fix the file before proceeding.

2020-04-10 Thread Eric J. Schwarzenbach
XML namespaces /look/ like urls by convention, but are not meant to 
actually be treated as urls and resolved. Is 
"https://maven.apache.org/POM/4.0.0; actually a valid namespace for the 
maven pom XML?


On 4/10/20 1:39 AM, Emilian Bold wrote:

Interesting. I think there's a whitelist of schema URLs in NetBeans
and they have the original http variant. Please report this on JIRA,
somebody might pick it up for 12 (which would be the next LTS
version).

--emi

On Fri, Apr 10, 2020 at 3:25 AM Philip Durbin  wrote:

I see what happened. In a recent pull request* we changed "http" to "https" in 
our pom.xml like this:

BEFORE
http://maven.apache.org/POM/4.0.0;
AFTER
https://maven.apache.org/POM/4.0.0;

If I revert "https" back to "http" I can open the project properties.

Phil

* https://github.com/IQSS/dataverse/pull/6519



On Thu, Apr 9, 2020 at 3:17 PM Philip Durbin  wrote:

Hi, we are seeing the following error in Netbeans 11.3 and earlier versions 
such as Netbeans 8.2 even though our pom.xml is valid (I used xmllint to check 
it and others on my team used other validators):

"Project's pom.xml contains invalid xml content. Please fix the file before 
proceeding."

I'll also attach a screenshot.

What I'm trying to do is right click the Java EE project and open the 
properties.

Here's the commit I'm on: 
https://github.com/IQSS/dataverse/blob/d04d09c3e8d66295dc12e25f676a04a44b69acd6/pom.xml

Any advice is welcome!

Phil

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: WARNING: INFECTED: Re: deployable javafx app

2019-12-04 Thread Eric J. Schwarzenbach
So that suggests that this mispelling of apache.org is being used 
maliciously. I seem to recall reading that this is illegal and there are 
actions Apache could take to have this domain shut down.



On 12/3/19 10:19 AM, Jens Zurawski wrote:
I know, it's just a typo. But I accidentally clicked on it and after 
that my browser went nuts in trying to open some very suspicious stuff 
on and on again, so that I had to stop my browser the hard way by 
killing the process. Of course I didn't try the link again, so maybe 
it's gone by now.


Best is: Just don't use the original address with the typo.

cu
Jens


Am 03.12.2019 um 16:15 schrieb Neil C Smith:



On Tue, 3 Dec 2019, 14:53 Chuck Davis, > wrote:


If you hover on the link google created it indicates it's going
to maven but then goes anyplace else.


It's just a typo, not malicious. Spell Apache right and you're fine.

Best wishes,

Neil




--
jens zurawski
diegurus - zurawski zurawski poppl rohland GbR
juister straße 3
65199 wiesbaden

kaspersweg 7b
26131 oldenburg

internethttp://www.diegurus.de

tel +49(0)611 72437966


CONFIDENTIALITY NOTICE: This e-mail message is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail and destroy all copies of the
original message.  If you are the intended recipient but do not wish to
receive communications through this medium, please so advise the sender
immediately.


Re: Java project now needs classpaths to run it

2019-10-21 Thread Eric J. Schwarzenbach
It's pretty common-place (at least in *nix) for commands to support 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
Why the Java designer can't just stick to a single syntax is beyond 
me.




Re: please recommend Linux Font for Netbeans on Linux

2018-12-10 Thread Eric J. Schwarzenbach
It would be pretty extraordinary for something to be doing that to 
monospace fonts. It would have to be some kind of very deliberate 
feature ("auto-kerning"?) which would be generating a lot of complaints 
more broadly. I'm suspicious about your tabs / spaces. Could some 
setting there being doing something you don't expect? Could your 46 and 
49 be including one or more tab? Have you tried turning on "show 
unprintable characters."



On 12/7/18 1:11 AM, * William wrote:

Hello list ...

Please refer to the screen shot below ... The comment on the right is 
the column number of the parent class/interface on that line.


image.png

I'm running Netbeans 9 on Ubuntu 18.10 and using the JDK 11.  for 
contrast on the command line in terminal, everything lines-up with al 
lthe fixed fonts I've tested.  Including Courier 10


Same fonts in Netbeans are all over the place.  It is a mess.  No 
matter which "Look and Feel" I use.


Does someone know a fixed font that works in netbbeans so that this 
example lines up:


 1 2
123456789*123456789*

That's using the Gmail fixed font setting.  10 spaces in is a "1".  
This is all ove rthe pace with netbeans.  I don't think there's reason 
for that except no one cared to make it work.  VS Code manages to work OK.


aloha,
         \_w_/
 ___