This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Don't get me started about those stupid light bulbs.
 
subject: JTabbedPane Not Showing Line Numbers
 
Similar Threads
putting screen output inside scroll bar
getting class file in java
Multipage print question need help
Why does my component not play nice with Netbeans GUI editor?
Layout Problem, Help Me Plz