Re: [Java-gnome-developer] Strange behaviour when using chars
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2005-01-09 15:25:43
|
This is probably fixed in 2.5. Your code was casting the char to an int and using a special constructor which should only be used internally by java-gnome (it cannot be private or even protected though since it is used by many java-gnome classes in various packages). This special java-gnome constructor has been changed in 2.6, to allow 64bit support, so the problem should no longer exist. On Sun, Jan 09, 2005 at 12:00:34PM +0100, Abcdefg wrote: > If I create a button (or a label, frame, etc) like this: > Button button = new Button('a'); > There is no compile error (the api only says this can with a String?) but a > runtime error -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... |