| Re: [platform-swt-dev] Missing SWT Icons in a Messagebox |
| Hi, this looks more like a packaging problem to me. I.e. when you start the application from command-line MacOS tries to use the application icon of the Java-VM, which is ... well ... mostly nothing at all. You might get a different result if you repackage your application as "real" MacOS .app (with Info.plist, .icns files and all the rest). There's a project out there doing this stuff: http://code.google.com/p/eclipse-osx-repackager/ As for the umlauts: This depends if you want an I18N application or are content with a single language (i.e. there never ever will be an english version) If you want an I18N application all language specific texts should reside in a ResourceBundle (i.e. properties files) Otherwise its ok to insert texts in java code es well. In both cases you have to be careful with character encoding though (30+ years of modern computer science and this problem is still exists). There is the character encoding of you java editor/ide (if you use eclipse, take a look in you preferences/General/Worspace), the character encoding of the java-compiler, and - if manually ready properties files - also the character encoding of you runtime VM. I suspect that at one of these points your using MacRoman instead of UTF-8 or ISO-8859-1 Am 23.10.2009 um 00:08 schrieb Björn Häuser:
-- Bodo Junglas Tel. +49 2306 2040621 Mail bjunglas@objectcode.de Firma: ObjectCode GmbH Rechtsform: Gesellschaft mit beschränkter Haftung Sitz: Kurt-Schumacher-Str.4
44534 LünenRegister: Handelsregister Dortmund, Registrierung: HRB 17968 Geschäftsführer: Dr. Bernd-Christoph Schwede, Jörg Viola, Dr. York Xylander |