It turned out to be an error with the size(); from the ArrayList. Ones i fixed that and changed return null; to return mediaPanel; it worked the way i wanted.
Type: Posts; User: sebbe605
It turned out to be an error with the size(); from the ArrayList. Ones i fixed that and changed return null; to return mediaPanel; it worked the way i wanted.
Hello, i'm having this where i'm trying to return a JPanel with tempPictures but only if they aren't already filled with "actual" pictures. However this causes problems because your never shore that...