• Post Reply Bookmark Topic Watch Topic
  • New Topic

Show .xls in JFrame

 
Rodolfo Velasco
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers...

It is possible to display a portion of a Excel File .. inside a JFrame ?

Thanks in advance ?
Regards...
 
Lanny Gilbert
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A couple of ways that could work

1.) You could attach to the Excel file using JDBC, read the pertinent data and write to your JFrame. Check here for a start. http://forum.java.sun.com/thread.jspa?threadID=303900&messageID=1211029

2.) Use Apache POI, a nice Microsoft format (Word, Excel, etc.) to Java mapping framework

I'd go with POI if possible. Or, you could go the ODBC route if in a hurry.
 
Rodolfo Velasco
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ThankYou ...
Since i'm , in fact, in a hurry; i'll take the JDBC aproach

Thanks Again
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!