editorScrollPane.setVerticalScrollBarPolicy(
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
editorScrollPane.setPreferredSize(new Dimension(480, 240));
editorScrollPane.setMinimumSize(new Dimension(320, 160));
doc = screen.getStyledDocument();
Style def = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
Style receiveinitDisplay_via_DisplayStyle = doc.addStyle("receiveinitDisplay_via_LcdScreenScala_DisplayStyle", def);
StyleConstants.setForeground(receiveinitDisplay_via_DisplayStyle, new Color(141, 0, 93));
Style receiverefreshDisplay_via_DisplayStyle = doc.addStyle("receiverefreshDisplay_via_LcdScreenScala_DisplayStyle", def);
StyleConstants.setForeground(receiverefreshDisplay_via_DisplayStyle, new Color(3, 136, 170));
Style receivesetDisplay_via_DisplayStyle = doc.addStyle("receivesetDisplay_via_LcdScreenScala_DisplayStyle", def);
StyleConstants.setForeground(receivesetDisplay_via_DisplayStyle, new Color(82, 80, 39));
return editorScrollPane;
}