AMADEUS html plain
import java.awt.event.*;
class Item5BListener
class Item5BListener implements ActionListener
by NT
AmFrame frame;
Item5BListener(AmFrame fr)
actionPerformed
public void actionPerformed(ActionEvent event)
AmCanvas c = frame.viewArea;
? frame.contents.file.insertImage()
String loc=frame.contents.file.name;
Editor ed=c.frame.contents.editor;
Row r= ed.caret.row;
ed.insertCharAtCaretLeft(loc);
frame.contents.main.view.plan(c.hd, c.vd);
c.selection.cancel();
c.own = true; c.repaint();