Do you know of any tutorial/example on how to code a dynamic GUI with Java Swing in Netbeans? What I’d like to do is:
- Write a text configuration file with parameters for several components
- Launch the GUI, which reads the configuration file and automatically builds the graphical interface for those components.
I’ve never worked with Java GUI before, so I’m not really sure where to start.
http://download.oracle.com/javase/tutorial/uiswing/index.html
Everything for creating the GUI can be found there. You can choose your own configuration file format (XML, JSON), parse it and away you go. There are probably a number of solutions just like this in open source.