Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clone JTable

 
Udara Amarasinghe
Ranch Hand
Posts: 109
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I wrote class that can clone java objects but when it clone JTable it get error something like this
java.io.NotSerializableException: sun.swing.table.DefaultTableCellHeaderRenderer$EmptyIcon
This is my clone class

This is the class i use Clone class to clone JTable



please is someone got idea to solve this
 
Rob Camick
Ranch Hand
Posts: 2616
9
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's very little point in cloning Swing UI components. I wouldn't consider this a problem. (I would consider it a bad idea instead, really.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic