/* Nie mieszac z java.awt.* (!!!) */ package src; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; import java.lang.*; class MyResource { final int MAX_WORDS=67656; public void MyResource() { } private static final String absName = "/slownik.txt"; // TODO - to jest mniej eleganckie; static ArrayList directory3 = new ArrayList(); static ArrayList directory4 = new ArrayList(); static ArrayList directory5 = new ArrayList(); static ArrayList directory6 = new ArrayList(); static ArrayList directory7 = new ArrayList(); static ArrayList directory8 = new ArrayList(); static ArrayList directory9 = new ArrayList(); static ArrayList directory10 = new ArrayList(); static ArrayList directory11 = new ArrayList(); static ArrayList directory12 = new ArrayList(); static ArrayList directory13 = new ArrayList(); static ArrayList directory14 = new ArrayList(); //static int mem=0; public void read() throws Exception{ String list; try { InputStream is = this.getClass().getResourceAsStream(absName); BufferedReader br=new BufferedReader(new InputStreamReader(is, "utf-8")); for (int i=0; i