Hi i feel retarded for posting this, but meh thats what its here for eh!haha
Anyways i have a JLabel with a sentence in it and its added to a gridlayout beside a jslider, but the text is so long that it only prints what it can so that the label and the slider have equal length in the panel.So i figured ill just put a new line character in the JLabels text so that it puts the labels text on two lines....no dice.Im programing on windows i tryed "\n" tryed "\r\n" , although they were recognized as special characters the didnt put the text after it on a new line, just continue it.So im wondering if its possible to even put a new line character in the text of a JLabel?
To test if the new lines work normally i did a System.out.print("this text should \r\n go on a new line");
and i got
this text should go on a new line
so im not quite sure whats going on..Im sure its simple i just dont know the answer.Any suggestions. thanks
National Research Council<br />Internet Logic Department