SUGGESTED FIX
Add some scruffy way to access the Component[] in Container. If we could get raw access to that then we could do whatever we want.
Could we do something REALLY scruffy with reflection???? I think we could.
steve.wilson@eng 1999-07-22
Actually, Hans (sane person that he is) pointed out we should more likely add a method to container that looks like this:
public void changeZorder(Component c, int newPosition)
This method could do all required shuffling. Actually, the trick is, if this were public the function would likely want to futz with the Layout and painting and such. We want a method to change the Z order, but not do any of that so we can do custom stuff. Hmmmm. More thought required.
steve.wilson@eng 1999-07-22
|