?
Solved

generate report

Posted on 2002-06-27
3
Medium Priority
?
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 800 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 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