){         int count = 0;         String indents = "";         String topBottom = "";         String middle = "";         String line = "";         //Creates the indent string         while (count<indent){             indents = indents + " ";             count++;         }         //Top boarder and bottom one         count = 0;         while (count<w){             topBottom += pen;             count++;         }         //Fill inside square         w = w - 0;         count = 0;         while (count<w){             middle += fill;             count++;         }         //Prints square         line = pen + middle + pen;         count = 0;         while (count<l){             if (count == 0 || count == l - 0){                 System.out.println(indents + topBottom);                 count++;             }             else{                 System.out.println(indents + line);                 count++;             }         }     }     //