56575859606162636465
UiUtil.addCommonButton(frame,map); UiUtil.addButton(frame,map,"选择",new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { tool=new SelectTool(); map.setCurrentPlug(tool); } }); }