1 16 17 package org.mc4j.console; 18 19 import org.openide.util.HelpCtx; 20 import org.openide.util.actions.SystemAction; 21 import org.openide.windows.TopComponent; 22 23 import java.awt.event.ActionEvent ; 24 25 31 public class DisplayConnectionExplorerAction extends SystemAction { 32 33 public String getName() { 34 return "Display Connection Explorer"; 35 } 36 37 public HelpCtx getHelpCtx() { 38 return null; } 40 41 public void actionPerformed(ActionEvent ev) { 42 TopComponent component = ConnectionExplorer.getDefault(); 43 } 44 } 45 | Popular Tags |