
6 Jul
2010
6 Jul
'10
3:08 p.m.
this worked for me sometime back: String pid = ManagementFactory.getRuntimeMXBean().getName(); String[] pIdArray = pid.split("@"); //arraying Long myPid = Long.valueOf(pIdArray[0]); //value returned of curr process -- regards, S.N.Maina ExtremeGrafixDesign Ltd. www.creativepitome.com steve@creativepitome.com P.O BOX 193 Ngong Hills +254726489473,+254771461638 "I played a blank tape at full volume. The mime who lived next door complained, so I shot him with a gun with a silencer." -- Stephen Wright