I am trying to fit an image in a set sized JPanel (picture panel--- black border line) (MUST FIT THE JPANEl "Picture panel"). When i click the upload button, i am able to see the JFilechooser in a new JFrame and select the picture i want, however after the 'open' button click nothing happens. I am trying to fit an image in a set sized JPan