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

Ocean scrollbars don't dim when not focused

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      x86
    • OS:
      linux

      Description



      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)
      ======================================================================

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Imported:
              Indexed: