Libraries for complex settings dialogs (like NetBeans')?

I am developing a game that will likely have a very complex set of settings. In the spirit of not re-inventing the wheel, I’d like to use an existing library if there is one.

I like the way the NetBeans handles program settings. Can someone point me to a library that perhaps can build a preference dialog like that from XML or something similar?

I’d like something that can easily map a value to a GUI component, i.e.:

<setting name="PlayerName" value="DrE" /> would map to a JTextField and vice-versa.

Regards,
Dr.E