Revision: 4876
http://sourceforge.net/p/vexi/code/4876
Author: mkpg2
Date: 2016-07-20 22:43:08 +0000 (Wed, 20 Jul 2016)
Log Message:
-----------
Fix. Copy/Paste/Cut & Escape are typed characters that need filtering,
apparently ...
Modified Paths:
--------------
branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/plat/Swing.java
Modified:
branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/plat/Swing.java
===================================================================
--- branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/plat/Swing.java
2016-07-16 00:16:46 UTC (rev 4875)
+++ branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/plat/Swing.java
2016-07-20 22:43:08 UTC (rev 4876)
@@ -665,8 +665,13 @@
public void keyTyped(KeyEvent k) {
// These return odd characters we don't want to pass to the
traps.
// Are we losing anything doing it this way?
- switch (k.getKeyChar()) {
- case KeyEvent.VK_TAB: return;
+ char c = k.getKeyChar();
+ switch (c) {
+ case 22: return; // paste ?
+ case 28: return; // cut ?
+ case KeyEvent.VK_CANCEL: return; // copy ?
+ case KeyEvent.VK_ESCAPE: return;
+ case KeyEvent.VK_TAB: return;
case KeyEvent.VK_ENTER: return;
case KeyEvent.VK_BACK_SPACE: return;
case KeyEvent.VK_DELETE: return;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn