Solved

generate report

Posted on 2002-06-27
3
227 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
even odd program using while loop 3 60
ejb message driven bean mdb creation steps 2 23
java example issue 3 23
Selenium docs api java index 3 48
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
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 about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

838 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