public Gui()
	{
		setBackground(new Color(0,50,100));
		addMouseMotionListener(this);
		addMouseListener(this);
		addKeyListener(this);
		
		for(int eks=0; eks<list.length; eks++)
		  if(eks%2==0) //if it's 0 or 2
		    x[eks] = (w/3)+(w/18);
		  else if(eks==1)
		    x[eks] = 2*(w/3)+(w/18);
		  else //if (eks==3)
		    x[eks] = (w/18);
		
		for(int why=0; why<list.length; why++)
		  if(why%2!=0) //if it's 1 or 3
		    y[why] = (w/3)+(w/18);
		  else if(why==0)
		    y[why] = (w/18);
		  else //if (why==2)
		    y[why] = 2*(w/3)+(w/18);
		
		list[0] = new Ball(x[0], y[0], ((2*w)/9)/2, new Color(0, 100, 150), "My Games", null, 0);
		list[1] = new Ball(x[1], y[1], ((2*w)/9)/2, new Color(0, 100, 150), "My Applications", null, 1);
		list[2] = new Ball(x[2], y[2], ((2*w)/9)/2, new Color(0, 100, 150), "My Computer", null, 2);
		list[3] = new Ball(x[3], y[3], ((2*w)/9)/2, new Color(0, 100, 150), "My Documents", null, 3);
		
		back = new Ball(w/3+w/9, w/3+w/9, w/9/2, "Back");
		
		list[0].setSmallNum(4);
		list[1].setSmallNum(3);
		list[2].setSmallNum(4);
		list[3].setSmallNum(4);
		
		for(int big=0; big<4; big++) //add small balls, set small small num to 0
		{
			list[0].addBall(games[big]);
			list[0].getSmallBall(big).setSmallNum(0);
			list[2].addBall(comp[big]);
			list[2].getSmallBall(big).setSmallNum(0);
			list[3].addBall(docs[big]);
			list[3].getSmallBall(big).setSmallNum(0);
		}
		
		list[1].addPainter("Paint");
		list[1].getSmallBall(0).setSmallNum(0);
		list[1].addCal("Calculator");
		list[1].getSmallBall(1).setSmallNum(0);
		list[1].addSpread("Spreadsheet");
		list[1].getSmallBall(2).setSmallNum(0);
		
		for(int big=0; big<4; big++) //set small small num of comp to 4
		  list[2].getSmallBall(big).setSmallNum(4);
		  	   	
		for(int small2=0; small2<4; small2++) //add small small balls, set small small small num to 0
		{
			list[2].getSmallBall(0).addBall(hd[small2]);
			list[2].getSmallBall(0).getSmallBall(small2).setSmallNum(0);
		  	list[2].getSmallBall(1).addBall(floppy[small2]);
		  	list[2].getSmallBall(1).getSmallBall(small2).setSmallNum(0);
		  	list[2].getSmallBall(2).addBall(cd[small2]);
		  	list[2].getSmallBall(2).getSmallBall(small2).setSmallNum(0);
		  	list[2].getSmallBall(3).addBall(network[small2]);
		  	list[2].getSmallBall(3).getSmallBall(small2).setSmallNum(0);
		}
		    
		stack.push(list);
		
		t = new Timer(0, this);
		t.start();
	}