Hi guys, I need a lesson in J2ME! I've got two inner classes (b [extends thread] and c [extends mainscreen]) within the class A (extends UiApplication):
Code:
public class A extends UiApplication{
private class B extends Thread {}
private final class C extends MainScreen {}
}
I'm trying to pass a reference using the 'this' keyword reference of C (screen) to B [which is invoking UiApplication.getUiApplication().pushGlobalScreen].
I've tried
Code:
//where C c = new C()
this.C
A.this.c
A.this.C.this
Can you guys explain why plassing a Class name reference infront of the keyword this enables access to a parent class from an inner class? Any good docs on this? Any ideas how i would solve the above problem?