|Exception after splitting GUI into several classes [message #756533]
||Mon, 14 November 2011 08:55
Registered: November 2011
I have created main form UI using WindowBuilder. Several text fields are being initialized dynamically from Spring Context, and in "Design" tab I have seen <dynamic> text in these fields - that's ok. At runtime they were initialized properly.
The problems began when I encapsulated part of UI in custom JPanel descendant. This panel exactly contains these dynamic fields, UI was not changed, just refactored. But now when I click on "Design" tab in main frame, I am getting a pink square in place of this panel with message "Exception during creation of..." . Details says that exception is java.lang.ClassNotFoundException: org.springframework.beans.BeansException.
I wonder (1) how to fix that , and (2) why it was not the case when I dealed with single class .
In order to workaround that, I tried to bypass the design time initialization using hidden code tags $hide>>$ , $hide<<$ - but WindowBuilder ignores them.
Many thanks in advance.
[Updated on: Mon, 14 November 2011 12:08]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02648 seconds