--- old/src/java.desktop/share/classes/javax/swing/text/DefaultHighlighter.java 2015-04-14 15:34:36.947836889 -0700 +++ new/src/java.desktop/share/classes/javax/swing/text/DefaultHighlighter.java 2015-04-14 15:34:36.799836886 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -336,11 +336,16 @@ * (if the offsets are in a highlighted region that is). For this to * work the painter supplied must be an instance of * LayeredHighlightPainter. + * @param newValue the new value */ public void setDrawsLayeredHighlights(boolean newValue) { drawsLayeredHighlights = newValue; } + /** + * Return the draw layered highlights. + * @return the draw layered highlights + */ public boolean getDrawsLayeredHighlights() { return drawsLayeredHighlights; }