aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTabbedPane Not Showing Line Numbers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane Not Showing Line Numbers" Watch "JTabbedPane Not Showing Line Numbers" New topic
Author

JTabbedPane Not Showing Line Numbers

AnandRavi Kiran
Greenhorn

Joined: Aug 18, 2005
Posts: 1
Hello

I have a problem where I need to add Line Numbers to TextArea which is set to a JTabbedPane.

I am able to add the line numbers to a TextArea. However when i add the line numbers to a textarea which is added to tabbedpane...line number does not get displayed.







This is how i add the line numbers
LineNumber lineNumber = new LineNumber(fileScrollPane);
lineNumber.setPreferredSize (9999);

LineNumber.java



Thanks in Advance
 
wood burning stoves
 
subject: JTabbedPane Not Showing Line Numbers