stoolpigeon
Programmer
I am new to Java and I'm not necessarily looking for an answer per se but maybe some help in getting pointed in the right direction.
I would like to build an app that will have buttons across the bottom. I would like to have the program read a file and build the gui on the fly- using the file to determine how many buttons there will be, what the caption will be on each button as well as storing a value that will be sent when the button is clicked.
I am hoping to find examples of creating a gui in some manner similar to what I have described and a way of handling the click event for such a set up.
All the buttons will do the same thing- they will send a value to a server via telnet (I've got some code for that) the only thing that will change is what value the button sends, as determined by the file.
thanks for any suggestions.
Ron
I would like to build an app that will have buttons across the bottom. I would like to have the program read a file and build the gui on the fly- using the file to determine how many buttons there will be, what the caption will be on each button as well as storing a value that will be sent when the button is clicked.
I am hoping to find examples of creating a gui in some manner similar to what I have described and a way of handling the click event for such a set up.
All the buttons will do the same thing- they will send a value to a server via telnet (I've got some code for that) the only thing that will change is what value the button sends, as determined by the file.
thanks for any suggestions.
Ron