Using Copy (Ctrl-C) functionality with disabled JTextFields

From: JMBollard (john_at_pbs.com)
Date: 11/24/03


Date: 24 Nov 2003 10:37:15 -0800

I am working on a Swing application (Java 1.4 ) and I am having
trouble implementing the following functionality:
    A JTextField that should not be part of focus traversal (should
not be tabbed to), but the text can be selected and copied (Ctrl-C).

    This is a requirement across the whole application, which is
hundreds of panels, so 'hard-coding' the tab order is not an option.

TIA,
John



Relevant Pages

  • Re: Using Copy (Ctrl-C) functionality with disabled JTextFields
    ... JMBollard wrote: ... > trouble implementing the following functionality: ... > A JTextField that should not be part of focus traversal (should ...
    (comp.lang.java)
  • Re: Clear the Screen
    ... cannot be implemented in any standard way across platforms. ... Even the 'standard' C and C++ languages which, like Java, aim for platform ... do not implement such functionality. ... of a development commitment needs be made by using JNI. ...
    (comp.lang.java)
  • Re: java.util.zip Limitations
    ... > fundamental disagreements with OOP and the direction Java is taking. ... > language, believing less is more. ... It has some nasty kludges due to early design ... > The functionality I added in myZipFile class, ...
    (comp.lang.java.programmer)
  • Re: CLOS and databases
    ... As a lisp liking Java person, here are the points you need to address to ... metadata about packages, classes, fields, and methods, called javadoc. ... available in the MOP is stored in Java source code for compile-time ... needed to implement the functionality in Java is ...
    (comp.lang.lisp)
  • Re: OT: The Geek defense
    ... even if you don't cover the cost of development hours. ... least in Java. ... It isn't about source code and call structures; ... functionality you require is and break it into small components that can be ...
    (comp.lang.cobol)