I'm trying to make an ActionListener act, when user resizes the window in order to rescale the image i print within it. Is this achievable? In what way?
Note: I know this can be achieved via paintComponent method, but i want to do this using this approach if feasible.