Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
Other Resources:
Test to Create Excel File with jxl.jar
How to run the test to create a new Excel file with jxl.jar?
✍: FYIcenter.com
If you want to run the test program that comes with jxl.jar to create a new Excel file,
you can follow these steps:
1. Open command line window to verify jxl.jar installation. "jxl.jar" file and "resources" folder are needed:
C:\cd \fyicenter\jexcelapi C:\fyicenter\jexcelapi>dir 10/24/2009 10:11 AM 725,735 jxl.jar 10/24/2009 09:07 AM <DIR> resources ...
2. Use the "java -jar" command to run the test program:
C:\fyicenter\jexcelapi>\local\jdk-1.8.0\bin\java -jar jxl.jar -write test.xls
3. Open the output file "test.xls" in Microsoft Excel. You see the Excel file open with multiple tabs: Number Formats, Date Formats, Label Formats, Borders, Labels, Formulas, Images.
4. Click on "Images" tab.
You see a nice image embedded in the spreadsheet:
2018-04-07, 1016👍, 0💬
Popular Posts:
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module. JDK 11 Hotspot Agent...
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
BSON is a computer data interchange format used mainly as a data storage and network transfer format...
Commons VFS provides a single API for accessing various different file systems. It presents a unifor...
The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...