🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #26

swing report, help

#26
From: Shaomei Ruan
Date: Wed, 29 Mar 2000 00:00
25 lines
1799 bytes
Hi,

I have a database application, the front end GUI is developed in Swing.
What I want to do is to provide such a report function that when user
click the Email or Print button on the GUI, all the components content
will be output to an ASCII text file, while the position and the width
of the components on the GUI are still preserved in the text file. It's
like a plain text version of the GUI, but all the content is visible to
the user, no invisible one like the text in a too small textarea. 

For example, if I have a label in position of row 1, column 1 in the
GUI, when output to the report file, its label text is still in position
row 1, column 1. If I have a textfield in position or row 1, column 2,
but the text is longer than the textfield's width, the output text of
this component will be in position row 1, column 2, and the text that's
longer than the width will be wrapped to the next line to the same
column position.

I am looking for a standard solution to achieve this, or if any of you
know any good 3rd party tool that can do this kind of report, please
share your information with me.

Thanks!

Shaomei
Technical Details
Message-ID: <38E2D501.3FA4C817@home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b30f2c6051b11d15,start
X-Google-Attributes: gid111d45,public
X-Google-Thread: f8eda,b30f2c6051b11d15,start
X-Google-Attributes: gidf8eda,public
From: Shaomei Ruan <sruan@home.com>
Subject: swing report, help
Date: 2000/03/29
Message-ID: <38E2D501.3FA4C817@home.com>
X-Deja-AN: 604169848
Content-Transfer-Encoding: 7bit
X-Accept-Language: en,zh
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: sruan@home.com
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.dbswing