javax.swing.JScrollPane.setForeground()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(149)

本文整理了Java中javax.swing.JScrollPane.setForeground()方法的一些代码示例,展示了JScrollPane.setForeground()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JScrollPane.setForeground()方法的具体详情如下:
包路径:javax.swing.JScrollPane
类名称:JScrollPane
方法名:setForeground

JScrollPane.setForeground介绍

暂无

代码示例

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setForeground(Color aValue) {
  super.setForeground(aValue);
}

代码示例来源:origin: LibraryOfCongress/bagger

manifestScrollPane.setViewportView(manifestPane);
 manifestScrollPane.setToolTipText(parentView.getPropertyMessage("compositePane.tab.manifest.help"));
 manifestScrollPane.setForeground(selectedColor);
 manifestScrollPaneList.add(manifestScrollPane);
 String tabName = bf.getFilepath();
dataScrollPane.setViewportView(dataPane);
dataScrollPane.setToolTipText(parentView.getPropertyMessage("compositePane.tab.data.help"));
dataScrollPane.setForeground(selectedColor);
if (!this.defaultBag.isHoley()) {
 addTab(parentView.getPropertyMessage("compositePane.tab.data"), dataScrollPane);

代码示例来源:origin: igniterealtime/Spark

pane.setForeground(Color.white);
this.setBackground(Color.white);
this.setForeground(Color.white);

代码示例来源:origin: igvteam/igv

headerScrollPane.setForeground(new java.awt.Color(153, 153, 153));
headerScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
headerScrollPane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);

相关文章

JScrollPane类方法