public class Tools extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
_icon |
static String |
_img_path |
static String |
_logo |
| Modifier | Constructor and Description |
|---|---|
protected |
Tools() |
| Modifier and Type | Method and Description |
|---|---|
static File |
getFileFromResource(String resource)
Extract a file from resource and copies it into temporary directory.
|
static File |
getFileFromResourceSilent(String resource)
Same as
getFileFromResource(String) but hides the exception |
static ImageIcon |
getImage(String filename)
Loads image
|
static void |
openURL(String url) |
public static final String _img_path
public static final String _logo
public static final String _icon
public static File getFileFromResource(String resource) throws Exception
resource - Exceptionpublic static File getFileFromResourceSilent(String resource)
getFileFromResource(String) but hides the exceptionresource - Copyright © 2004–2018 Ideaconsult Ltd. All rights reserved.