Hi all,
I´m using Netbeans with the Nokia 6131 NFC SDK, and I was wondering, is there a way to change font etc of the (.add) commands (exit, back, etc) you add?
Tia!
Hi all,
I´m using Netbeans with the Nokia 6131 NFC SDK, and I was wondering, is there a way to change font etc of the (.add) commands (exit, back, etc) you add?
Tia!
Hi Tia,
using standard Java ME Commands, there's no way to change their appearance. To have custom-styled commands, you should stick to a Canvas-based solution, like the one on Forum Nokia Wiki:
http://wiki.forum.nokia.com/index.ph..._graphical_API
Note that also many Java ME UI frameworks support for Canvas-based Commands, so you can also take a look at them to check if they're suitable for your needs.
Pit
hi hugovdtuin,
Command class accessing the default device specific font for displaying it into command’s menu. You may change font only when you create your own custom controlled commands on Canvas of j2me.
The code:
Font font = Font.getFont( , , );
g.setFont(font);
Where g is the Graphics object; but it could not be associated with Command class.
If anybody has any other answer, please share.
anjan
Thnx jappit and anjan for the quick reply´s! I now realize a solution like:
http://wiki.forum.nokia.com/index.ph..._graphical_API
is probably best!
Last edited by hugovdtuin; 2008-08-19 at 09:50.