Package xnap.gui.event

Examples of xnap.gui.event.DoubleClickListener


  jta = stm.createJTable();
  jta.setShowGrid(false);
  stm.addTableModelListener(this);
  PopupListener pl = new PopupListener(parent.getPopupMenu());
  jta.addMouseListener(pl);
  DoubleClickListener dcl
      = new DoubleClickListener(parent.getDefaultAction(), jta);
  jta.addMouseListener(dcl);
  jta.getInputMap().put(ksEnter, parent.getDefaultAction());
  jta.getActionMap().put(parent.getDefaultAction(),
             parent.getDefaultAction());
  jspSearch = new JScrollPane(jta);
View Full Code Here


  jta.setShowGrid(false);

  jta.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0),
            acJoinChannel);
  jta.getActionMap().put(acJoinChannel, acJoinChannel);
  jta.addMouseListener(new DoubleClickListener(acJoinChannel, jta));
   
  JScrollPane jsp = new JScrollPane(jta);
  jpChannels.add(jsp, BorderLayout.CENTER);

  // table context menu
View Full Code Here

TOP

Related Classes of xnap.gui.event.DoubleClickListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.