I am trying to create a form and have been having issues creating buttons to Print, Email w/attachments and Export to Excel. Anyone know where I can go for a tutorial or website that has the information?
Thanks
Knee deep in Java
Creating buttons on JPanels in NetBeans
Page 1 of 11 Replies - 760 Views - Last Post: 10 June 2011 - 12:37 PM
Replies To: Creating buttons on JPanels in NetBeans
#2
Re: Creating buttons on JPanels in NetBeans
Posted 10 June 2011 - 12:37 PM
For mailing, check out the JavaMail API. Note that it is a pretty complex API. If you aren't comfortable with Swing, I wouldn't suggest trying to tackle emailing in Java.
For printing, check out these tutorials:
http://www.dreaminco...1&#entry1241597
http://download.orac...ting/index.html
For exporting to Excel, you could use an API like JExcel. The easiest thing to do, imo, would be to write the contents to a CSV file. When Excel opens a CSV file, it parses it into the tabular format.
I'm assuming these were what you are asking about, and you are comfortable using ActionListeners. Also, in Java, IDE isn't a big deal. It doesn't matter if you are using NetBeans, Eclipse, etc., as they are all fancy editors. Just stay away from the Java visual GUI Builder.
For printing, check out these tutorials:
http://www.dreaminco...1&#entry1241597
http://download.orac...ting/index.html
For exporting to Excel, you could use an API like JExcel. The easiest thing to do, imo, would be to write the contents to a CSV file. When Excel opens a CSV file, it parses it into the tabular format.
I'm assuming these were what you are asking about, and you are comfortable using ActionListeners. Also, in Java, IDE isn't a big deal. It doesn't matter if you are using NetBeans, Eclipse, etc., as they are all fancy editors. Just stay away from the Java visual GUI Builder.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote







|