*
The moose likes Beginning Java and the fly likes help automate code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "help automate code" Watch "help automate code" New topic
Author

help automate code

KunkalaGuntala Samba Siva Rao
Greenhorn

Joined: Nov 06, 2003
Posts: 20
i have popup codes like this (too many around 12-20 popup screens) painted for demo.
most of them have a kind of 1-2 layout ie
the fields come dynamically from a resultset
i am guessing i can change the SQL code so that i can get the proper field names
eg
SELECT
FIELD1 AS DisplayName1,
FIELD2 AD DisplayName2
...
is there a way to dynamically adjust the layout to set the fields in a good way according to the recordset returned.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: help automate code