Selecting multiple images

Trying to make my code work with being able to choose multiple images from a JFileChooser, how would i go about this? Does BufferedImage not support multiple images or am I doing something wrong?
No description
6 Replies
JavaBot
JavaBot2y ago
This post has been reserved for your question.
Hey @taun! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
0x150
0x1502y ago
^ you're getting multiple files out of the selector, everything's fine on that front you're just not handling them properly imageIO.read() can only read one file by itself, you have to go over each file the user selected, read it and then handle it properly
taun
taunOP2y ago
gonna try, thank you
JavaBot
JavaBot2y ago
If you are finished with your post, please close it. If you are not, please ignore this message. Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
JavaBot
JavaBot2y ago
Post Closed
This post has been closed by <@239353471285854208>.
Want results from more Discord servers?
Add your server