This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to put numbers beside a textpane? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to put numbers beside a textpane?" Watch "how to put numbers beside a textpane?" New topic
Author

how to put numbers beside a textpane?

Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118
hello.

i would like to ask, how to make a textpane somehow look like this one?



please help. i have no idea how to make this.
thanks.
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2204
    
    7
Text Component Line Number
Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118
Rob Camick wrote:Text Component Line Number


thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to put numbers beside a textpane?