import java.awt.*; import java.io.*; import java.util.*; import java.awt.event.*; public class compress{ static Vector sisu = new Vector(1,1); static PrintWriter out; public static void main(String args[]){ int i=0, a; String tmp = new String(); String son = new String(); String kvm = null; int maxkood = 0; String filename = new String("C:\\tekst.txt"); StringTokenizer asi; HashMap kaart = new HashMap(); try { FileInputStream uc = new FileInputStream(filename); BufferedReader input = new BufferedReader(new InputStreamReader(uc)); while((tmp = input.readLine()) != null){ asi = new StringTokenizer(tmp, " "); a = asi.countTokens(); for (i=0; i