am trying to load a csv file on my application which allows the action listener to call a readfile method and displays the 2d array on the file to the textarea.
i am getting a compliation error of such.
pls how do i rectify this
setText(java.lang.string) in javax.swing.text.jtextcomponent cannot be applied to (java.lang.string[][])
public void actionPerformed(ActionEvent event)
// "Load File is pressed
{
if( event.getSource() == buttonEnterNumber)
{
String input = textFieldInput.getText();
String fname = input;
ReadIt r = new ReadIt( fname);
textAreaOutput.setText( r.readFile());