I want to launch SQLeo with Java Web Start, but there is a problem with the loading of one icon (the other icons are fined). For some reason, ClassLoader.getSystemResource("images/sqleo.png") doesn't work in Java Web Start.
So could you please apply this small patch ?
--- src/com/sqleo/environment/Application.java (révision 122) +++ src/com/sqleo/environment/Application.java (copie de travail) @@ -309,7 +309,7 @@ Application.window = new MDIWindow(); //set icon JFrame.setDefaultLookAndFeelDecorated(true); - URL imgUrl = ClassLoader.getSystemResource("images/sqleo.png"); + URL imgUrl = Resources.class.getResource("/images/sqleo.png"); Application.window.setIconImage(new ImageIcon(imgUrl).getImage()); Application.window.show();
Thanks a lot...
Adrien
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Tested on windows, we will see for linux/macOS later...
demand validated ticket #126, should be released with 2013.07 version.
Regards PAscal
rem: it wil cost you a donation to the project :-)
I want to launch SQLeo with Java Web Start, but there is a problem with the loading of one icon (the other icons are fined). For some reason, ClassLoader.getSystemResource("images/sqleo.png") doesn't work in Java Web Start.
So could you please apply this small patch ?
Thanks a lot...
Adrien
Tested on windows,
we will see for linux/macOS later...
demand validated ticket #126, should be released with 2013.07 version.
Regards
PAscal
rem: it wil cost you a donation to the project :-)