Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Creating columns dynamically

eno g. - oracleDec 5 2012 — edited Nov 11 2016
Hello,

I'm trying to write an app which contains a table to display data from a file. I want to figure out the number of columns from the data in the file as it may vary. However, it seems like I might have a problem with creating the setter/getter methods for column properties as I wouldn't know before hand how many columns and what they're called so I make use of PropertyValueFactory convenience class as it uses a set string for a parameter.

Any suggestions?

Thanks in advance
This post has been answered by James_D on Dec 5 2012
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 2 2013
Added on Dec 5 2012
2 comments
27,579 views