how to create a new excel file on click of a button in java?

Google "Andy Khan jxl" and/or "POI HSSF".

how to create a new excel file on click of a button in java?

See i have downloaded both poi and jxl but dont know how to use them?

See i have downloaded both poi and jxl but dont know how to use them?

Uhm, they both have documentation. A "manual", per se, so RTF ...

Edit: Give it a try, and if you jast can't get then post your attempt and ask a specific question.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.