Questions tagged [gui]

Graphical User Interface development for applications or web sites. This tag should usually be combined with other tags specifying the programming language, platform or framework, if applicable.

Filter by
Sorted by
Tagged with
5
votes
1answer
4k views

GUI design in Java Swing

I am developing a GUI using Swing, but before my project gets too complex. I would like to have a good design structure. I have a few ideas and will use a simple example to illustrate. Some feedback ...
2
votes
1answer
796 views

Pausing and Manipulating Data in a Process with a GUI [closed]

I think I have fixed the issues which caused this program to not be functional. Now I believe the design of my code is somewhat bad and may be causing problems with the number of processes that are ...
11
votes
3answers
5k views

WinForms dice roller

I am writing a dice roller winforms application using C# 2012 VS. Dice roller is set up for playing Shadowrun tabletop. I feel that there might be too much code going into the GUI, but I am unsure ...
3
votes
2answers
5k views

Java Bouncing Ball Review

Just looking for some help reviewing/refactoring. For example, could the classes random/vertical be refactored into 1 class instead of 2? BouncingBalls.java ...
4
votes
1answer
639 views

GUI layout for a security camera app

I'm designing a security camera program. Right now, I am just trying to set up the GUI before receiving. I am using Kivy since, in the future, I plan on designing some programs for Android. I really ...
3
votes
1answer
502 views

Simple GTK GUI for the command line program auCDtect

I'm trying to write a simple GTK GUI for the command line program auCDtect. It is supposed to take .flac files, convert them to .wav temporarily, pass the to the auCDtect command line program to check ...
1
vote
4answers
3k views

Eliminating global variables in GUI program

I'm just getting started on GUI programming using swing in Java, and I would love some critiques on my code. I understand there is a danger in using global variables. If someone can hint me on how to ...
3
votes
1answer
3k views

Graphical Tic-Tac-Toe game using SFML

First of all, I'm really new to SFML and making GUIs. This is my first real program using this. Right now, when I click outside the window when the program is first run, the first piece is placed in ...
1
vote
2answers
6k views

Nested layouts - BoxLayout inside BorderLayout

I have this code: ...
7
votes
1answer
5k views

Student administration application

I have set up a basic MVC project which is a student administration application based upon a CSV file as datastore. Each user has a specific role (student, lecturer, professor, leader of degree ...
1
vote
1answer
38k views

Simple chat room Swing GUI

I need somebody to review and polish my GUI code for my very very simple chat client. I haven't built any of the server sockets, so I'll do that later, but for now I just want people to tell me how ...
3
votes
1answer
9k views

Account-creation program

I just finished a program that is a simple Swing GUI. It takes in user info, such as password and username, turns them into strings, and puts them in a text file called nuserInfo.txt. I just want ...
4
votes
1answer
3k views

GUI system in PyGame

I'm making a GUI system in Python for game development with PyGame. Right now I have a button that changes colors when you hover and click on it. My question is, is this code well designed or can it ...
3
votes
5answers
515 views

Prompting a user to save and regenerate some entries in a file

I want to remove my goto's in this code but I'm not sure how. There must be a cleaner way to write my code. Perhaps move the "if" statement to the end of each loop then use break? Sorry if this is a ...
11
votes
2answers
15k views

Tic Tac Toe game GUI

I'm a code banger from way back trying to learn good Python style. Here is my attempt at the classic game. I'm trying to learn Tk, because I have a couple codes that need GUIs. Any suggestions or ...
5
votes
3answers
505 views

Readable code with many components (Swing)

Please help me to make more readable and simple code like this. What if I had 20 components? Is it right to organize code like this? ...
5
votes
1answer
355 views

Ideas for reducing repetition in control binding

I have seven checkboxes on a data maintenance WinForm, which indicate the days of the week that are "valid" for a particular operation to be performed. These "map" to a list of DayOfWeek enum values ...
25
votes
2answers
7k views

QJsonView: A QWidget-based json explorer for Qt

I'm developing applications using Qt which highly make usage of the JSON language to communicate, store and load data of different types. I often need a simple viewer similar to the Firebug JSON ...
3
votes
1answer
3k views

Custom dropdown menu using jQuery

I have written a custom drop down menu handler using jQuery because I felt that the native drop down didn't fit my UI. I have taking into consideration the native way of going through a drop down box ...
5
votes
1answer
7k views

Python Sudoku GUI

This code implements a data structure for representing a Sudoku board, a very simple algorithm for setting up the board, and a GUI written in tkinter(requires tkinter and tkinter.tix). ...
6
votes
5answers
2k views

Anonymous Classes for Listeners

While working with Android GUI my approach to adding Listeners for GUI elements is usually: ...
2
votes
2answers
634 views

Sudoku boxes count JavaScript

I'm creating Sudoku in JS but can't find the way to extract the numbers from the squares. The numbers from the rows and columns are easy to extract but I can't find the way around the squares. ...
4
votes
1answer
10k views

Putting items next to each other

I want to put some text next to its label (both of which are text blocks - which are faster than labels as I understand it). The best way I've found for doing this is a stack panel. I have (repeated ...
13
votes
2answers
822 views

Setting up radio button click ActionListeners

Instead of writing four almost identical setOnClickListener method calls, I opted to iterate over an array, but I'm wondering if this was the best way to do it. Do ...

1 2 3 4 5
6