
-----------------------------------
Gryphon
Sun Jun 01, 2008 3:08 am

Nonstatic/static Referencing
-----------------------------------
I am currently trying to make Monopoly in JCreator. I'm having a problem calling my methods and using my global variables in the main part of my program. The errors i'm getting all say: non-static method/variable (name) cannot be referenced from a static context. I have tried vigorously and without success to fix these problems, could someone please help me find a solution, any help would be greatly appreciated, thanks!
My program is over 800 lines long so i'll provide just the main program and the first method i'm having trouble with.

import java.io.*;
import java.util.*;
public class MonopolyCompleteMain
{	Property[] properties = new Property[22];
	Player[] players = new Player[4];
	public static void main ()
	{	BufferedReader keyboard = new BufferedReader(new InputStreamReader(System.in));
		String choice;
		int counter = 0;
		
		loadProps();//Problem line when loadProps() is not static
		
		for(int j=0;j