Use this example to copy and paste between Microsoft Excel spreedsheet
and your JTable. This example includes two files: ClipBoardDemo.java and PasteAdapter.java
PasteAdapter.java implements
ActionListenr. It listens on "Ctrl +V" action on JTable,which
is defined in ClipBoardDemo.java.
It will check if there are enough columns and rows for pasted data.
If not, it prompts a error dialog. ClipBoardDemo.java is
a demo code to show how to use PasteAdapter.java.