Can someone plz share how to change size and color of "staticText" object??
function buildUI(thisObj) {
var myPanel = (thisObj instanceof Panel) ? thisObj:new Window('palette', 'Stress Reducers',undefined, {resizable: true});
var txt=myPanel.add("staticText",[0,0,100,20],"txt");
//txt. newFont, fontSize,color?????
return myPanel;
}
var myToolsPanel = buildUI(this);