import java.awt.*;public class AButton {	int x,y;	int height=20;	int width=40;	String s;	public AButton(int xx,int yy, String ss) {		x=xx; y=yy; s=ss;	}	public void display(Graphics g) {		g.setColor(Color.green.darker().darker().darker().darker().darker());		g.fillRoundRect(x,y,width,height,10,10);		g.setColor(Color.black);		g.drawRoundRect(x,y,width,height,10,10);		g.setColor(Color.white);		g.setFont(new Font("Times New Roman", Font.PLAIN, 11));		g.drawString(s, x+9, y+12);	}	public boolean inside(int xCoord, int yCoord) {		if (xCoord > x && xCoord < x+width && yCoord > y && yCoord < y+height) return true;		return false;	}}