blackberry - not show the result -
This is my code and there is no exception available through the source code. In the code, we need a popup screen that shows but the average speed does not show up.
class popupscreen popupscreen {Private editing field _sp; // speed s = new speed (); // public double _ average speed = s._ averagespeed; Stringbuffer sb = new stringbuffer (); Popupscreen () {super (new vertical field manager (), field.focusable); Speed = new speed (); Double _ distilled = s._ averagespeed; _sp = New EditField ("Average Speed:", "" + _ Average Speed); (_sp); //Speed._averageSpeed=sb .; //sb.append("\n_AverageSpeed: "); //sb.append(_averageSpeed); }}
You must save the vertical field manager near the supertabel; Add manager to your manager
Dialogfiled Manager dfm = New Dialogfield Manager (); This is not necessary to completely override the class; Dfm.add (_sp); Popupscreen popupscreen = new basepopscreen (DFM, manager .VERTICAL_SCROLL);
Comments
Post a Comment