本文整理了Java中javax.swing.JCheckBox.paintComponent()
方法的一些代码示例,展示了JCheckBox.paintComponent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCheckBox.paintComponent()
方法的具体详情如下:
包路径:javax.swing.JCheckBox
类名称:JCheckBox
方法名:paintComponent
暂无
代码示例来源:origin: org.java.net.substance/substance
@Override
protected final void paintComponent(Graphics g) {
super.paintComponent(g);
}
代码示例来源:origin: com.github.insubstantial/substance
@Override
protected final void paintComponent(Graphics g) {
super.paintComponent(g);
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop
@Override
protected void paintComponent(Graphics g) {
if (painter != null) {
// we have a custom (background) painter
// try to inject if possible
// there's no guarantee - some LFs have their own background
// handling elsewhere
paintComponentWithPainter((Graphics2D) g);
} else {
// no painter - delegate to super
super.paintComponent(g);
}
}
代码示例来源:origin: tinyMediaManager/tinyMediaManager
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
int textX = 2;
if (this.hintIcon != null) {
int iconWidth = hintIcon.getIconWidth();
int x = getWidth() - dummyInsets.right - iconWidth - 2;
textX = dummyInsets.right + iconWidth + 4;
int y = 2;
hintIcon.paintIcon(this, g, x, y);
}
setMargin(new Insets(2, 2, 2, textX));
}
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
super.paintComponent(g);
super.paintComponent(g);
代码示例来源:origin: org.swinglabs.swingx/swingx-core
super.paintComponent(g);
super.paintComponent(g);
代码示例来源:origin: org.swinglabs.swingx/swingx-all
super.paintComponent(g);
super.paintComponent(g);
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
super.paintComponent(g);
super.paintComponent(g);
代码示例来源:origin: net.sf.squirrel-sql.plugins/graph
@Override
protected void paintComponent(Graphics g)
super.paintComponent(g);
内容来源于网络,如有侵权,请联系作者删除!