File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTabbedPane Not Showing Line Numbers