/DUBwise/trunk/j2me/src/DUBwiseHelper.java |
---|
6,6 → 6,17 |
{ return "" + digit/100 + "" + (digit/10)%10 + "" + (digit)%10; } |
public final static String pound_progress(int val,int max) |
{ |
String res="" + (val+1) + "/" + max + " |"; |
for (int i=0;i<max;i++) |
res+=(i<(val+1))?"#":"_"; |
res+="|"; |
return res; |
} |
public final static String ip_str(int[] ip,boolean with_zeroes) |
{ |
if(with_zeroes) |