Solved

generate report

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

726 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