java
private static class BoodOrderAction extends AbstractAction {BoodOrderAction() {
super("新书定购", null);
putValue(Action.LONG_DESCRIPTION, "定购新的图书");
putValue(Action.SHORT_DESCRIPTION, "新书定购");
}
public void actionPerformed(ActionEvent e) {
if (!frames.containsKey("新书订购管理")||frames.get("新书订购管理").isClosed()) {
newBookOrderIFrame iframe=new newBookOrderIFrame();
frames.put("新书订购管理", iframe);
Library.addIFame(frames.get("新书订购管理"));
}
}
}
这些代码是什么意思啊,跪求高手详解
补充:Java , Java SE