It's not a secret anymore!*
The moose likes Java in General and the fly likes Problem on extending an extended class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem on extending an extended class" Watch "Problem on extending an extended class" New topic
Author

Problem on extending an extended class

Shay Gaghe
Ranch Hand

Joined: Sep 03, 2001
Posts: 102
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

Joined: Sep 27, 2001
Posts: 27
//try this


[This message has been edited by kim jungil (edited October 15, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem on extending an extended class