Answers for "how to change the sixe of an image in my java app"

1

how to resize image in java swing

ImageIcon icon = new ImageIcon(UrlToPngFile);
Image scaleImage = icon.getImage().getScaledInstance(28, 28,Image.SCALE_DEFAULT);
Posted by: Guest on October-23-2020

Code answers related to "how to change the sixe of an image in my java app"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language