Results 1 to 1 of 1
- 01-19-2012, 05:55 PM #1
Member
- Join Date
- May 2011
- Posts
- 56
- Rep Power
- 0
Problem in printing receipt in swing application.
I have created general bill maker application on swing in which i've to print receipts as the output.
Basically i am not able to understand how can show the list of items on the panel so that it is able to print?
I am using PrintUtilities.java to print
the receipt panel.
What i am trying is to use a JTable for listing item details but if number of items is more than scrollpane viewport hieght than the rest of extra items are not shown and thus unable to print.
What can b the other way if i do not use JTable?
Or a solution with JTable use itself.
What i want is to extend my whole dialog vertically if no. of items exceeded rather than using autoscrolls.
I hope i am clear to my question.
Image of my receipt dialog is:
Similar Threads
-
Printing a GUI form that used swing
By Taron in forum AWT / SwingReplies: 3Last Post: 10-23-2012, 02:38 PM -
Need help with java Printing Receipt
By gilboy in forum New To JavaReplies: 4Last Post: 10-26-2011, 01:10 PM -
Generating and printing Bill receipt from mysql database.......
By Vibh in forum New To JavaReplies: 1Last Post: 09-08-2011, 07:38 AM -
Silent Printing in java swing application
By Vishal-pd in forum Java 2DReplies: 0Last Post: 08-30-2011, 03:36 PM -
Printing in Swing
By dhaivat in forum AWT / SwingReplies: 8Last Post: 03-04-2010, 03:55 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks