Re: hex dump

2020-06-27 Thread John G. Weed
100% for that
 But then I’m old school

Sincerely,

John .G Weed
Sr. Systems Architect/Programmer Analyst @ Cicero Systems, LLC
*"Reason. Resolve. Respond"*
(571) 277-9998
www.linkedin.com/in/john-weed-28378a161

*"Steal a man's reputation for probity, and the more shrewd and clever he is, 
the more hated and mistrusted he'll become." *Marcus Tullius Cicero (106BC-43BC)

*Confidentiality Notice:* The information contained in this electronic 
transmission is privileged and confidential and is intended only for the 
recipient(s) named above. If the reader of this message is not the recipient(s) 
named above, or an authorized agent of such recipient(s) responsible for 
delivering it to the intended recipient(s), you are hereby notified that you 
have received this electronic transmission in error. Any review, dissemination, 
distribution, or copying of this electronic transmission including any 
attachments is strictly prohibited. If you have received this electronic 
transmission in error, please notify the sender immediately.



On Sat, Jun 27, 2020, at 12:42, Glenn Holmer wrote:
> Does anybody else think it would be useful to have the option of viewing
> variables as a traditional hex dump in the NetBeans debugger? I'm
> thinking, for example, of a byte array. You can right-click a variable
> and select "Display as/Hexadecimal", but you don't get a dump (with hex
> characters on the left and readable characters on the right).
> 
> Is there anything in the Platform that would make this easy to do?
> 
> -- 
> Glenn Holmer (Linux registered user #16682)
> "After the vintage season came the aftermath -- and Cenbe."
> 
> 
> -
> 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
> 
> *Attachments:*
>  * cenbe.vcf

hex dump

2020-06-27 Thread Glenn Holmer
Does anybody else think it would be useful to have the option of viewing
variables as a traditional hex dump in the NetBeans debugger? I'm
thinking, for example, of a byte array. You can right-click a variable
and select "Display as/Hexadecimal", but you don't get a dump (with hex
characters on the left and readable characters on the right).

Is there anything in the Platform that would make this easy to do?

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
<>
-
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: Font scaling on High Res displays

2020-06-27 Thread Eirik Bakke
On Linux, HiDPI scaling is supported via the GDK_SCALE environment variable, 
but it's not set automatically. I'm not yet sure whether there's a way to get 
different scaling levels on different monitors, though. See 
https://issues.apache.org/jira/browse/NETBEANS-2360 .

I'd also recommend using FlatLAF as the Look & Feel on Linux, as that one has 
been updated with scalable window system icons (like the Windows and MacOS 
LAFs).

-- Eirik

From: Kevin Caravaggio 
Sent: Friday, June 26, 2020 10:31 PM
To: Eirik Bakke 
Cc: Laszlo Kishalmi ; users@netbeans.apache.org
Subject: Re: Font scaling on High Res displays

On a Linux desktop, HiDPI doesn't seem supported by NB 11. I configured editor 
settings to use very large font sizes so I can read source files though. The 
menus and window options are quite small though, so I just guess from memory 
when running things.
On Fri, Jun 26, 2020, 7:16 PM Eirik Bakke 
mailto:eba...@ultorg.com>> wrote:
Lots of HiDPI improvements on Windows 10 have been made in recent NetBeans and 
Java versions, so as others have suggested, just get the latest versions of 
both, and it should work fine.

And see Laszlo's point here--you can still compile and run your projects with 
JDK 8, even though the IDE itself is running on a more recent Java version.

-- Eirik

From: Laszlo Kishalmi 
mailto:laszlo.kisha...@gmail.com>>
Sent: Friday, June 26, 2020 1:35 PM
To: users@netbeans.apache.org
Subject: Re: Font scaling on High Res displays


You can run NetBeans on JDK 11 13 or 14 and still be able to work on Java 8 
projects., just add the Java 8 platform into Tools > Java Platforms.
On 6/26/20 6:36 AM, Jeff wrote:
I'm running netbeans 11.3 or 12.0 but still using Oracle Java 8.  I'll try 
upgrading to a newer open JDK version since we're going to head that direction 
anyway soon.

I'll try the other suggestions if that doesn't work but I'd prefer not to hard 
code anything if possible since I connect various external displays of varying 
sizes as well and hard coding any settings including forcing the font size 
doesn't translate automatically with other displays.

On Fri, Jun 26, 2020, 6:37 AM Joseph Huber 
mailto:jhu...@stanref.com>> wrote:
I have a Dell Precision 7720 laptop with the same issue.  In Windows 10, you 
can adjust the scaling behavior for individual apps.  Right-click on the 
shortcut for the app, select the “Compatibility” tab, and then click “Change 
high DPI settings” and switch between “System” and “Application”.  See the 
screenshot below.   I’m still running NB 8.2, and this is how I deal with the 
scaling issue when I travel and am using the laptop display instead of external 
monitors.  See the screenshot below.


Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Desk: 608-855-5808
Cell: 682-777-8374
jhu...@stanref.com

From: Jeff mailto:predato...@gmail.com>>
Sent: Thursday, June 25, 2020 11:48 PM
To: users@netbeans.apache.org
Subject: Font scaling on High Res displays

I got a new Dell Precision 5540 laptop through work that is running a native 
resolution of 3840 x 2160 on a 15" screen.  Windows defaults to 250% scaling to 
make text and icons readable at this resolution.

However, Netbeans project/source views don't seem to detect/honor the scaling 
settings and it is literally unreadable except with a magnifying glass.   The 
tool bar seems to honor the system scaling/font settings.  I can also change 
the editor text size but it does nothing for the project/Files/Services view 
nor the output/debug windows.

Enabling "Maximize use of native look and feel" didn't help.  Is there another 
setting I'm missing or do I just need to change the resolution?

Thanks!


Re: Font scaling on High Res displays

2020-06-27 Thread Peter Steele
I have hdpi working ok on Linux with jdk 11 and netbeans 12. The only issue
I have is the icons are small and the splash screen is small. I believe
there is a Jira for the icons (migrate to SVG ones)

I use the flatui theme, the theme you use is pretty important.

FlatUI does not need any special OS settings to work

Nimbus and Metal both need an OS settings to trigger any scaling. On Linux
you can set the gtk scale env variable and it will work although you will
need to adjust the font size as TTF fonts are typically hard coded to 96dpi
so won't change automatically with hdpi monitor.


On Sat, 27 Jun 2020, 03:31 Kevin Caravaggio,  wrote:

> On a Linux desktop, HiDPI doesn't seem supported by NB 11. I configured
> editor settings to use very large font sizes so I can read source files
> though. The menus and window options are quite small though, so I just
> guess from memory when running things.
>
> On Fri, Jun 26, 2020, 7:16 PM Eirik Bakke  wrote:
>
>> Lots of HiDPI improvements on Windows 10 have been made in recent
>> NetBeans and Java versions, so as others have suggested, just get the
>> latest versions of both, and it should work fine.
>>
>>
>>
>> And see Laszlo's point here--you can still compile and run your projects
>> with JDK 8, even though the IDE itself is running on a more recent Java
>> version.
>>
>>
>>
>> -- Eirik
>>
>>
>>
>> *From:* Laszlo Kishalmi 
>> *Sent:* Friday, June 26, 2020 1:35 PM
>> *To:* users@netbeans.apache.org
>> *Subject:* Re: Font scaling on High Res displays
>>
>>
>>
>> You can run NetBeans on JDK 11 13 or 14 and still be able to work on Java
>> 8 projects., just add the Java 8 platform into Tools > Java Platforms.
>>
>> On 6/26/20 6:36 AM, Jeff wrote:
>>
>> I'm running netbeans 11.3 or 12.0 but still using Oracle Java 8.  I'll
>> try upgrading to a newer open JDK version since we're going to head that
>> direction anyway soon.
>>
>>
>>
>> I'll try the other suggestions if that doesn't work but I'd prefer not to
>> hard code anything if possible since I connect various external displays of
>> varying sizes as well and hard coding any settings including forcing the
>> font size doesn't translate automatically with other displays.
>>
>>
>>
>> On Fri, Jun 26, 2020, 6:37 AM Joseph Huber  wrote:
>>
>> I have a Dell Precision 7720 laptop with the same issue.  In Windows 10,
>> you can adjust the scaling behavior for individual apps.  Right-click on
>> the shortcut for the app, select the “Compatibility” tab, and then click
>> “Change high DPI settings” and switch between “System” and “Application”.
>> See the screenshot below.   I’m still running NB 8.2, and this is how I
>> deal with the scaling issue when I travel and am using the laptop display
>> instead of external monitors.  See the screenshot below.
>>
>>
>>
>>
>>
>> Thank You!
>>
>>
>>
>> Joe Huber
>>
>> Standard Refrigeration LLC
>>
>> 2005 Reverchon Dr
>>
>> Arlington, TX  76017
>>
>> Desk: 608-855-5808
>>
>> Cell: 682-777-8374
>>
>> jhu...@stanref.com
>>
>>
>>
>> *From:* Jeff 
>> *Sent:* Thursday, June 25, 2020 11:48 PM
>> *To:* users@netbeans.apache.org
>> *Subject:* Font scaling on High Res displays
>>
>>
>>
>> I got a new Dell Precision 5540 laptop through work that is running a
>> native resolution of 3840 x 2160 on a 15" screen.  Windows defaults to 250%
>> scaling to make text and icons readable at this resolution.
>>
>>
>>
>> However, Netbeans project/source views don't seem to detect/honor the
>> scaling settings and it is literally unreadable except with a magnifying
>> glass.   The tool bar seems to honor the system scaling/font settings.  I
>> can also change the editor text size but it does nothing for the
>> project/Files/Services view nor the output/debug windows.
>>
>>
>>
>> Enabling "Maximize use of native look and feel" didn't help.  Is there
>> another setting I'm missing or do I just need to change the resolution?
>>
>>
>>
>> Thanks!
>>
>>