Solved

generate report

Posted on 2002-06-27
3
226 Views
Last Modified: 2012-05-05
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
Comment
Question by:stanleyhuen
3 Comments
 

Expert Comment

by:udaykumar22
ID: 7115905
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
 

Author Comment

by:stanleyhuen
ID: 7115930

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
 
LVL 3

Accepted Solution

by:
rjackman earned 200 total points
ID: 7116024
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

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
map related example 6 48
Tomcat: Unable to run tomcat service. 2 20
How to determine if a string is a valid SHA value 7 34
Is there a simpler dropbox system? 10 22
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question