aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Line Spacing in jTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Line Spacing in jTextPane" Watch "Line Spacing in jTextPane" New topic
Author

Line Spacing in jTextPane

Ron Ingram
Ranch Hand

Joined: Mar 11, 2011
Posts: 63
Where do I place this code:




I've tried playing with it all night and can't figure it out. Here is my swing code:


Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19760
    
  20

Can you please condense that into an SSCCE (click the acronym). For one, it's too long now. We also can't test it because it includes some imports that aren't from the JSE API.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ron Ingram
Ranch Hand

Joined: Mar 11, 2011
Posts: 63
My apologies.. I forgot that netbeans obfuscates much of the rendered code when you use the gui builder.

Thanks for the link. I actually was able to figure this out and will mark as complete.

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19760
    
  20

Would you like to share your solution? (But only the relevant parts of course )
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Line Spacing in jTextPane