This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Data Transfer" Watch "Data Transfer" New topic

Data Transfer

henri henri
Ranch Hand

Joined: Oct 03, 2005
Posts: 115
Please see the visual aid:

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?
I agree. Here's the link:
subject: Data Transfer
It's not a secret anymore!