Newest 'windowbuilder' Questions - Stack Overflow

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.

0
votes
0answers
8 views

Installing window builder

I'm trying to install windowbuilder on eclipse From the link: https://download.eclipse.org/windowbuilder/latest/ It shows the names of the files ("WindowBuilder" and "WindowBuilder XWT Support") ...
-1
votes
1answer
24 views

Best way to display array list in window builder [closed]

What is the easiest and best way to display array list in window builder? I'm trying to create simple application to manage database. I have managed to create very simple version with text fields for ...
-1
votes
0answers
20 views

Get value from textfield in another window [duplicate]

I don't really know how to easily handle it. I have tried something like frame2.textfield2.setText(frame1.textfield1.getText()) but it's showing "component textfield is not visible" error. I have ...
0
votes
1answer
62 views

How could I get threads to run sperately from eachother? [duplicate]

I'm coding a program that if the incorrect answer is input, and the enter button is pressed, the background turns light red (Or pink, according to Color) for 2 seconds, then returns to its normal ...
0
votes
1answer
19 views

Check if there's an empty place arround a button

I am making an sliding puzzle game as my college project. The game concept is: you have a 3x3 table but with 8 buttons. When you click a button it have to move itself to an empty place. Is there any ...
0
votes
1answer
18 views

Want to create a column in a jTable that is a checkbox, but when running it is displayed as 'class java.lang.Boolean'

I'm trying to create a Jtable that takes displays SQL queries. I have inserted a column before the data is shows and I have set it to the Boolean class. When I run the code instead of showing ...
0
votes
0answers
27 views

Check if menuitem is pressed

I would like the GUI to do somethingn interacting with a menu item but i cant get it to work... i've tried actionlisteners n stuff but nothing... Using WindowBuilder in Eclipse IDE public menu() { ...
1
vote
0answers
33 views

How I can disable a button when clicked until the frame closed?

I want to disable the button after it gets clicked one time until the frame is closed by the user then the button gets enabled again I tried ((AbstractButton)evt.getSource).setEnabled(false); ...
0
votes
1answer
51 views

Displaying double as integer in textfield using action listener

Method for displaying number on button class JNumberBtnClick implements ActionListener{ public void actionPerformed(ActionEvent arg0) { JNumberButton sender= (JNumberButton)arg0.getSource(...
0
votes
2answers
46 views

Input method inside a Jframe?

I have some problem turning my Student Manager Program into GUI mode The Student class hold some information of a student public class Student { private String id,fullname,mark[],Subject,course[]...
1
vote
2answers
36 views

Passing a varable from a JFrame to another

I want to pass a variable from a JFrame to another when I'm pressing the btnCalculeaza button. Here is my code: JButton btnCalculeaza = new JButton("Calculeaza"); btnCalculeaza....
0
votes
0answers
10 views

How to capture the directory using button and pass that value to action of another button in Windowbuilder

I want to pass the string value in the action event of the button called 'Browse' to another action event of a different button. Here is what I have written, how can I pass the value of fullPath ...
0
votes
0answers
15 views

how to move to the next panel in the layeredPane, When clicking the next button

I am creating a stand-alone examination system java project using Eclipse. in the quectionory window, there is a layeredPane. under that, there are 30 panels. when I start the exam it shows the 1st ...
1
vote
0answers
40 views

Problems using Java Windowbuilder

I've been working toward making a Java program with a simple GUI. After a bit of research I decided on using the plugin Windowbuilder. I followed instructions online step-by-step to set up the program,...
0
votes
2answers
33 views

JTextField to remove characters automatically when overwritting selected

I'm working with Java and I have a JTextField which can only have 4 digits. I'm using a class that extends DocumentFilter to filter out any other character, and to limit the number of characters to 4. ...
1
vote
1answer
33 views

Class extending JLabel doesn't follow the layout of the container

I'm trying to create a Sudoku app in Eclipse using WindowBuilder. I decided to use JLabels as cells. I have a class Cell that extends JLabel and adds 3 fields - value, x and y. The Cells are places in ...
0
votes
0answers
21 views

How to open a WindowBuilder composite?

I try to write a simple HelloWorld java-window-builder-program. So I downloaded eclipse IDE, installed WindowBuilder and created a new "composite" called: "WindowBuilderWindow". But now I am puzzeled ...
0
votes
0answers
12 views

interaction between window builder gui and clases [duplicate]

I'm tryin to make interact windowbuilder gui with the logic of others classes , i want to read from a textfield and put in object of an Arraylist bly clicking a button, i did it in two ways, both of ...
0
votes
1answer
19 views

Problem using eclipse WindowBuilder and JCA-JCE methods

I'm doing an independent project by myself about encryption/decryption message using JCA-JCE and WindowBuilder as GUI. My problem is when the cipher has to encrypt the message and convert that in a ...
0
votes
0answers
51 views

Eclipse WindowBuilder can't change value

I am working with the Eclipse IDE for Java Developers 2018-12 (4.10) on Ubuntu 18.04 with the JDK 1.8 (202) on a Java project, I have installed WindowBuilder components for drag and drop designing ...
-1
votes
1answer
42 views

How to make a JTable resize as the windows does?

I'm making an application in eclipse with swing and jfreechart and I have the following problem: As you can see in the screenshot I have a frame with a few components. The problem is about the JTable,...
0
votes
0answers
8 views

Is it possible to scale down the windowbuilder resolution in the preview screen for easier editing?

In android studio the preview screen doesn't show the true scale. It scales the app's resolution down to 14% of its "original size" so it doesn't take up the entire screen. I am now beginning to ...
0
votes
0answers
28 views

Create a Chatbot Message GUI which can display text and images with Swing / WindowBuilder

Ok, how about this. My goal is still the same. I want to build a GUI for the communication with my Chatbot. The Problem ist, the Chatbot can reply with text and also with images. Text ist no problem ...
0
votes
1answer
30 views

JTable column titles not showing up even though I have a JScrollPane

I have been trying to make a simple game where a button pops up a window with player leaderboards, but after searching for a while and trying everything, my column titles are now showing up. The code ...
0
votes
0answers
38 views

How to make components change position and size according to the frame size?

I am using java windowbuilder to build a project for my schoolwork. I am having trouble with getting the components to change their positions, when the size of the main JFrame is altered.
0
votes
4answers
61 views

Swing Application window not showing changes

I'm making a java proyect using eclipse and the windowbuilder plugin. After finishing the logic I've created an Application Window and execute the project, everything is fine. But now i want to modify ...
1
vote
1answer
35 views

How to make a SWT window/shell and all the components on it adjustable?

So I have created windows/shells with buttons in an application but I want everything to resize when expanded and not to stay in one corner. I have used SWT and window builder to achieve this I used ...
0
votes
0answers
24 views

How i can fix my design preview in eclipse?

My design preview is black it was working fine and it happened suddenly, Code: I tried to comment out some lines as much as i can but still the same, when i hit test preview w/o running or if i ...
0
votes
0answers
31 views

How can I add a functional Java key listener to a panel under the card layout?

I was designing a program which has multiple layers(panels), and I want these panels to be keyboard sensitive so that I can press ESC to exit to the main menu (First panel) at any time. Here is the ...
0
votes
1answer
236 views

Eclipse WindowBuilder: Unknown GUI Toolkit/Cannot Resolve Imports when class file under src folder

On Eclipse (OS X) when I create a SWT/JFace Java Project, then create an Application Window Java class file I cannot seem to resolve org.eclipse.swt imports. On the other hand, if I create a SWT/JFace ...
0
votes
2answers
56 views

How can I add a JScrollBar to my JTextArea in Java window builder?

Okay, so, I am trying to add a scroll bar to my text area. I have noticed that in the window builder, there's an object called JScrollBar that I can use. I have already added it into my program, ...
0
votes
0answers
14 views

Using other components whilst calling code [duplicate]

I am using Window Builder to make an app, this is for a home automation system. I'm trying to refresh the application with data from my sql server, which is working fine, though i'm currently using a ...
0
votes
1answer
44 views

Getting error in WindowBuilder in Eclipse because digits are being shown in different language

WindowBuilder was not able to parse source lblNewLabel.setFont(new java.awt.Font("Tahoma", java.awt.Font.PLAIN, ११));. line: 29 Invalid digit (valid ones are 0..9)
0
votes
1answer
21 views

What does it mean when my jtextfield has “<dynamic>” written instead of the text I imported from a file?

I imported a String ArrayList from a file and I tried to write the first String (position 0) of the array in a JtextField. The word is not on the JtextField, instead of it, I have the word " dynamic " ...
-1
votes
1answer
56 views

Add a String Array to a JList

I'm trying to put my String Array in a JList but nothing happens. What am I doing wrong? JList<String> list = new JList<String>(); list.setBounds(22, 111, 190, 395); jpPanel.add(list); ...
-2
votes
1answer
33 views

How can I have access to the same object from different classes

How can I have access to the same object from multiple classes? I'm making a Java app for bookstore management using window builder, there are different types of users, and different panels for each ...
0
votes
0answers
300 views

cannot resolve java.awt and javax.swing import error

Trying to us windowbuilder in eclipse but generated code showing error in importing java.awt and javax.swing My goal is to create a simple mp3 player. was hoping to use window builder for gui but ...
0
votes
1answer
18 views

When the window shows up its minimized

so I've tried out eclipse's windowbuilder which i downloaded from here: https://www.eclipse.org/windowbuilder/download.php And i just tried to make a window with a button but when i launch it the ...
-2
votes
1answer
20 views

After run and close i cannot resize my gui anymore

I have been out for a while, not that i am a good programmer. But when i made an application window in eclipse (new--- other---WindowBuilder--swing designer--application window) this is the code it ...
0
votes
0answers
30 views

Making an Icon blink/flicker in a label, Java eclipse Windowbuilder

I'm very new here. I am trying to create a tachometer with Windowbuilder on Eclipse. Everything is nearly done, but i would like to have a warning light when my RPM is at max. Is there a way to let an ...
0
votes
0answers
43 views

Empty dropdown list in windowbuilder properties panel when using extended SWT class

I have been using my custom components for almost 5 years without problems but since I updated to the last version of eclipse & WB (photon & 1.9.1) I have this blank dropdown for every ...
-1
votes
1answer
95 views

Windows 7,8 or 10 like Java Calculator with WindowBuilder

So I have some kind of impossible task, atleast for me. We got the task to create a Calculator with the Java WindowBuilder that looks and functions like a Windows 7,8 or 10 calculator. I'm not asking ...
0
votes
1answer
123 views

Databinding Swing Eclipse beansbinding-1.2.1.jar WindowBuilderPro

I`m trying to make a new GUI with Databinding under Eclipse IDE with the WindowBuilder. First I added the beansbinding-1.2.1.jar to the project and got the Bindings Tab for the WindowBuilder. I ...
0
votes
1answer
87 views

Java SWT: 22 MB of runnable.jar file. ¿Is it possible to reduce the size?

I'm developing an application with Java SWT and WindowBuilder. I'm building with Eclipse and export to runnable .jar and I did organize imports before. Now I'm testing to generate the runnable .jar ...
0
votes
1answer
77 views

Clojure swing exception “No implementation of method: :children”

Learning how to make GUI with clojure by using swing library and eclipse editor. Currently I'm stuck with the trouble of executing my application via leiningen in eclipse. I make grid on Java and ...
0
votes
1answer
91 views

Unable to create JFrame even i installed Windowbuilder in my Eclipse IDE

I have already installed Windowbuilder in my eclipse IDE Mars it worked fine before, but after Eclipse latest changes i am unable to install windowsbuilder with the provided URL of specific IDE ...
0
votes
0answers
30 views

sqlite database can not be found in sqlite folder

I am creating an airline ticketing system on my mac and I made a SQLite database for random flight times to be shown on a Jtable after a button is clicked but when I go to the folder that the database ...
1
vote
1answer
66 views

Java SWT: Label width not changing after changing it's text

First of all, this is not a duplicate. I read a lot about this problem here in stackoverflow and applied all the proposed solutions (getShell pack, layout, getparent layout etc...) and none of them ...
0
votes
1answer
198 views

Java SWT: setSize() not working on Button control

I have an ArrayList of buttons, and I'm trying to set all the buttons the same size of the last button. This is my code: ArrayList <Button> buttons = new ArrayList<Button>(); Composite ...
2
votes
1answer
43 views

Java SWT: removeAll() in TABLE doesn't delete my buttons on the rows

I have a Table with 4 columns, and the fourth is filled with buttons with CHECK style. The problem is that every time I do a removeAll() for fill the table with other content, the buttons are not ...