基本的に、FlowLayout.html というファイルがあり、それを JEditorPane に読み込みたいと考えています。その時点までのすべてのコードがありますが、ペインでファイルを開く方法がわかりません。
JEditorPane jtfInfo = new JEditorPane();
jtfInfo.setEditable(false);
p3.add(jtfInfo);
public void getFlowLayout(){
jftInfo.setContentType("text/html");
//I dont know this step and setContentType gives me an error in netbeans Cannot find symbol
}