📄 context.java
字号:
package net.sf.memoranda.util;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import net.sf.memoranda.ui.AppFrame;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2002</p> * <p>Company: </p> * @author unascribed * @version 1.0 *//*$Id: Context.java,v 1.3 2004/01/30 12:17:42 alexeya Exp $*/public class Context { public static LoadableProperties context = new LoadableProperties(); static { CurrentStorage.get().restoreContext(); AppFrame.addExitListener(new ActionListener() { public void actionPerformed(ActionEvent e) { CurrentStorage.get().storeContext(); } }); } public static Object get(Object key) { return context.get(key); } public static void put(Object key, Object value) { context.put(key, value); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -