View Single Post
Old 05-10-2010, 12:27 PM   #4 (permalink)
New Member
Join Date: May 2010
Model: 9700
Carrier: Zain (Vodafone)
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts

I added the class ButtonListener in the screen class as u said,, but how do i push the "SemGPAScreen" to the main screen??
Thought i created a " _SemGPAScreen" which is a private object of type SemGPAScreen in the screen class.
The red line is the error line.. any idea about how to fix it?

class ButtonListener implements FieldChangeListener
public void fieldChanged(Field field, int context)
ButtonField btn = (ButtonField) field;
if(btn.getLabel()=="Semester GPA")
UiApplication.getUiApplication().pushScreen.(_SemG PAScreen);

Last edited by miz_g6 : 05-10-2010 at 12:29 PM.
Offline   Reply With Quote