Hello, everyone!
import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.LinkedList; import java.util.StringTokenizer; import javax.swing.JOptionPane;
public class mainProgram extends javax.swing.JFrame {
ArrayList computer = new ArrayList();
ArrayList science = new ArrayList();
--------
public mainProgram() {
initComponents();
computer.add("sx"); computer.add("1 /x");
I am converting a java code into an xcode, and currently I am already in the solution part of our program. But we are having a problem in the arraylist, an error appears when we type only the "ArrayList computer = new ArrayList();" and cannot continue anymore. Can anyone help us?
I've used the NSArray in the header.. but I don't know what to write in the .m of the code.
thank you.