aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JTable Copy/paste functionality Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JTable Copy/paste functionality" Watch "JTable Copy/paste functionality" New topic
Author

JTable Copy/paste functionality

Giuseppa Cefalu
Ranch Hand

Joined: Jul 15, 2011
Posts: 121
Hi,

Is it possible to copy from a text document into the Jtable cells? Does that kind of functinality exist? If it does, coud you refer me to any sources?

Thank you
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16480
    
    2

You press Control-V to paste into a cell, assuming it's editable.
Giuseppa Cefalu
Ranch Hand

Joined: Jul 15, 2011
Posts: 121
So I can copy from any document?
Giuseppa Cefalu
Ranch Hand

Joined: Jul 15, 2011
Posts: 121
Thank you! Ignore my last post, I just tried and it works.

Giuseppa Cefalu
Ranch Hand

Joined: Jul 15, 2011
Posts: 121
Hi,

I just realized that Ctrl - V may have some characters in it that my mask does not accept. Does any one know what those characters are?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16480
    
    2

The way you wrote that question, it sounds as if you're asking us what characters your mask rejects. But surely you didn't mean to ask that -- after all, how would anybody but you know that? So you must have meant something else. But it's hard to guess what. Could you clarify?
 
I agree. Here's the link: http://jrebel.com/download
 
subject: JTable Copy/paste functionality
 
Similar Threads
JTable ........
JTable...
JTable
JTable
JTable(!!!)