This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
getting class file in java
Multipage print question need help
putting screen output inside scroll bar
Layout Problem, Help Me Plz
Why does my component not play nice with Netbeans GUI editor?