Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mapping between in memory beans and Swing GUI.

Status
Not open for further replies.

Targol

Technical User
Sep 13, 2002
908
0
0
FR
Hi all,

I was wondering if someone here knows about a framework that can automatically map some Swing components in my GUI to the beans I created that are stored in memory.

Let me explain :
I made an app to generate strategies for ET-QW game.
I created beans to store the data this way :
QwStrategy --1,n--> QwObjectives --1,n--> QwPlayerMission

To display these beans, I built a Swing GUI that use tabbed panes to manage the "1,n" cardinalities.
What I would like to find is a little framework that (for example thru an XML initialization) maps automatically a given Gui Component to a bean property
example : if I change the selected value of the "PlayerClass" JComboBox, the "playerClass" property of related QwPlayerMission bean is automatically changed.

Can someone point me in a good direction ?

Water is not bad as long as it remains outside human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top