permaculture playing cards*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
Don't get me started about those stupid light bulbs.
 
subject: help automate code