mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
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:
parent
16f01d19bf
commit
6c4fe1633f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue