Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTabbedPane Not Showing Line Numbers

 
AnandRavi Kiran
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic