< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XScrollbar.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -161,11 +161,11 @@
      * paint the scrollbar
      * @param g the graphics context to paint into
      * @param colors the colors to use when painting the scrollbar
      * @param paintAll paint the whole scrollbar if true, just the thumb is false
      */
-    void paint(Graphics g, Color colors[], boolean paintAll) {
+    void paint(Graphics g, Color[] colors, boolean paintAll) {
         if (log.isLoggable(PlatformLogger.Level.FINER)) {
             log.finer("Painting scrollbar " + this);
         }
 
         boolean useBufferedImage = false;
< prev index next >