cp.setEditable(false);
cp.setEditable(true);
    public static void main(String[] args) {        byte[] content = new byte[0];        try {            ByteArrayOutputStream baos = new ByteArrayOutputStream();            // FileInputStream fis = new FileInputStream("/usr/share/xfce/backdrops/Flower.jpg");            FileInputStream fis = new FileInputStream("/home/rdawes/exodus/HowTo.html");            byte[] buff = new byte[1024];            int got = 0;            while ((got = fis.read(buff)) > 0) {                baos.write(buff, 0, got);            }            content = baos.toByteArray();        } catch (IOException ioe) {            System.exit(0);        }                javax.swing.JFrame top = new javax.swing.JFrame("Content Pane");        top.addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(java.awt.event.WindowEvent evt) {                System.exit(0);            }        });                ContentPanel cp = new ContentPanel();        top.getContentPane().add(cp);        top.setBounds(100,100,600,400);        top.show();        try {            cp.setContentType("text/html");            cp.setEditable(false);            cp.setContent(content);        } catch (Exception e) {            e.printStackTrace();        }    }