⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newmapaction.java

📁 思维导图(Mind Mapping)以放射性思考(Radiant Thinking)为基础的收放自如方式
💻 JAVA
字号:
/* * Created on 05.05.2004 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */package freemind.modes.actions;import java.awt.event.ActionEvent;import javax.swing.AbstractAction;import javax.swing.ImageIcon;import freemind.modes.ControllerAdapter;//////////////  Actions///////////public class NewMapAction extends AbstractAction {	private final ControllerAdapter modeController;    ControllerAdapter c;    public NewMapAction(ControllerAdapter modeController, ControllerAdapter controller) {        super(modeController.getText("new"), new ImageIcon(modeController.getResource("images/filenew.png")));		this.modeController = modeController;        c = controller;        //Workaround to get the images loaded in jar file.        //they have to be added to jar manually with full path from root        //I really don't like this, but it's a bug of java    }    public void actionPerformed(ActionEvent e) {        c.newMap();    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -