JSplitPane help!!!
JTextArea area = new JTextArea(20,10);
JTextArea area1 = new JTextArea(20,10);
JScrollPane spane = new JScrollPane(area);
JScrollPane spane1 = new JScrollPane(area1);
JSplitPane splitpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, spane,spane1);
but when i try to append something into the Text Areas it says:
cannot find symbol
symbol:method area/area1(java.lang.string)
anyone can help?

