Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SWING Based App to Read Excel sheet  RSS feed

 
Satishkumar Ranganathan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am trying to build a Swing based app, to read an excel sheet and display its content into a jtable in another jpane. Any direction of how to proceed with this ?

Thanks,

Satish
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First off, you need to realise that these are two separate tasks.
1. Read an Excel sheet and populate a Java data structure. I've never needed to research it, but Apache POI is usually recommended for reading Excel files.
2. Populate a default or customised TableModel and attach it to a table displayed in your GUI.

As you go along, you will find the need to further divide these broad, top-level tasks into smaller components, each of which you can work on separately. Good luck!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!