Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37970

Re: How do you scale a JCheckBox?

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: How do you scale a JCheckBox?
Date 2018-01-22 15:31 -0600
Organization A noiseless patient Spider
Message-ID <p45l6r$5v3$1@dont-email.me> (permalink)
References <316fc0bc-d954-41c1-b913-3dd6e52e902a@googlegroups.com> <p42rpp$jku$1@dont-email.me> <0981e378-abef-4acc-a9c4-b67d68a75f35@googlegroups.com> <p457io$r3l$1@dont-email.me> <18a2624c-57f3-42d8-b1bd-610216c74822@googlegroups.com>

Show all headers | View raw


On 1/22/2018 14:49, Eric Douglas wrote:
> On Monday, January 22, 2018 at 12:38:51 PM UTC-5, Knute Johnson wrote:
>>
>> I looked back at my notes and it is Java 9 that fixed the Swing scaling
>> issues.  Try Java 9 and I think all your problems will be solved.
>>
>> -- 
>>
>> Knute Johnson
> 
> I can only hope icons scale correctly in Java 9, as they also used a fixed size icon for JOptionPane.  This hasn't been an issue in our application thus far, but does look stupid if you set your resolution/scale too far off.
> 

The scaling is actually very good.  I had a client get a laptop with a 
very high DPI monitor and he couldn't read the text on the GUI.  I had 
started rewriting the program with a JavaFX GUI when Java 9 showed up 
with the scaling fix for Swing.  He just changed out his runtime and it 
is back readable again.

Java 10 is due in late March, I don't know what that means for 8, 
whether it will be EOLd then or if there will be a delay on that with 
the new release schedule.

9 has one really nice feature and that is that you can compile for 
previous versions with a single command line option.  You don't need to 
have the rt.jar files for all the different versions.  I've got some 
software in the wild that is stuck on Java 8 runtimes for the 
foreseeable future but I'm using the 9 compiler.

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How do you scale a JCheckBox? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-19 05:28 -0800
  Re: How do you scale a JCheckBox? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-19 13:13 -0800
    Re: How do you scale a JCheckBox? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-01-20 09:49 +0100
      Re: How do you scale a JCheckBox? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-22 04:56 -0800
    Re: How do you scale a JCheckBox? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-22 08:54 -0800
  Re: How do you scale a JCheckBox? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-21 14:05 -0600
    Re: How do you scale a JCheckBox? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-22 07:25 -0800
      Re: How do you scale a JCheckBox? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-22 11:38 -0600
        Re: How do you scale a JCheckBox? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-22 10:17 -0800
        Re: How do you scale a JCheckBox? Eric Douglas <e.d.programmer@gmail.com> - 2018-01-22 12:49 -0800
          Re: How do you scale a JCheckBox? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-22 15:31 -0600
  Re: How do you scale a JCheckBox? j4n bur53 <janburse@fastmail.fm> - 2018-01-22 22:37 +0100
    Re: How do you scale a JCheckBox? bursejan@gmail.com - 2018-01-22 14:16 -0800
      Re: How do you scale a JCheckBox? bursejan@gmail.com - 2018-01-22 14:18 -0800

csiph-web