Highlighted text detection

2005-05-27 Thread Mike Adolf
If this is the wrong list for this post, let me know. I have a form having a mix of JTables, JTextAreas, and JTextFields. I want to know when a user highlightes/selectes text in any of them (to enable copy button). To select text a user can (click then shift click) or (double click) or (click

Send keystrokes with button press

2005-05-29 Thread Mike Adolf
I have an a Java app that I want to implement copy/paste menu items. The form has several textual/table components. Finding our what is selected and then locating where to paste it is brutal. But with no coding effort using key strokes Ctrl C and Ctrl V do the job. It would be ease to implem