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
Solved

Problems with the visual editor of eclipse' WindowBuilder

Posted on 2013-01-29
2
1,185 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

839 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