本文整理了Java中javax.swing.JSplitPane.setBackground()
方法的一些代码示例,展示了JSplitPane.setBackground()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSplitPane.setBackground()
方法的具体详情如下:
包路径:javax.swing.JSplitPane
类名称:JSplitPane
方法名:setBackground
暂无
代码示例来源:origin: org.softsmithy.lib/softsmithy-lib-swing
@Override
public void setDefaultBackground(Color bg) {
super.setBackground(bg);
}
代码示例来源:origin: org.softsmithy.lib/lib-core
public void setDefaultBackground(Color bg){
super.setBackground(bg);
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction
@Override
public void setBackground(Color aValue) {
super.setBackground(aValue);
}
代码示例来源:origin: UNIVALI-LITE/Portugol-Studio
private void configurarCores(){
divisorLayout.setBackground(ColorController.COR_DESTAQUE);
painelAjuda.setBackground(ColorController.COR_DESTAQUE);
scrollConteudo.setBackground(ColorController.COR_DESTAQUE);
painelArvore.setBackground(ColorController.FUNDO_CLARO);
painelCarregamento.setBackground(ColorController.COR_DESTAQUE);
rotuloCarregamento.setForeground(ColorController.COR_LETRA);
rotuloErroCarregamento.setForeground(ColorController.COR_LETRA);
jLabel2.setForeground(ColorController.COR_LETRA_TITULO);
painelTitulo.setBackground(ColorController.FUNDO_ESCURO);
iconeCarregamento.setForeground(ColorController.COR_LETRA);
}
代码示例来源:origin: org.netbeans.api/org-openide-explorer
private JSplitPane createSplitPane(Component lower) {
JSplitPane pane = new JSplitPane();
if (firstSplit == null) {
firstSplit = Boolean.TRUE;
} else {
firstSplit = Boolean.FALSE;
}
pane.setRightComponent(lower);
pane.setOrientation(JSplitPane.VERTICAL_SPLIT);
pane.setContinuousLayout(true);
pane.setResizeWeight(1);
pane.setDividerLocation(0.80f);
pane.setBorder(BorderFactory.createEmptyBorder());
//Do not install our custom split pane UI on Nimbus L&F
if (!"Nimbus".equals(UIManager.getLookAndFeel().getID())) {
pane.setUI(PropUtils.createSplitPaneUI());
}
// #52188: default F6 behaviour doesn't make to much sense in NB
// property sheet and blocks NetBeans default F6
pane.getActionMap().getParent().remove("toggleFocus");
if( PropUtils.isAqua ) {
pane.setBackground( UIManager.getColor("NbExplorerView.background") ); //NOI18N
}
return pane;
}
代码示例来源:origin: sc.fiji/TrakEM2_
tab.setBackground(Color.white);
left.setBackground(Color.white);
left.setPreferredSize(new Dimension(600, 400));
tab.setBackground(Color.white);
tab.setLeftComponent(left);
tab.setRightComponent(scroll_layers);
代码示例来源:origin: pvto/konte-art
setBackground(new java.awt.Color(187, 203, 209));
jSplitPane1.setBackground(new java.awt.Color(187, 203, 209));
jSplitPane1.setDividerLocation(40);
jSplitPane1.setDividerSize(3);
代码示例来源:origin: edu.stanford.protege/jtreetable
tableScrollPane);
splitter.setResizeWeight(0.3);
splitter.setBackground(Color.WHITE);
splitter.setOneTouchExpandable(true);
add(splitter, BorderLayout.CENTER);
代码示例来源:origin: Multibit-Legacy/multibit-hd
splitPane.setBackground(Themes.currentTheme.text());
splitPane.setBorder(
BorderFactory.createMatteBorder(
代码示例来源:origin: UNIVALI-LITE/Portugol-Studio
setLayout(new java.awt.BorderLayout());
divisorArvoreEditor.setBackground(new java.awt.Color(255, 255, 255));
divisorArvoreEditor.setBorder(null);
divisorArvoreEditor.setDividerSize(15);
代码示例来源:origin: eu.mihosoft.vrl/vrl
splitPane.setBackground(VSwingUtil.TRANSPARENT_COLOR);
splitPane.setBorder(new EmptyBorder(5, 5, 5, 5));
splitPane.setDividerLocation(0.5);
代码示例来源:origin: datacleaner/DataCleaner
_splitPane.setBackground(WidgetUtils.BG_COLOR_DARK);
_splitPane.setBorder(WidgetUtils.BORDER_EMPTY);
_splitPane.setDividerLocation(320);
代码示例来源:origin: eu.mihosoft.vrl/vrl
splitPane.setBackground(VSwingUtil.TRANSPARENT_COLOR);
splitPane.setBorder(new EmptyBorder(5, 5, 5, 5));
splitPane.setDividerLocation(0.5);
内容来源于网络,如有侵权,请联系作者删除!