Skip to main content

Is there any examples about how to use LookAnd Feel

2 replies [Last post]
ousys
Offline
Joined: 2008-05-14

Hi, I read the developer guide about lookAndFeel, and it is really a simple guide,
I am sorry I don't have the basis about swing lookAndFeel, how to use them is a really problem , UIManager or just new LookAndFeel();
so can you give any example about how to use LookAndFeel in a midlet?
Thank you very much!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kawaiimomo
Offline
Joined: 2008-07-10

Check at [url]http://lwuit.blogspot.com/[/url] the "pimped" midlet series. That should give you an idea of how to start.

You can also take a look at my previous post about drawing tabbedPane with my own LookAndFeel (there's some source there) [url]http://forums.java.net/jive/thread.jspa?threadID=44470&tstart=0[/url]

Greetings

ousys
Offline
Joined: 2008-05-14

So to apply a lookAndFeel ,just add
UIManager.getInstance().setLookAndFeel(new CustomLookAndFeel());

to startApp(), right?

thank you for your reply.

Regards