JMenuBar menuBar ; JMenu menuSession ; JMenuItem subNewGame, subLoadGame ; MyComponent graphArea ; Color one = Color.blue ; Color two = Color.blue ; Color three = Color.blue ; Color four = Color.blue ; int firstx[]={275,325,325,275} ; int firsty[]={100,100,175,175} ; int secondx[]={150,450,450,150} ; int secondy[]={180,180,230,230} ; int thirdx[]={255,292,180,143} ; int thirdy[]={263,300,412,375} ; int fourthx[]={345,308,420,457} ; int fourthy[]={263,300,412,375} ; int[] strokePos ; strokePos = new int[4] ; Polygon firstStroke = new Polygon(firstx,firsty,4) ; Polygon secondStroke = new Polygon(secondx,secondy,4) ; Polygon thirdStroke = new Polygon(thirdx,thirdy,4) ; Polygon fourthStroke = new Polygon(fourthx,fourthy,4) ; int s1, s2, s3, s4 ;