Questions tagged [windowbuilder]

For questions about using WindowBuilder which is a Java GUI WYSIWYG visual designer plugin for Eclipse. WindowBuilder is composed of SWT Designer and Swing Designer.

WindowBuilder is a powerful and easy to use Java GUI designer that makes it very easy to create Java GUI applications without spending a lot of time writing code to display simple forms. With WindowBuilder you can create complicated windows in minutes. Use the visual designer and Java code will be generated for you. You can easily add controls using drag-and-drop, add event handlers to your controls, change various properties of controls using a property editor, internationalize your app and much more.

WindowBuilder is built as a plug-in to Eclipse and can also be used with the various Eclipse-based IDEs (RAD, RSA, MyEclipse, JBuilder, etc.). The plug-in builds an abstract syntax tree (AST) to navigate the source code and uses GEF to display and manage the visual presentation.


Related links:

646 questions
-1
votes
1 answer

How to Insert Data from TextFields into SQLite Database?

I have a form that in my application, needs to be filled out and what is typed inside needs to be inserted into a .sqlite table named BookJ. Here is a sample of my code, I used a method that I learned previously, but instead of getting what I want…
-1
votes
1 answer

How to Drill Down to a JList within a JScrollPane from another function

I am creating a JList like so: JScrollPane scrollPane = new JScrollPane(); scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS); GridBagConstraints gbc_scrollPane = new GridBagConstraints(); gbc_scrollPane.insets =…
Z. Reticulan
  • 145
  • 4
  • 11
-1
votes
1 answer

How can i enlarge a Jbutton from the center when it's hover?

How can i enlarge a Jbutton from the center when it's hover? I use the method setSize(), but the button enlarges to the right and down. I'd like to make it enlarge to all the directions. The JButton is in a JPanel with a flowLayout. Thanks
-1
votes
2 answers

Why is JButton opening an empty frame instead of calling PMotion class?

I have two java files (classes) PMotion.java and Menu.java. Menu.java has a button. When I press that button, I want it to dispose the current Menu.java frame and go to the PMotion.java class. As you can see in the file Menu.java, I have new…
Programmer
  • 1,266
  • 5
  • 23
  • 44
-1
votes
1 answer

How to use JButton to go to another java file (another class)

I have two java classes: Menu and PMotion. The Menu class contains a JButton as shown below. When this JButton is pressed, I want it to go to PMotion.java How to achieve this? Menu.java public void actionPerformed(ActionEvent e) { // Here I…
Programmer
  • 1,266
  • 5
  • 23
  • 44
-1
votes
2 answers

How to hide a JFrame but then open it when the message box closes

I'm trying to create a MessageBox Creator. I Have tried to hide the Creator when the Message Box Opens and then show when the Message Box Closes. I am using the following plugins for Eclipse Neon: WindowBuilder Swing Designer to help me create the…
-1
votes
1 answer

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a window to a container

We have been doing this program for our school project and ended up getting: Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a window to a container and the ff errors too: at…
user5336940
-1
votes
1 answer

Eclipse WindowBuilder - text doesn't fit the JLabel

I've created a custom JPanel, added JLabel and type some text in it, and made the JLabel as small as possible, so that the text fits it. I'm using the absolute layout. However, when I use it in my JFrame, the text no longer fits the JLabel, even…
user5539357
  • 1,024
  • 1
  • 9
  • 19
-1
votes
1 answer

How to make a JButton run 2 commands?

I am coding a GUI quiz and I want it so that when I press "Start" It opens a new window which will be the start of the quiz <--- (Accomplished). I also want the other page I clicked "start" on to go away so there's only 1 window open when doing the…
-1
votes
1 answer

Dynamic amount of entries in GUI using java

I'm working on creating a basic user interface and I wanted to try and create a portion that is in a scrollTaskPane and is capable of holding multiple entries. As I'm going about creating it I can obviously test it with a simple amount of entries…
-1
votes
1 answer

JTree coloring selected node

I saw a lot of postings & questions regarding the coloring issue of the JTree. But I did not find any solution for my specific problem. I want to select a node and highlight it in case of clicking one my self-made activate button and undo the…
Synaps
  • 323
  • 5
  • 14
-1
votes
1 answer

How can I sort?

I am trying to create a program that will take orders from the user. My problem is that I cannot sort the foods alphabetically because I have 3 separate list boxes, 1st list box is for the name of the food, 2nd for the quantity of the food, and the…
-1
votes
3 answers

Java: client/server issues

the actual question is: Develop a client/server application that calculates the pay for employees. Some employees are permanent and others are casual. Permanent employees have a set annual salary and are eligible for sick leave and annual…
CaseyT
  • 15
  • 1
  • 7
-1
votes
1 answer

Eclipse 4.3 + WindowBuilder hangs while saving workspace

Eclipse 4.3 (Kepler) with installed Plug-In WindowBuilder (from http://download.eclipse.org/windowbuilder/WB/integration/4.3/). Causes freeze while saving at ~ 60%. Components used: JFrame, JLabel, JTextField, JButton, JTable(with Models),…
Bergi9
  • 1
  • 3
-1
votes
1 answer

Create swing buttons that fill their parent

I'm using WindowBuilder in Eclipse Indigo to get a handle on the different layouts. Basically I'm just trying to gain a thorough understanding of how each one works and which are best for different scenarios. The below code works, but there are a…
NickAbbey
  • 1,201
  • 2
  • 10
  • 17