OLIVIER CAYRON a écrit :
Salut !
> -----Message d'origine-----
> De : HAREL Anthony [mailto:[EMAIL PROTECTED]]
> J'ai un petit problème pour faire du copier/coller depuis un
> tableau Excel vers un JTable : quand je
> sélectionne une seule cellule tout se passe bien, mais quand
> je selectionne plusieurs cellules cela
> ne marche pas. Quel est le problème?Moi non plus je ne l'ai jamais fait (t'es pas aidé, uh ?) mais
j'ai mon fidèle Google qui me retourne :http://www.javaresearch.org/article/showarticle.jsp?column=1&thread=1952
/**
* ExcelAdapter enables Copy-Paste Clipboard functionality on JTables.
* The clipboard data format used by the adapter is compatible with
* the clipboard format used by Excel. This provides for clipboard
* interoperability between enabled JTables and Excel.
*/et
http://www.javaworld.com/javaworld/javatips/jw-javatip77.html
"Java Tip 77: Enable copy and paste functionality between Swing's JTables and Excel"Hue google, hue !
Olivier
