It appears that if you declare your custom component (JPanel here) OUTSIDE of the main class for your gui, like so:
package views;
import java.awt.EventQueue;
...
class MyJPanel extends JPanel
{
@Override
public void paintComponent(Graphics g)
{
super.paintComponent(g);
}
}
public class SandboxToo
{
private JFrame frame;
private JPanel panel;
private MyJPanel myPanel;
...
Then your custom component will show up properly in the UI.
However, if you declare your custom class INSIDE the main class of your gui...
package views;
import java.awt.EventQueue;
public class SandboxToo
{
class MyJPanel extends JPanel
{
@Override
public void paintComponent(Graphics g)
{
super.paintComponent(g);
}
}
private JFrame frame;
private JPanel panel;
private MyJPanel myPanel;
...then your custom component show up in the designer.
Moreover, changing the location of your subclass from inside to outside the main class will actually require you to save and close the tab and reopen the tab for WindowsBuilder to reset itself and display properly. This is sort of a bug.
This entails limitations in your code, obviously, so there you go, good luck! :)