Fixed a tiny deprecation warning

git-svn-id: https://zxing.googlecode.com/svn/trunk@413 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-06-11 13:21:02 +00:00
parent 16f01d19bf
commit 6c4fe1633f

View file

@ -75,7 +75,7 @@ public final class GUIRunner extends JFrame {
File file = fileChooser.getSelectedFile();
ImageIcon imageIcon;
try {
imageIcon = new ImageIcon(file.toURL());
imageIcon = new ImageIcon(file.toURI().toURL());
} catch (MalformedURLException mue) {
throw new RuntimeException(mue);
}