*\r
* @param g DOCUMENT ME!\r
*/\r
- public void paintComponent(Graphics g)\r
+ public void paintComponent(Graphics g1)\r
{\r
\r
+ Graphics2D g = (Graphics2D) g1;\r
+\r
+ g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\r
+ RenderingHints.VALUE_ANTIALIAS_ON);\r
if(points==null)\r
{\r
g.setFont(new Font("Verdana", Font.PLAIN, 18));\r
*\r
* @param g DOCUMENT ME!\r
*/\r
- public void drawAxes(Graphics g1)\r
+ public void drawAxes(Graphics g)\r
{\r
- Graphics2D g = (Graphics2D) g1;\r
-\r
- g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\r
- RenderingHints.VALUE_ANTIALIAS_ON);\r
\r
g.setColor(Color.yellow);\r
\r