Solved

Problems with the visual editor of eclipse' WindowBuilder

Posted on 2013-01-29
2
1,172 Views
Last Modified: 2013-02-05
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
0
Comment
Question by:sae1962at
2 Comments
 
LVL 1

Accepted Solution

by:
sae1962at earned 0 total points
ID: 38854256
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now