Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"OK" button / "cancel" button example code?

807569Jul 31 2006 — edited Jul 31 2006
Could 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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2006
Added on Jul 31 2006
5 comments
1,007 views