Java: simple program to attach document or image
I have two buttons and one textset on JFrame. I need the first button to allow the u开发者_开发问答ser to browse for files and the second button to attach documents or images and displayed in textset.
You can use JFileChooser to find the image on the hard drive and you can display the image on a JLabel
精彩评论