public static BufferedImage convertString2Image(String s, boolean r) {
        s = s.toUpperCase();
        BufferedImage default_image = text_r_14;
        
        if (!r) {
            default_image = text_w_14;
        }

        BufferedImage image = new BufferedImage(s.length() * default_font_width, default_font_height, BufferedImage.TYPE_INT_ARGB);;
        Graphics2D g = (Graphics2D) image.getGraphics();
        for (int i = 0; i < s.length(); i++) {
            // Qua luoi de them dau cach vao anh =)) // I am so lazy to add " " to image :))   
            if (" ".equalsIgnoreCase(Character.toString(s.charAt(i)))) {
                g.drawImage(null, i * default_font_width, 0, default_font_width, default_font_height, null);

            } else if (g.drawImage(default_image.getSubimage(default_text.indexOf(s.charAt(i)) * default_font_width, 0, default_font_width, default_font_height), i * default_font_width, 0, default_font_width, default_font_height, null)) {
            }
        }

        g.dispose();
        return image;
    }