This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Data Transfer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Data Transfer" Watch "Data Transfer" New topic
Author

Data Transfer

henri henri
Ranch Hand

Joined: Oct 03, 2005
Posts: 115
Please see the visual aid: http://pollscanada.com/screenshot.html

I would like to be able to copy text from the JTextField in the bottom JPanel where you see the JButton "Rechercher" which is a separate (the JPanel) class from the JInternalFrame in which you see the JTable. Does anyone know whether I need to place the line of code below in both classes or just one.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Inside your application you normally don't transfer data with the clipboard.
Is there a special reason to do so?


http://home.arcor.de/hirnstrom/bewerbung
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Data Transfer
 
Similar Threads
DefaultTableModel
Scrollbars in JTextArea
parseDouble Problem
Static Methods Don't Work
Matching HashMap Key To Value