private void load(File file) {
        BufferedReader reader = null;
        StyledDocument doc = jTextPane_Source.getStyledDocument();
        try {
            reader = new BufferedReader(new FileReader(file));

            String line;
            jTextPane_Source.setText("");
            jEditorPane_Preview.setText("");
            while ((line = reader.readLine()) != null) {
                doc.insertString(doc.getLength(), line + "\n", null);
            }
        } catch (IOException e) {
        } catch (BadLocationException ex) {
            Logger.getLogger(FrameMain.class.getName()).log(Level.SEVERE, null, ex);
        } finally {
            try {
                reader.close();
            } catch (IOException e) {
            }

        }
    }