Transparent text background for JTextArea

cusax-fix
Yana Stamcheva 20 years ago
parent a932f559ff
commit 397d6ae8bf

@ -177,13 +177,13 @@ protected ColorUIResource getBlack() {
}
public ColorUIResource getDesktopColor() {
return new ColorUIResource( 255, 255, 255 );
return VERY_LIGHT_GRAY;
}
public ColorUIResource getWindowBackground() {
return new ColorUIResource( 255, 255, 255 );
return getWhite();
}
public ColorUIResource getControl(){
return VERY_LIGHT_GRAY;
}

@ -22,6 +22,7 @@
public class SIPCommTextAreaUI extends BasicTextAreaUI {
public static ComponentUI createUI(JComponent c) {
c.setOpaque(false);
return new SIPCommTextAreaUI();
}

Loading…
Cancel
Save