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


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

How does a scrollbar paint differently?

Newsgroups comp.lang.java.programmer
Date 2018-05-29 12:42 -0700
Message-ID <00f505eb-cb45-4306-a554-bfad87371dd9@googlegroups.com> (permalink)
Subject How does a scrollbar paint differently?
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


I put a JTextArea in a JScrollPane.  If I load this control in a JFrame from Eclipse it displays a scrollbar with solid triangles and a grey bar with 3 lines in the middle.  If I put this same control in my application, where a 3rd party API is handling the window, the scrollbar has a single chevron on the ends and an undecorated bar that's a different shade of gray, which matches the bar in my C# application.  Both Java systems return a com.sun.java.swing.plaf.windows.WindowsLookAndFeel from the UIManager.getLookAndFeel().

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


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