Skip to Content
0
Jun 20, 2011 at 05:31 AM

Missing Jar files javax.swing.text.Utilities(printTable)

13 Views

Hi Experts,

please explain which jar files are required for Javax.swing.text.Utilites(printTable()).

tilities utilities = new Utilities();

ArrayList al = new ArrayList();

al.add(IPrivateWOAccCodeView.IWOElement.RQT_NO);

al.add(IPrivateWOAccCodeView.IWOElement.WO_TITLE);

al.add(IPrivateWOAccCodeView.IWOElement.RQTR);

al.add(IPrivateWOAccCodeView.IWOElement.TOT_AMT);

al.add(IPrivateWOAccCodeView.IWOElement.STATUS);

al.add(IPrivateWOAccCodeView.IWOElement.PLAN_START_DATE);

al.add(IPrivateWOAccCodeView.IWOElement.TARGET_END_DATE);

al.add(IPrivateWOAccCodeView.IWOElement.ACCOUNT_CODE);

al.add(IPrivateWOAccCodeView.IWOElement.APPLY_AMOUNT);

//To print in HTML

String printURL = (String) utilities.printTable(al,"Work Order Details By Account Code","Work Order Details By Account Code",wdContext.nodeWO()).get("url");

wdContext.currentContextElement().setPrintURL(printURL);

//@@end

}

Error in printTable that is method is undefined.

Regards,

Smruti

Edited by: smruti moharana on Jun 20, 2011 8:10 AM