public FontChooser(AlignmentPanel ap, Frame frame)\r
{\r
super();\r
+\r
this.frame = frame;\r
\r
this.ap = ap;\r
init = false;\r
}\r
\r
- protected void ok_actionPerformed(ActionEvent e)\r
+ protected void ok_actionPerformed()\r
{\r
frame.setVisible(false);\r
if(ap.getOverviewPanel()!=null)\r
ap.getOverviewPanel().updateOverviewImage();\r
}\r
\r
- protected void cancel_actionPerformed(ActionEvent e)\r
+ protected void cancel_actionPerformed()\r
{\r
ap.av.setFont(oldFont);\r
ap.repaint();\r
ap.fontChanged();\r
}\r
\r
- protected void fontName_actionPerformed(ItemEvent e)\r
+\r
+ protected void fontName_actionPerformed()\r
{\r
if(init) return;\r
changeFont();\r
}\r
\r
- protected void fontSize_actionPerformed(ItemEvent e)\r
+ protected void fontSize_actionPerformed()\r
{\r
if(init) return;\r
changeFont();\r
}\r
\r
- protected void fontStyle_actionPerformed(ItemEvent e)\r
+ protected void fontStyle_actionPerformed()\r
{\r
if(init) return;\r
changeFont();\r