Hi susarp
You can write your own style by specifying it in a css file (it has to be named as polish.css) ; I put you some links you can use to understand better :
http://www.j2mepolish.org/cms/leftse...on/design.html
In the last one you can see some links about designing the interface.
I will explain a bit the running of a GUI made with j2mepolish:
you have to write a css file with the style of every component in your application, so then at your code, you can apply the styles by declaring for example an StringItem and declaring the proper style over its declaration as follows :
//#style myStringItemStyle
StringItem __si = new StringItem(...);
and the style will be applied to this item
you have to define the style in the file "polish.css":
.myStringItemStyle {
before: url(unselectedA.png);
after: url(unselectedC.png);
background: unselected;
focused-style: .myStringItemStyleFocused;
}
.myStringItemStyleFocused{
.....
}
the focused-style implies the event when the stringItem is selected at the screen, so at this case, I mean when the stringItem be selected, you have to define the visibility of it with the style : myStringItemStyleFocused.
Before and after expresses the images you can use at the item, for more information about it, an about other characteristics like fonts and so, please go to
www.j2mepolish.org, if you need some help about j2mepolish , feel free to ask me.
BR