| Reply | « Previous Thread | Next Thread » |
|
Hi
I want to know that whether its possible that ,i can change text font from my application.means i want to write an font control application. Anupam.... |
| anupamcins |
| View Public Profile |
| Find all posts by anupamcins |
|
It is possible for you to control the font used in your J2ME based applications, but it is impossible for you change the font in a native application, e.g. the phone calendar or phone book.
BR Einherar |
|
But can u tell me how...
|
| anupamcins |
| View Public Profile |
| Find all posts by anupamcins |
|
For changing the font in a J2ME Canvas use the classes Font and Canvas, e.g.
public class MyCanvas extends Canvas { Font myFont = Font.getFont(Font.FACE_PROPORTIONAL, Font. STYLE_PLAIN, Font. SIZE_LARGE); public void paint (Graphics g) { g.setFont(myFont); } } For MIDP2.0 based handsets it is also possible to change the font in the highlevel UI component CustomItem. For more info on this see the article: http://developers.sun.com/techtopics...ent/index.html BR Einheriar |
|
anything that has anything to do with native things would be a struggle with J2me for that u will have to take recourse to Symbian.
the latest J2me docs says that the WTK supports native calls..however i dont think any mobile is implementing it. ciao |
| mayankkedia |
| View Public Profile |
| Find all posts by mayankkedia |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|