Re: Method for White Circle with black background
- From: sheldon.sc@xxxxxxxxx
- Date: 16 Feb 2006 12:05:44 -0800
Well I just need to know the method to make the black and white dot.
It is with a black background by default when the program runs and on
clicking a button it fills up then clicking on the button again
un-fills it. I could not think of any other way to keep a black
background when it's supposed to be white. If I just toggle between
colors then I tend to loose the border when it changes to white so it
is there but you cannot see it.
import aLibrary.*;
import java.awt.*;
public abstract class Dot extends AOval{
public Dot(int a, int b, int c, int d){
super(a,b,c,d);
}
public abstract void action();
}//end class
.
- Follow-Ups:
- Re: Method for White Circle with black background
- From: Oliver Wong
- Re: Method for White Circle with black background
- References:
- Method for White Circle with black background
- From: sheldon . sc
- Re: Method for White Circle with black background
- From: Oliver Wong
- Method for White Circle with black background
- Prev by Date: Keystore
- Next by Date: Re: autodl of JRE 1.5
- Previous by thread: Re: Method for White Circle with black background
- Next by thread: Re: Method for White Circle with black background
- Index(es):