Which icon gives best result for Servoy Windows Shortcut ?

According to this thread, one has to set “servoy.branding.webstart.loadinglogo” to provide an own icon for the windows shortcut that Servoy creates when a user runs a smart client the first time:
viewtopic.php?f=5&t=17438&p=94260&hilit=icon#p94260

As Windows 7 shows the best results with 256x256 Icons, I asked a fiverr artist to create a 256x256-ICO-file for me. That file I provided into “servoy.branding.webstart.loadinglogo”.
However that ICO-file Servoy did not take.
I then provided a 256x256-PNG-Icon, and that was somehow converted/downsized and did not show sharp.
(To force Java to create the shortcut new, it is necessary to go to Java Control Panel and delete the temporary Java Files there, a sole deletion of the shortcut on the desktop will not force Java/Servoy to create a new shortcut.)

So my question is, with what file type and resolution do I get the best result for the creation of the windows shortcut icon under the current Windows 7 OS?

Hups, I just saw that was answered already by Harjo here:
viewtopic.php?f=5&t=19558

So I just send my users the proper icon now and ask them to change it manually on the shortcut, works too.

Bernd.N:
So I just send my users the proper icon now and ask them to change it manually on the shortcut, works too.

Unfortunately, this seems not to work, as Java puts its own icon back to the shortcut as soon as I start the app again.

Did someone else find a better solution to present proper icons to the users?

As I said in that post, there is not much you can do about it!

viewtopic.php?f=5&t=19558#p111794

Hi,

We use this solution :

  • on our applicationserver we have disabled the option to create Icons.
  • we build a small EXE-louncher to start the application on windows-PC.
  • in this EXE-Louncher you can embed your own Image

On “www.f2ko.de” you’l find a small tool to compile a exe from a windows-bat-file:

Content of bat-file:

@echo off
javaws http://srvservoy02:8080/servoy-client/MES.jnlp

best regards

Hendrick Kurland
DataBit GmbH
Swizerland

Thanks for sharing! :)

Thanks Hendrick! I’ll have a look on it! :)

Do you have also Mac customers?

Just had to do this on a Mac. In short, what I did was

  • create a shell script (test.sh) with this code
#!/bin/sh

javaws http://server:8080/servoy-client/solution.jnlp
  • make it executable
sudo chmod +x /pathto/folder/test.sh
  • from that, you can create a .app to make it double clickable

either create a .app folder with the appropriate /Contents/MacOS content or simply use something like this: https://mathiasbynens.be/notes/shell-script-mac-apps