Try setting the preferred size of the JPanel:
imagePanel.setPreferredSize(2560, 1600);//or whatever dimensions you wish
Type: Posts; User: copeg
Try setting the preferred size of the JPanel:
imagePanel.setPreferredSize(2560, 1600);//or whatever dimensions you wish