• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable Copy/paste functionality  RSS feed

 
Giuseppa Cefalu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 22375
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You press Control-V to paste into a cell, assuming it's editable.
 
Giuseppa Cefalu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I can copy from any document?
 
Giuseppa Cefalu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you! Ignore my last post, I just tried and it works.

 
Giuseppa Cefalu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 22375
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!