Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38299
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How does a scrollbar paint differently? |
| Date | Wed, 30 May 2018 18:14:12 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 13 |
| Message-ID | <pemimn$q30$1@dont-email.me> (permalink) |
| References | <00f505eb-cb45-4306-a554-bfad87371dd9@googlegroups.com> <7f435fa4-c7c0-4899-a757-f900eaae07f8@googlegroups.com> <pekg11$r62$1@dont-email.me> <21dc0f98-f0b2-44fd-967c-e98563fcbb15@googlegroups.com> <194b2ea5-122d-49f6-b284-9f80fcb2ab62@googlegroups.com> <e7be5767-600c-4bc2-af42-93cd681d6abe@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Wed, 30 May 2018 16:15:19 -0000 (UTC) |
| Injection-Info | h2725194.stratoserver.net; posting-host="714a70d6cef6e106e01faf371a84ca5f"; logging-data="26720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/U9MAuUrWhhHk1lVt5Dp2" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
| Cancel-Lock | sha1:3grnMrSoQaZlxOp8EcEjM1TMkZY= |
| In-Reply-To | <e7be5767-600c-4bc2-af42-93cd681d6abe@googlegroups.com> |
| X-Antivirus-Status | Clean |
| Content-Language | en-GB |
| X-Antivirus | AVG (VPS 180530-0, 05/30/2018), Outbound message |
| Xref | csiph.com comp.lang.java.programmer:38299 |
Show key headers only | View raw
On 2018-05-30 17:46, Eric Douglas wrote: > On Wednesday, May 30, 2018 at 11:24:28 AM UTC-4, Eric Douglas wrote: >> Now how to change the scrollbars? If I call the constructor for the JScrollPane, then call UIManager.setLookAndFeel, then call the JScrollPane's updateUI(), it's still showing the default bars. > > So apparently the parent is irrelevant. I can't change/update the LookAndFeel on the JScrollPane. If I want the scrollbars to change appearance after changing the LookAndFeel I have to specifically get the scrollbars either from the getComponents() or their specific as getVerticalScrollBar(), then call the updateUI() on the bar(s) themselves (or call SwingUtilities.updateComponentTreeUI which cascades down to them). Dude, no one here has any idea what you're talking about. There's a reason code gets written in programming languages, not English. What's your angle? Soliloquy? -- DF.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-29 12:42 -0700
Re: How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-29 13:50 -0700
Re: How does a scrollbar paint differently? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-29 17:17 -0400
Re: How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-30 07:37 -0700
Re: How does a scrollbar paint differently? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-30 11:09 -0400
Re: How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-30 08:26 -0700
Re: How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-30 08:24 -0700
Re: How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-30 08:46 -0700
Re: How does a scrollbar paint differently? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-05-30 18:14 +0200
Re: How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-30 10:31 -0700
Re: How does a scrollbar paint differently? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-30 10:53 -0700
Re: How does a scrollbar paint differently? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-05-30 20:35 +0200
csiph-web