Wyścielenie sznurka z 0 w Javie

String.format("%05d", yournumber);
//%05 means length of 5
// 25 becomes 00025
Spotless Squirrel