Ok, I will try that.
Type: Posts; User: Wise girl
Ok, I will try that.
I want it to hold the values of x & y
I wanna call that method in this method
private void execute(String actionLine, Graphics g ) {
System.out.println("action=" + actionLine);
Color color[] = {Color.pink,...
Yes, it returns points x & y. I will call this method then in another method that plots the pie charts.
public int getCenterPoint(int x1,int y1){
int xCenter = getWidth()/ 2;
int yCenter = getHeight()/ 2;
int radius = (int) (Math.min(getWidth(), getHeight()) * 0.4);
...
How to make centers for multiple pie charts using for loop?