public class LoadImageTools extends Object
| Modifier and Type | Method and Description |
|---|---|
static ImageIcon |
getImage(String file)
Returns an ImageIcon loaded from the image file:
file. |
public static ImageIcon getImage(String file)
file. The
image file is located using Pathfinder.getResourceReference(String, String).file - a relative or absolute path to an png, gif or jpg file.Copyright © 2006–2018 Esito AS. All rights reserved.