I would like to use WindowBuilder in Eclipse to create Swing GUIs. The JPanels I need to build will be inner classes in a shell without a GUI, for example:
public class MyWrapper extends MyBaseClass { ... class MyPanel extends JPanel { ... } }
So my question is this: can I create a MyPanel using WindowBuilder? If so, how do I configure it?
If anyone is interested, the shell is an abstract base class, which the extension modules that I develop for my application should expand; deployment problems mean itβs not very practical to host GUIs in a separate JAR, so I pretty much need to do this.
My current workflow, which is terrible, is to create a GUI in NetBeans and insert the entire generated class into Eclipse, where I connect it to the methods in my wrapper. I really hope that WindowBuilder will allow me to work more reliably and efficiently if I can trick it into generating code in MyPanel, and not MyWrapper.
thanks
source share