Results 1 to 9 of 9
Thread: Printing in Swing
- 03-03-2010, 12:27 PM #1
Member
- Join Date
- Feb 2010
- Posts
- 9
- Rep Power
- 0
- 03-03-2010, 01:43 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What you exactly want to do? print is nothing to do with swing specifically. Can you explain bit more your requirement.
- 03-03-2010, 03:32 PM #3
Member
- Join Date
- Mar 2010
- Posts
- 5
- Rep Power
- 0
you can use JLabel or JTextArea or JDialogBox to print.
Depends On How do you want to print, specify in detail to get specific answers
- 03-03-2010, 07:43 PM #4
Member
- Join Date
- Feb 2010
- Posts
- 9
- Rep Power
- 0
In my application i have JTable , JTextarea ..I wnat to Print in specific format...like Invoice
format...First in title it will contain company name then Name of customer etc..So is it possible to Print in specific format.....
- 03-04-2010, 03:22 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
In a JTable you ca use specific structure (with columns and rows) accordingly. But if you want to display them in a JTextArea then bit of work to do. In most of the cases JTable is more appropriate.
- 03-04-2010, 03:23 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
If you have tried something show it here. Then we can comment on that. It's very difficult to guess what you have done, how your data format/store at the moment, etc.
- 03-04-2010, 04:56 AM #7
Member
- Join Date
- Mar 2010
- Posts
- 5
- Rep Power
- 0
Using JTable is much much more appropriate than usinf JTextArea.
Still if you want you can print in TextArea and make it UnEdiatble....
Please display what have you done so far, I can help u further.
- 03-04-2010, 04:59 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 03-04-2010, 03:55 PM #9
Member
- Join Date
- Mar 2010
- Posts
- 5
- Rep Power
- 0
Similar Threads
-
Printing Help...
By chiragkini in forum AWT / SwingReplies: 1Last Post: 02-17-2009, 06:07 AM -
Printing Example
By Java Tip in forum SWTReplies: 0Last Post: 07-11-2008, 04:41 PM -
Printing default Swing values
By Java Tip in forum Java TipReplies: 0Last Post: 03-12-2008, 11:09 AM -
Printing Swing components in multiple pages
By Rajeswari in forum New To JavaReplies: 1Last Post: 07-27-2007, 05:49 PM -
Printing Swing components in multiple pages
By Rajeswari in forum AWT / SwingReplies: 0Last Post: 07-27-2007, 05:01 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks