Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/swing/simplecomponents/JTextAreaPlus.java

Diff revisions: vs.
  @@ -1,12 +1,12 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.aokeyhole.swing.simplecomponents;
3 -
4 - import javax.swing.*;
5 -
6 - public class JTextAreaPlus extends JTextArea {
7 - @Override
8 - public void setEnabled( boolean enabled ) {
9 - setEditable( enabled );
10 - setBackground( ComponentColors.get( enabled ) );
11 - }
12 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.aokeyhole.swing.simplecomponents;
3 +
4 + import javax.swing.*;
5 +
6 + public class JTextAreaPlus extends JTextArea {
7 + @Override
8 + public void setEnabled( boolean enabled ) {
9 + setEditable( enabled );
10 + setBackground( ComponentColors.get( enabled ) );
11 + }
12 + }