Problems with the visual editor of eclipse' WindowBuilder

Hello!

I am new both to eclipse' WindowBuilder with the visual designer and to JGoodies. I had trouble in my new Swing project with JGoodies and started to make a tutorial to get used to the environment. In the first example, I try to instantiate a button stack builder, but do not get the expected result.

I copied an example from the library with a small class that should be displayed in the visual designer of the WindowBuilder. I edit the code in the source view after I changed the properties of the rows and columns, and placed the panels so that the center JPanel is now a ButtonStackBuilder's panel.

The test code I wrote is attached as well as what I see in the visual designer. Can you tell me what should I do to see the button stack?

Thank you for your help!

Notice:
ButtonStackExample.java
eclipse-screenshot.png
What-I-get.png
ButtonStackExample-2-.java
LVL 1
Ahmet Ekrem SABANSenior IT consultantAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Ahmet Ekrem SABANConnect With a Mentor Senior IT consultantAuthor Commented:
I found an answer to my question myself. You can see the solution as an attachement. The button stack is not visible in the WindowBuilder, but it becomes visible when the code runs. (The example has a main method.)
ButtonStackExample.java
ButtonStackExample-display.PNG
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.