I wrote an Excel file using JXL, and it turned out quite refined. It includes inserting images, setting fonts, centering text, merging cells, and more. You can use this as a good example for reference. After finishing this file, I felt like I was back in my school days when I used java.awt to draw graphics — it was so troublesome, as you had to create a new instance for each color. JXL is similar in some ways. Take a look below.