Solved

Problems with the visual editor of eclipse' WindowBuilder

Posted on 2013-01-29
2
1,212 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:Ahmet Ekrem SABAN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
Ahmet Ekrem SABAN 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

617 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