Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5052697

Ocean scrollbars don't dim when not focused

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs
    • Fix Understood
    • x86
    • linux



      Name: jl125535 Date: 05/25/2004


      A DESCRIPTION OF THE REQUEST :
      Ocean -- though it looks way better than Metal ever did, and is a great and welcome improvement -- is quite distracting when one has several Java applications on-screen, all with their own scroll bars.

      JUSTIFICATION :
      Mac OS X uses even brighter blue scrollbar thumbs than Ocean, but avoids being as visually distracting by coloring them gray when they aren't in the focused window.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The scrollbar thumbs should turn gray when their containing window loses the focus.

      ACTUAL -
      The scrollbars remain blue.

      ---------- BEGIN SOURCE ----------
      import java.awt.*;
      import javax.swing.*;
      public class T {
       public static void main(String[] a) {
        JFrame f = new JFrame();
        f.add(new JScrollPane(new JTextArea("make this window narrower to see..."),
          JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
          JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS));
        f.pack();
        f.setVisible(true);
       }
      }
      ---------- END SOURCE ----------
      (Incident Review ID: 275035)
      ======================================================================

            Unassigned Unassigned
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: