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?
6 Replies
⌛
This post has been reserved for your question.
Hey @taun! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose 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.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
^
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
gonna try, thank you
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.
Post Closed
This post has been closed by <@239353471285854208>.