本文整理了Java中javax.swing.JScrollPane.getBackground()
方法的一些代码示例,展示了JScrollPane.getBackground()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JScrollPane.getBackground()
方法的具体详情如下:
包路径:javax.swing.JScrollPane
类名称:JScrollPane
方法名:getBackground
暂无
代码示例来源:origin: pentaho/mondrian
jScrollPane2.getBackground();
SchemaPropertyCellRenderer spcr =
new SchemaPropertyCellRenderer(workbench);
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = BACKGROUND_JSDOC)
@Override
public Color getBackground() {
return super.getBackground();
}
代码示例来源:origin: JetBrains/jediterm
@Override
public Color getBackground() {
Color color = super.getBackground();
if (!myBackgroundRequested && EventQueue.isDispatchThread() && Registry.is("ide.scroll.background.auto")) {
if (!isBackgroundSet() || color instanceof UIResource) {
Component child = getViewport();
if (child != null) {
try {
myBackgroundRequested = true;
return child.getBackground();
}
finally {
myBackgroundRequested = false;
}
}
}
}
return color;
}
内容来源于网络,如有侵权,请联系作者删除!