If you think the Android project SmartTools listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package com.nj.simba.ctrls;
/*www.java2s.com*/import java.awt.Color;
import javax.swing.Icon;
import javax.swing.JLabel;
publicclass ThemeLabel extends JLabel {
public ThemeLabel() {
super();
setOpaque(false);
setForeground(Color.WHITE);
}
public ThemeLabel(int x, int y, int w, int h) {
this();
setOpaque(false);
setForeground(Color.WHITE);
setBounds(x, y, w, h);
}
public ThemeLabel(int x, int y, int w, int h, int horizontalAlignment) {
this();
setHorizontalAlignment(horizontalAlignment);
setOpaque(false);
setForeground(Color.WHITE);
setBounds(x, y, w, h);
}
public ThemeLabel(String text) {
super(text);
setOpaque(false);
setForeground(Color.WHITE);
}
public ThemeLabel(Icon image) {
super(image);
setOpaque(false);
setForeground(Color.WHITE);
}
public ThemeLabel(Icon image, int horizontalAlignment) {
super(image, horizontalAlignment);
setOpaque(false);
setForeground(Color.WHITE);
}
public ThemeLabel(String text, int horizontalAlignment) {
super(text, horizontalAlignment);
setOpaque(false);
setForeground(Color.WHITE);
}
public ThemeLabel(String text, Icon icon, int horizontalAlignment) {
super(text, horizontalAlignment);
setOpaque(false);
setForeground(Color.WHITE);
}
}