Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem on extending an extended class

 
Shay Gaghe
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have to use a scrolled list several times among my program so I create a class named ScrolledList that extends Jpanel and an inner class that extends ScrolledLIst.
The problem shows up when I�m trying to add an item inside the inner class, the code pass compilation, it even enter the addItem() but its dont add item
What I�m doing wrong(code example please)?

here is the class i use whenever i need this scrolled list:

what im doing wrong(code example please)?
Thanks

[This message has been edited by Shay Gaghe (edited October 05, 2001).]
 
kim jungil
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
//try this


[This message has been edited by kim jungil (edited October 15, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic