提交 788a06b4 编写于 作者: M malenkov

6999045: DOC: Unclear spec for BevelBorder constructor and BorderFactory...

6999045: DOC: Unclear spec for BevelBorder constructor and BorderFactory factory method (colors switching)
Reviewed-by: alexp
上级 b0b074a9
...@@ -159,9 +159,6 @@ public class BorderFactory ...@@ -159,9 +159,6 @@ public class BorderFactory
* Creates a beveled border of the specified type, using * Creates a beveled border of the specified type, using
* the specified colors for the inner and outer highlight * the specified colors for the inner and outer highlight
* and shadow areas. * and shadow areas.
* <p>
* Note: The shadow inner and outer colors are
* switched for a lowered bevel border.
* *
* @param type an integer specifying either * @param type an integer specifying either
* <code>BevelBorder.LOWERED</code> or * <code>BevelBorder.LOWERED</code> or
......
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -26,7 +26,6 @@ package javax.swing.border; ...@@ -26,7 +26,6 @@ package javax.swing.border;
import java.awt.Graphics; import java.awt.Graphics;
import java.awt.Insets; import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.Color; import java.awt.Color;
import java.awt.Component; import java.awt.Component;
import java.beans.ConstructorProperties; import java.beans.ConstructorProperties;
...@@ -82,9 +81,6 @@ public class BevelBorder extends AbstractBorder ...@@ -82,9 +81,6 @@ public class BevelBorder extends AbstractBorder
/** /**
* Creates a bevel border with the specified type, highlight and * Creates a bevel border with the specified type, highlight and
* shadow colors. * shadow colors.
* <p>
* Note: The shadow inner and outer colors are
* switched for a lowered bevel border.
* *
* @param bevelType the type of bevel for the border * @param bevelType the type of bevel for the border
* @param highlightOuterColor the color to use for the bevel outer highlight * @param highlightOuterColor the color to use for the bevel outer highlight
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册