In my constructor, I have the following code:
- Code: Select all
org.jdesktop.application.Application.getInstance().getContext().getResourceMap(QuickConnectPanel.class).injectComponents(this);
If I run the program, everything looks good, but my resources don't show up in the Designer. I noticed that resource injection seems to show up for my class that subclasses SingleFrameApplication, but I don't have to call injectComponents explicitly there.
Is there a way to get resource injection to show up in the Designer? Or am I doing something wrong?