jonaumann wrote:What I mean by "deleting information" is that I saw that when that error ocurred Designer spend no time to parse any changes I made in the father-class that should be reflected in the child-class - but usually it takes a while for Designer to parse these informations, so I thought that maybe Designer stores layout-information in a cache or something that is not correctly updated.
If your parent class has an error of some sort, Designer won't be able to instantiate it, so none of the inherited controls will appear.
Designer only parses the class you are editing; it does not parse the parent class. The parent class is simply instantiated using its default constructor.
jonaumann wrote:The steps I took were:
1. Created a new rather complex JPanel (lets call it father-class)
2. Created a new JPanel that inherits from that father class. (lets call it child class)
3. changed layout related stuff in the father-class.
4. switched to child class, Designer spend no time to reparse anything, no errors in the log, just did not display any inherited component.
I tried the above several times, and it worked fine every time. All of the inherited controls were visible. In fact, every time I switched back to the parent class and made a change, that change was reflected in the subclass as soon as I switched back.
jonaumann wrote:It would be hard to provide a test case, because of the nature of the problem. If I send you the code, it will work, because for your Designer it will be the first time you open this class.
At the moment, I can't reproduce the problem you describe, so I am going to need some kind of test case. In your example above, if you switch back to the parent class and make a change, is it reflected in the subclass or not?