English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know that I just asked this question 3 houres ago, but I know that after 3 houres, nothing gets answered. so I am asking in again...

how come this code ...
g.drawString("Go to www.sticksnap.com.. \n" + "new line",x,y);

doesn't generate a new line

2007-03-28 13:02:35 · 2 answers · asked by Matthew 1 in Computers & Internet Programming & Design

2 answers

This link contains the answer to your question on page 11

2007-03-28 20:54:07 · answer #1 · answered by AnalProgrammer 7 · 1 0

try taking the + out...

"Go to... \n new line" and see what happens, guessing it doesn't like the concatenation in there maybe?

2007-03-28 20:26:18 · answer #2 · answered by spl 4 · 0 0

fedest.com, questions and answers