Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

generate report

I have to generate a report by query a table in a swing application, any suggestion on how to do it?

Student Report (CPMPR0021) @ @
sssxr999 CS Depart - Student Report Creation Date : YYY-MM-DD  
@ PLK College - Student Report Report Creation Time: HH: MM:SS
@ @ Page: zz9
@ @ @
Student no. type No of student date Operator Opertor Name
xxxx xxxx xxxx xxxx xxxx xxxx
@ @ @ @ @ @
@ @ @ @ @
 
0
stanleyhuen
Asked:
stanleyhuen
1 Solution
 
udaykumar22Commented:
Hi Stanley,

What exactly do you want to do? What sort of report is it that you want generated. A tabular format OR a line by line description as you have just done?

I can't comment without that info.

Regards,
Uday.
0
 
stanleyhuenAuthor Commented:

It should be a tabular format, like the following:

------------------------------------------------------
Student report
                                              Date: xxxx
                                              Name: yyyy

--------------------------------------------------------
Name     Sex     Age    Weight    Height
John     M       18     155lb     170cm
..
..

---------------------------------------------------------








0
 
rjackmanCommented:
hi there
use JTable
u will get the JTables samples from Java tutorail by sun
or refer to following site
http://www2.gol.com/users/tame/swing/examples/JTableExamples2.html
cheers
RJ
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now