You can have String literals wrapped when you edit them. For example, if you have code like this:

 String message= "This is a very long message.";

position your caret after the word "very" and press Enter. The code will be automatically changed to:

 String message= "This is a very" +
           " long message.";

This behavior can be customized in the Java > Editor > Typing preference page.