Hi all,
My use case is the following:
I design a standard JFrame called for example "BaseFrame" and ALL my application frames inherit from it.
BaseFrame defines a protected "SpringLayout" layout into its constructor and all components are corrected aligned ....
Now when i try to design a new Frame that inherits from BaseFrame (for example "Frame1"), the ancestor components are NOT aligned correctly.
Again, if i try to add others components on Frame1, the designer automatically add a new instance of layout .... so its components are aligned correctly .... but the ancestor components not .......
So two comments and a question:
1) If a frame inherits from a custom JFrame, it must correctly recognize all ancestor "protected" objects, including layouts.
2) Could be very interesting the possibility to set in an Option Pane the default scoping of Swing components. In my case (but i think that this setting could be the best default for all users....) i need to set "protected" ... so all inherited frames can point ancestor components.
3) When i define a swing component as "protected" and i try to change its name ("variable" bean property), designer display this message: "Filed..... is not private; use Refactoring commands to rename. ...... WHY so complex ?
Regards.
Nicola.