public MyTimerUp() {
		title = "Count Up Timer          current time: "; 
		status = false;
		listModel = new DefaultListModel()/*ArrayList<String>()*/;
//		resultList.addElement("no item yet");
//		resultList.addElement("still no item yet");
		
		setLayout(new BorderLayout(0, 0));
		
		list = new JList(listModel);
		//list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
		//ListModel model = new DefaultListModel();
		/*ListModel absModel = new AbstractListModel() {
			ArrayList values = new ArrayList<String>() ;
			public int getSize() {
				return values.size();
			}
			public Object getElementAt(int index) {
				return values.get(index);
			}
		};
		list.setModel(absModel);*/

//		for (Object str : resultList.toArray()) System.out.println(str + " ");
		list.setLayoutOrientation(JList.VERTICAL_WRAP);
		list.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
		list.addListSelectionListener(this);
		list.setVisibleRowCount(-1);
		//list.setEnabled(false);
		add(list, BorderLayout.CENTER);
		
		JPanel panel = new JPanel();
		add(panel, BorderLayout.SOUTH);
		
		btnBack = new JButton("Back");
		btnBack.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		panel.add(btnBack);
		
		btnAdd = new JButton("Add");
		btnAdd.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				listModel.addElement(listModel.getSize() + ": " + appendex + "   ");
				btnClear.setEnabled(true);
			}
		});
		btnAdd.setEnabled(false);
		panel.add(btnAdd);
		
		btnReset = new JButton("Reset");
		btnReset.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				reset();
			}
		});
		btnReset.setEnabled(false);
		panel.add(btnReset);
		
		btnStart = new JButton("Start");
		btnStart.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				// TODO
				if (!t.isRunning()){
					t.start();
					status = true;
					btnAdd.setEnabled(true);
					btnStart.setText("Pause");
				} else {
					t.stop();
					btnStart.setText("Resume");
					btnReset.setEnabled(true);
				}
			}
		});
		panel.add(btnStart);
		
		btnClear = new JButton("Clear");
		btnClear.setEnabled(false);
		btnClear.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				//for (Object str : listModel.toArray()) System.out.println(str + " ");
				//listModel = new DefaultListModel<String>(); // don't use this, will mess up everything
				listModel.clear();
				btnClear.setEnabled(false);
				//list = new JList(resultList); //data has type Object[]
				//list.repaint();
				//repaint();
			}
		});
		panel.add(btnClear);
		
		JButton btnNewButton = new JButton("New button");
		panel.add(btnNewButton);
		
		txtCountUpTimer = new JTextField();
		txtCountUpTimer.setText(title + appendex);
		add(txtCountUpTimer, BorderLayout.NORTH);
		txtCountUpTimer.setColumns(10);

	}