I'm working on a plug-in for OpenJUMP. Usually I will "roll my own" plug-in GUI, but this time the GUI was fairly simple, and I wanted to try out Michael's improvements to the MultiInputDialog class.
I've been looking over the API for the code, and I've bumped into a smal challenge: Instead of processing the data collected in the dialog using the AcitonPerformed event of each JTextField, I'd like to do the data processing when all the data is present, after the OK button is pressed. This will allow me to do some data validation. I see the class has a "wasOkButtonPressed" method, but I don't think that is what I need. What I really need is a way to respond to the OK button click event. I could hack something, but I thought I'd ask if there is a "standard" way to do this using the MultiInputDialog class or its ancestor classes. I'd like to learn the "right" way to use the class because I may prepare a little MultiInputDialog tutorial when I'm done. Hopefully this makes sense. I'm probably missing something obvious. Thanks in advance for the help. Landon (AKA - The Sunburned Surveyor) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
