@SuppressWarnings("serial")
	public javax.swing.table.DefaultTableModel readModelScores(){
        @SuppressWarnings("unused")
		String id;
        String name;
        Integer score;
        javax.swing.table.DefaultTableModel model = new javax.swing.table.DefaultTableModel(){
            @Override
            public Class<?> getColumnClass(int columnIndex) {
                switch (columnIndex){
                    case 0:
                        return String.class;
                    case 1:
                        return Integer.class;
                    default:
                        return String.class;
                }
            }
        };
        model.addColumn("User");
        model.addColumn("Score");
        try{
            Scanner usersFile = new Scanner(new FileReader("users.txt"));
            while(usersFile.hasNext()){
                Vector<Object> usr = new Vector<Object>();
                id = usersFile.next();
                name = usersFile.next();
                score = Integer.parseInt( usersFile.next() );
                usr.add(name);
                usr.add(score);
                model.addRow(usr);
            }
            usersFile.close();
        }catch (IOException e){
            e.getStackTrace();
        }
        return model;
    }