@deprecated replaced by setForegroundColor()
(Color c)
| 954 | * replaced by setForegroundColor() |
| 955 | */ |
| 956 | public void setColor(Color c) { |
| 957 | if (c!=null) { |
| 958 | foregroundColor = c; |
| 959 | drawButton(this.getGraphics(), DROPPER); |
| 960 | } |
| 961 | } |
| 962 | |
| 963 | public static Color getForegroundColor() { |
| 964 | return foregroundColor; |
no test coverage detected