public Data serverMsg() {
        Object obj;
        try {
            try {
                obj = input.readObject();
            } catch (ClassNotFoundException ex) {
                setDef("No connection to the server! Don't run Server.java" + ex.getMessage(), 1);
                return null;
            }
        } catch (IOException ex) {
            setDef("No connection to the server! " + ex.getMessage(), 1);
            return null;
        }
        if (((Data) obj).getKey().getItem().equals("@@@notserverdb@@@")) {
            try {
                socket.close();
            } catch (IOException ex) {
                setDef("No connection to the server! " + ex.getMessage(), 1);
            }
        }
        System.out.println("Term = " + ((Data) obj).getKey().getItem());
        return (Data) obj;
    }