All,
Thanks for the excellent toolkit.
I noticed that if I pass null into the primary constructor of DefaultDockable then I get the default icon.
I was wondering if you could update the code so that if I pass in null for the title icon then it is cleared out.
aDockable = new DefaultDockable(aPanel, “Title”, null);
As it is, right now I have to do the following code to make the null go away.
aDockable = new DefaultDockable(aPanel, “Title”, null);
aDockable.setTitleIcon(null);
It is clear that if the user passes in null in the primary constructor that they do not want a icon, where as if they call one of the secondary constructors then the current default behavior is acceptable. Thus the behavoir should be:
aDockable = new DefaultDockable(aPanel, “Title”); // Should yield a Dockable with the default icon
aDockable = new DefaultDockable(aPanel, “Title”, null); // Should yield a Dockable with no icon
- Nobes