i would like to display multiple lines to the text area in the JEditorPane. I am comfortable with displaying one item to the text area, but how do I display multiple lines to the text area? I am new to swing. Any direction is greatly appreciated.
ResultSet rs5 = stmt5.executeQuery(SQLstmt5);
while (rs5.next()){
String operName = rs5.getString("name");
String operName_NoSpc = operName.trim();
//HtmlPane.setText(operName_NoSpc);//one item at a time
allPages[z] = operName_NoSpc;
z++;
}
rs5.close();