My program has a problem.. It is WordWrap is abled...
Exactly, I want to use linwrap but i don't want wordwrap...
I searched this
JTextPane textPane = new JTextPane();
JPanel noWrapPanel = new JPanel( new BorderLayout() );
noWrapPanel.add( textPane );
JScrollPane scrollPane = new JScrollPane( noWrapPanel );
When i use this code, Both linewrap and wordwrap are disabled....
I want to make use linewrap....
sorry my terrible English skill... I believe you can get what i mean please help me...