Skip to main content

why taskPaneContainner.add( taskPane) is deprecated ?

2 replies [Last post]
szd116
Offline
Joined: 2012-01-05
Points: 0

what's the right way to add a collapsible pane ?

thank you.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mike__rainville
Offline
Joined: 2004-06-14
Points: 0

The add( ) method in JXTaskPaneContainer is deprecated because it was already available; it's inherited from Component.

Just suppress or ignore the warning, because when the deprecated method is removed the Component add( will handle the call.

kschaefe
Offline
Joined: 2006-06-08
Points: 0

The title and post are talking about different classes, so I'm not sure what you want exactly.

As to why add(JXTaskPane) is deprecated, there is no need for it, add(Component) works just as well.

Karl