I have this 1st clas:
private class proceedAL implements ActionListener
{
public void actionPerformed(ActionEvent z)
{
String x = (String)mouseB.getActionCommand();
String y = (String)monitorB.getActionCommand();
ComputerSimulator me = new connect(x,y);
}
}
and another class:
public class ComputerSimulator extends JFrame
{
public void connect(String x, String y)
{
String i, j;
c2.setText(x);
c3.setText(y);
}
This error appears: cannot find symbol - class connect
What am I missing? I'm just a starter in Programming, need some help guys