• Post Reply Bookmark Topic Watch Topic
  • New Topic

Highly customizable applications  RSS feed

 
Rida Abrahams
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I am writing a highly customizable application in which users may select the fields which are relavent to them. For example some users may only use the LastName field in the appliaction and disregard the FirstName field. Some users may use the Initials field and LastName field and not use the FirstName field.
I'm unsure as to whether my approach is correct but in order to allow users to customize there applications in this way I have stored the user, each optional field and a boolean flag that indicates whether the optional field is to be used in the application for this user or not, in a database. Then I dynamically create the visual components like textboxes and columns in JTables, depending on whether the boolean variable for the optional database field is true or false.
This is very cumbersome. I would like to know if there is a more elegant way of customizing applications depending on user's preferences.
Thanks.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are frameworks which allow for user interface customization, and can remember a user's preferences across sessions. JavaServer Faces promises to be one such solution, especially for web applications.
Moving this to the Swing / JFC / AWT forum, where they love to get messy with this GUI stuff...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!