ãããªæãã®ã㤠ãã¼ãã¼ãã®jãkã§ä¸ä¸ã«ç§»åããããã¤ãå®è£ ãã ä½ãèããã«KeyListenerã使ã£ã¦ãã£ã¦ã¿ã import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; import javax.swing.JTree; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.MutableTreeNode; @SuppressWarnings( "serial" ) public class TreeSample extends JFrame implements KeyListener { public TreeSample(MutableTreeNode t
{{#tags}}- {{label}}
{{/tags}}