-6
votes
0answers
28 views

How can I write an algorithm to find out the actual number of required columns for the GridLayout ? [on hold]

I don't want to specify a specific number of columns. I want to write an algorithm that finds out the the number of required columns.
0
votes
1answer
17 views

Java editing batch file ECHO command

I've created a java GUI that executes batch files in order to easily and seamlessly command a serial com port device. try { Process p = Runtime.getRuntime().exec("toggleLed.bat"); } ...
1
vote
1answer
54 views

How can I move the image in GUI

How can I set the image in this GUI to the far right, if you run the code you will see that the image goes under the radio buttons and checkboxes, I want to move the image to the right so It doesn't ...
1
vote
1answer
37 views

Java FlowLayout in GridLayout

I would like to move the date to the top left corner but with the flowlayout row the panel elements goes to right without to the center. How can I modify the gridlayout to move those to the right ...
0
votes
0answers
26 views

Why is the gridbagconstraint not working

I have used a grid bag constraint, when I use the insets to add the spacing that works fine however when I use the gridx and gridy to set the position nothing happens. I just posted the entire code ...
-1
votes
1answer
38 views

JAVA GUI can't fix it [on hold]

I've created a JAVA GUI with 3 panels using a card layout. On the first panel are radio buttons, on the second panel are check boxes, on the third and final panel I am trying to add a collapsible java ...
-5
votes
0answers
48 views

How do I fix this GUI [duplicate]

I added a collapsible tree, which is a collapsible check box, but its not appearing on the third panel. This is the example code I am following: ...
0
votes
0answers
26 views

How to use Java in a Matlab GUIDE?

I'm trying to do a multi-line editbox uicontrol like explained here but I can't get this working in my GUIDE. function listbox_Callback(hObject, eventdata, handles) % hObject handle to ...
0
votes
1answer
12 views

How to bind tooltip display/activated property to focus event rather than the hover event in JavaFX2?

import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.Label; import ...
-1
votes
0answers
16 views

Android Eclipse UI messed up

My eclipse was running fine until yesterday when I installed CDT (thinking it would enable me do C/C++ projects). After CDT installation, eclipse restarted and my whole UI was messed. I uninstalled ...
10
votes
2answers
101 views

What are the pros and cons of using XML to transfer data in this Java program? [on hold]

I've been asked to write a GUI for an existing shell/cmdline program written in Java, and I want to create a layer of abstraction between the GUI and the original program that makes it easy to add a ...
-2
votes
0answers
35 views

Updating Java GUI information [on hold]

I have a Java GUI that is reading and writing information to a database. Is there a way to refresh the GUI so that it is updated every time an action is performed e.g. button pressed. String time = ...
0
votes
2answers
45 views

JPanel won't add the JLabel text?

class Gui { protected JFrame j = new JFrame("My First window"); protected JPanel p = new JPanel(); protected Container c; private GridBagConstraints g = new GridBagConstraints(); ...
0
votes
1answer
60 views

Java - dynamically generate Radio Buttons

Can someone give me some tips on how to dynamically generate nested radio buttons ? I never worked with radio buttons in JAVA, so before I start maybe I'll find some useful tips around here. I read ...
1
vote
1answer
45 views

Java JFrame gui - Why won't the buttons show up?

I've just started learning Swing/JFrame, basically making a GUI. I've been doing Java for a month now, just using the console, making a sin/true or false games and it is pretty easy for me now. I ...

1 2 3 4 5 311
15 30 50 per page