Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Mina Shokry

Greenhorn
+ Follow
since Jun 17, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mina Shokry

what J2MEPolish do is one of the most strange concepts in IT industry.
let me explain
J2MEPolish lets you write normal midp code and convert it to rich UI. how this is done?
j2mepolish has implementation for all midp ui classes but they reside in package de.enough.polish.ui not javax.microedition.lcdui and to accomplish its strange task, the ant task you mentioned pre-processes your code and change imports at beginning of file. so you end up with your code importing j2mepolish ui classes not j2me midp classes.
for example,
you write and then use it like this j2mepolish and task replaces with so, the actual class used at runtime is j2mepolish class.

j2mepolish defines new items and screens that are not in midp specifications and to make your ide happy with code you write, they give you the file "enough-j2mepolish-client.jar" to include which contains classes that seems to inherit midp classes but actually in runtime they are not. classes in this file aren't real classes that are used in runtime. they are just a hoax to make ide happy with code (actually this doesn't work and ide still become mad and complain half of your code). and this is clear from the class name as it starts with "fake".

so, don't depend on hierarchy of classes in this jar, and don't depend on javadoc of j2mepolish classes.
just use documented classes in j2mepolish visual guide as them or if you want to do some hacking, you have to consider these facts.
12 years ago