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


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

Re: How do you scale a JCheckBox?

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Daniele Futtorovic <da.futt.news@laposte.net>
Newsgroups comp.lang.java.programmer
Subject Re: How do you scale a JCheckBox?
Date Sat, 20 Jan 2018 09:49:29 +0100
Organization A noiseless patient Spider
Lines 16
Message-ID <p3uvrh$91o$1@dont-email.me> (permalink)
References <316fc0bc-d954-41c1-b913-3dd6e52e902a@googlegroups.com> <985fa054-03a9-4490-a298-a0df9ac4171f@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Injection-Date Sat, 20 Jan 2018 08:49:53 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="9132d76747f79d2c70c7d63a12a493ba"; logging-data="9272"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NE1LZnsSiTzNuTyIfELO1"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
In-Reply-To <985fa054-03a9-4490-a298-a0df9ac4171f@googlegroups.com>
X-Antivirus-Status Clean
Content-Language en-GB
X-Antivirus AVG (VPS 180119-0, 01/19/2018), Outbound message
Cancel-Lock sha1:J676LExiKzWY3QVnCS7ML6ry7mc=
Xref csiph.com comp.lang.java.programmer:37961

Show key headers only | View raw


On 2018-01-19 22:13, Eric Douglas wrote:
> On Friday, January 19, 2018 at 8:29:18 AM UTC-5, Eric Douglas wrote:
>> I've tried searching and found others had the same problem but no clear solution.  I tried digging into the code that draws it but it doesn't look good.  I resize a window ie pull up a window on a Surface Pro and set view to 300% and all JComponents change size, except for the box portion of the JCheckBoxes.
>>
> 
> Any ideas?  <snip />

Seems to me you've already found the answer to your question: the
JCheckbox icon doesn't change size because, drumroll... it's an icon.

I believe there should be a way for you to change the icon used by the
JCheckbox component without any UI-specific code, probably via some
Swing property. I'd look into that if I were you.

-- 
DF.

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