[quote author=lookang link=topic=684.msg4343#msg4343 date=1243866635]
hi prof,

when i use EJS_4.1_090115\EJS_4.1 to compile this file, the applet shows the numbers nicely as designed by the codes for example the codes for bottom scale

but when i use EJS_4.1_090426 or EJS_4.1_090518 the following codes seems to be not correctly compiled.
[code]for(int i=0;i tm2t[i]=i+"";
//  tm2t[i]=i+"";
tm2t[i]="0"; // i think is to draw 0 in place of 10

do you know how to fix it?, is the problem with newer Ejs ?



I realised what was the problem, in the newer Ejs, the text becomes tmt instead of %tmt%

i just added back the %%  and changes to the newer Ejs text blue color ones instead of the older black color ones and it works well again.