public Images() {
        initComponents();
        
        jTextPane1.setContentType("text/html");
        StringBuilder buildSomething = new StringBuilder();
        buildSomething.append("<html>");
        buildSomething.append("<img src=\"").append(ChatBox.imgList.get(imgIndicator)).append("\" height=\"630\" width=\"510\">");
        buildSomething.append("</html>");
        jTextPane1.setText(buildSomething.toString());
        jTextField1.setText(ChatBox.imgList.get(imgIndicator));
        jButton1.setEnabled(false);
        jButton3.setEnabled(false);
        if (ChatBox.imgList.size() == 1) {
            jButton2.setEnabled(false);
            jButton4.setEnabled(false);
        }
    }