Serial problem [Solved]

Hi,

I'm trying to send a string from an Uno to my Java program (running on Windows).
The problem is that half the time I only get part of the string that is being sendt.

Why is this? Is there a solution?

Why is this?

Because you are doing something wrong.

Is there a solution?

Certainly.

If you are interested in the answer, post your code (for both ends).