Writing JTable into Excel
Asked Answered
K

2

5

I am planning to move the contents of a JTable into a Microsoft Excel sheet. The Excel sheet should have some format specifications. For instance if a column has a value 'A' it should be green in colour. If it is 'B' red in colour.

I am in analysis stage. Which Jar should I use? The data is not huge.Performance is not a big concern.

Krenn answered 3/2, 2011 at 6:16 Comment(0)
C
10

I would recommend Apache POI. It is easy to use, allows styling, etc. See the quick guide here.

Cosmetic answered 3/2, 2011 at 6:41 Comment(0)
B
2

An alternative could be JExcelAPI - I've used this and found it excellent.

Blazer answered 3/2, 2011 at 14:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.