A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Swing / AWT / SWT
extending classes with inner classes
Joined: Jul 18, 2003
Jan 24, 2005 19:03:00
Not sure if this belongs here or in intermediate Java...
I have a class RunPanel which extends
. It contains several inner classes for a TableModel etc. In fact, the inner class tableModel contains it's own inner class ColumnData.
What I want to do is extend RunPanel with two descendants. These descendants will need to over-ride methods in the inner classes of RunPanel and its inner classes ColumnData.
How should this be done? My RunPanel class seems fine, it's just hard to extend. do I have to break out the inner classes into classes of their own?
ms<br />SCJP, SCJD
subject: extending classes with inner classes
nested static class
Problem with swing GUI due to lengthy code running in background.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014