public StockData()
	{
		data = new Vector();
		//读入数据库中的表格数据，包括股票名称、股票代码及股票价格  
		  sql="select * from stock";
		  s = LoginListenerClass.statement;
		  try 
		  {
			rs = s.executeQuery(sql);
			while(rs.next())
			{
				data.add(rs.getString(1));
				data.add(rs.getString(2));
				data.add(rs.getString(3));
				data.add(rs.getString(4));
				data.add(rs.getString(5));
				data.add(rs.getString(6));
				data.add(rs.getString(10));
				data.add(rs.getString(11));
			}
		  } 
		  catch (SQLException e) 
		  {
			// TODO Auto-generated catch block
			e.printStackTrace();
		  }
		
		  title = new Vector();
		  title.add("StockID");
		  title.add("StockName");
		  title.add("RISE");
		  title.add("NowPrice");
		  title.add("OpenPrice");
		  title.add("ClosePrice");
		  title.add("HighPrice");
		  title.add("LowPrice");
	}