提交 74044c39 编写于 作者: R rupashka

6918447: SynthToolBarUI.setBorderToXXXX() methods don't correspond inherited spec. They do nothing.

Reviewed-by: peterz
上级 628c0ff4
...@@ -248,23 +248,26 @@ public class SynthToolBarUI extends BasicToolBarUI ...@@ -248,23 +248,26 @@ public class SynthToolBarUI extends BasicToolBarUI
toolBar.getOrientation()); toolBar.getOrientation());
} }
// Overloaded to do nothing so we can share listeners.
/** /**
* @inheritDoc * This implementation does nothing, because the {@code rollover}
* property of the {@code JToolBar} class is not used
* in the Synth Look and Feel.
*/ */
@Override @Override
protected void setBorderToNonRollover(Component c) {} protected void setBorderToNonRollover(Component c) {}
// Overloaded to do nothing so we can share listeners.
/** /**
* @inheritDoc * This implementation does nothing, because the {@code rollover}
* property of the {@code JToolBar} class is not used
* in the Synth Look and Feel.
*/ */
@Override @Override
protected void setBorderToRollover(Component c) {} protected void setBorderToRollover(Component c) {}
// Overloaded to do nothing so we can share listeners.
/** /**
* @inheritDoc * This implementation does nothing, because the {@code rollover}
* property of the {@code JToolBar} class is not used
* in the Synth Look and Feel.
*/ */
@Override @Override
protected void setBorderToNormal(Component c) {} protected void setBorderToNormal(Component c) {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册