< prev index next >

src/java.desktop/share/classes/java/awt/Scrollbar.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2015, 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 --- 1,7 ---- /* ! * Copyright (c) 1995, 2017, 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
*** 294,309 **** /** * Constructs a new vertical scroll bar. * The default properties of the scroll bar are listed in * the following table: * ! * <table border=1 summary="Scrollbar default properties"> * <tr> * <th>Property</th> * <th>Description</th> * <th>Default Value</th> * </tr> * <tr> * <td>orientation</td> * <td>indicates whether the scroll bar is vertical * <br>or horizontal</td> * <td>{@code Scrollbar.VERTICAL}</td> --- 294,313 ---- /** * Constructs a new vertical scroll bar. * The default properties of the scroll bar are listed in * the following table: * ! * <table class="striped"> ! * <caption>Scrollbar default properties</caption> ! * <thead> * <tr> * <th>Property</th> * <th>Description</th> * <th>Default Value</th> * </tr> + * </thead> + * <tbody> * <tr> * <td>orientation</td> * <td>indicates whether the scroll bar is vertical * <br>or horizontal</td> * <td>{@code Scrollbar.VERTICAL}</td>
*** 345,354 **** --- 349,359 ---- * <br>Page Up or Page Down key is pressed, * <br>or when the scrollbar track is clicked * <br>on either side of the bubble </td> * <td>10</td> * </tr> + * </tbody> * </table> * * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless
< prev index next >