Here is my code to display full image in a jlable
FileDialog fd=new FileDialog(this);
fd.show();
picturepath=fd.getDirectory()+fd.getFile();
jLabelPictureAdd.setIcon(new ImageIcon(picturepath));
jLabelPictureAdd.setHorizontalAlignment(jLabelPictureAdd.CENTER);
diplays only part of the image
but it dosen't display the full image but part of the image please someone help me to sort this out. thank you