"OK" button / "cancel" button example code?
807569Jul 31 2006 — edited Jul 31 2006Could someone point me to an example that shows how to write an "OK" button or a "cancel" button? I need to write a dialogue panel like JFileChooser type. But that dialogue selects items ( that were read in from a file), instead of files. I want it behaves like JFileChooser.
I am new to JAVA GUI. so assume I know very little about Swing.
Thanks!