/*

Can anyone tell me why the following won't invoke, given that
all the correct packages have been imported?

*/

//Java Version 1.6.0_20-b02

Class [] types = {ParagraphProperties.class,Integer.class,String.class};
Method insertAfter = overall.getClass().getDeclaredMethod(new 
String("insertAfter"),types);
insertAfter.setAccessible(true);
insertAfter.invoke(properties,0,"/r");
insertAfter.setAccessible(false);

Reply via email to