public ArrayList<Orders> getOrders() throws SQLException { return dbcon.getOrders(user); }
public int getOrderName() throws SQLException { ArrayList<Orders> ord = dbcon.getOrders(user); int size = ord.size(); return ord.get(size - 1).getOrderID(); }