WindowBuilder « JPanel « Java Swing Q&A





1. How to use WindowBuilder to edit a JPanel in an inner class    stackoverflow.com

I would like to use WindowBuilder in Eclipse to construct Swing GUIs. The JPanels I need to build will be inner classes in a non-GUI wrapper, like so:

public class MyWrapper extends ...

2. Custom JPanel with WindowBuilder causes crash    stackoverflow.com

I have designed a form using WindowBuilder Pro, part of the generated code is:

JPanel panel = new JPanel();
I'm trying to make my own JPanel, with paint method:
private class DisplayPanel ...