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.
274
questions
7
votes
3answers
14k views
Creating a chess board
One of my assignments was to create a chessboard. In this assignment I could not use an array, or a form of list or what not. Below is my code for the creation of the chessboard:
...
5
votes
2answers
219 views
“I'm Listening”
For this next assignment, my job was to create a GUI with a button that changes text and color when clicked, and a slider that updates a label (with a TitledBorder) ...
3
votes
1answer
93 views
Note Management Program
Good night everyone. I spent the last week or so building this pretty cool note management program written with JavaFX. . Buttons are the method used to switch b/w open documents, and the "notes" are ...
7
votes
2answers
84 views
Cancellable UI loader
I'm playing with async/await, but I have yet to discover a standard method to safely cancel an intensive task. I have tested the following, and it works exactly as intended, though I remain unsure if ...
5
votes
1answer
16k views
Simple JavaFX Calculator
I made a simple JavaFX calculator. It does basic calculations, and works to the best of my knowledge. However, I'm a novice at both Java and JavaFX, so I seriously doubt this is as efficient and clean ...
1
vote
1answer
118 views
Mod maker (creates XML files to be used as mods)
This code add functionality to a GUI designed using PyQt. It cannot run alone, but I can provide the code. I am not asking for someone to provide criticism for every single function written here, but ...
4
votes
1answer
121 views
Swift menu code
I want to know what do you think about the structure of this code. If you think that there is some structural improvement to be made, tell me!
Here is a github link: https://github.com/LucianoPolit/...
5
votes
2answers
1k views
Python3 command line chess
I have written command line chess in Python 3.4.3 and the code is included here. The chessboard is printed to standard output as a 2-D array; for now I only have ...
7
votes
3answers
578 views
Swing UI for database-to-Excel tool
I'm just wondering what is the cleanest way you can write your GUI/Swing code? Right below is the code I have for my main frame. Could you guys let me know if it looks clean/understandable, and if ...
3
votes
1answer
7k views
RecyclerView lags on scrolling
I'm having an issue where when the recyclerview has a big amount of items (say 2000) the scrolling is really laggy.
Here's the Fragment code:
...
4
votes
1answer
71 views
Create a Color Box Image GUI inside WEB
I have been working on a web application that produces an image out of colours. Having multiple divs works, but the load time is slow and until the image loads it's ...
9
votes
2answers
8k views
JavaFX eMail client
I've just finished up a functional emailing client in the Java language. It applies the JavaFX libraries and the ...
3
votes
1answer
3k views
Read decibel level from a USB meter, display it as a live visualization, and send it via FTP
This question was posed to me by someone in my university's athletics department who had a USB sound level meter and a simple Python script which printed the current sound level (he was provided with ...
4
votes
1answer
1k views
Seven-segment display GUI
I am building a GUI to display a digital clock face (four seven-segment displays), and I have a selector to switch between 12/24-hour formats. I have working code to show both formats, but it is messy....
7
votes
2answers
173 views
Pairing Labels with Images when building a UI
In a prototype 4X space game that I am working on recently, I have two different scroll panes to show the ships and the stars of the player. The ships are displayed in a vertical scroll pane on the ...
2
votes
1answer
105 views
Creating a pop-up dialog - follow-up
Link to the previous question, before refactoring.
I've decided to make this module of a dialog, sort of like talking to NPCs in games, like this for example.
I've creating the visuals of the window ...
1
vote
1answer
43 views
Handling 8 toggle buttons in a point-of-sale application
I am self-taught and trying to improve my programming skills. My project is a point-of-sale application, with lots of buttons. I am curious how improve this section of code, as I seem to be going ...
4
votes
2answers
6k views
Java Temperature Converter GUI
Today is my first time working with GUI, so I'm really interested in the best ways of handling various events to get the best habits from the jump. Most of the GUI-related code for this project was ...
4
votes
1answer
583 views
Creating pop up dialog window
I've decided to make this module of a dialog, sort of like talking to NPCs in games, like this for example.
I've creating the visuals of the window using the code from this post, works pretty well.
...
11
votes
2answers
235 views
Options, options, options. None for JavaFX?
I was looking through the JavaFX library, and I spotted that JavaFX DOES NOT HAVE A JOptionPane EQUIVALENT. (Or at least not in my version - as @Legato has said in ...
3
votes
2answers
906 views
Base classes for a GUI
I am creating a GUI library to better learn C++ and wanted to see if there is anything to improve/simplify.
And I also wanted to be able to call an event of a parent and then for it to iterate all ...
7
votes
1answer
10k views
Single-player Agario game
I made an Agario single player version (soon to become a multi player one using socket). What can be some improvements?
Controller:
...
8
votes
3answers
5k views
An alarm application in Java
I have programmed this alarm application in Java using JavaFX for the GUI. I'd like these questions covered in the review:
Is my code efficient? Can it be shortened?
Are there any flaws in my code?
...
4
votes
0answers
709 views
PowerShell GUI to display information about users
I have a GUI file which is currently being ran by VBS, but I have a few issues:
PowerShell v2 is what is being run on every machine and I cant change that, runs very slow on first time launch. it ...
1
vote
0answers
137 views
Carousel Like Navbar
I found this answer on stackoverflow:
https://stackoverflow.com/questions/18087088/using-arrow-buttons-to-scroll-window-horizontally#answer-18088332
and customized it.
It is designed to be a "...
5
votes
5answers
947 views
Car Savings Calculator
I've created a second 'calculator-like' program, this time using the JOptionPane rather than typing in the console. At the moment the code looks to have a lot of repetition so I'm looking to simplify ...
6
votes
2answers
295 views
Typing training with GUI in Python
This script allows you to practice your typing skills, as soon as you finish typing a new word appears for a non-stop typing experience. The code has in memory the top 100 words as per the Pareto ...
7
votes
1answer
2k views
Small Kivy application
I've written a small app using the kivy framework, which aims at reviewing your times tables. My major concern is about making this app easier to improve in the future. That is, how to organize the ...
8
votes
2answers
2k views
iOS Utility methods for UIView
Lately, I've been part of a team working on a utility library for iOS called Thundercats (on Github). We're about to start working on some changes and upgrades in preparation for a 2.0 release, so we ...
3
votes
2answers
1k views
Computing age in days with a graphical tool in Java
I was in the mood for doing some GUI coding, and eventually I came with this simple program: you enter a date, press the button, and the program tells you temporal difference in days between the input ...
5
votes
1answer
35k views
Calculator in Java using JFrame
Today, I made a calculator in JFrame. The code is a little long but I'm still a beginner to Java. In the future I'm going to do some improvements on it, but here it is right now.
This is the meat of ...
10
votes
1answer
12k views
Tkinter GUI for making very simple edits to pandas DataFrames
It is part of a separate application that allows users to interact very loosely with different databases and check for possible errors and make corrections.
...
8
votes
2answers
87 views
Take These Buttons Back
I created a side bar of buttons for my game, the idea being that if you click on the "main" button of the group, the rest of the buttons in the group would pop out from the side of the screen.
Later, ...
10
votes
2answers
1k views
Tic Tac Towards FX
I'm planning on taking on this community challenge. However, before my tics get tactical, I'd appreciate some feedback on the simpler implementation.
Screenshots:
Factoring in all the logic/edge ...
12
votes
1answer
720 views
Fractal rendering fun time
I wrote up a script a while back to let me play around with fractals. The idea was to have direct access to the script that creates the fractal. None of that close, edit, then run hassle; just edit ...
2
votes
0answers
868 views
jQuery plugin for dynamically sticky headers and footers
I am creating a jQuery plugin to be used to stick the headers and footers of tables (or other list data) to the top and bottom of the viewport while scrolling. (i.e. scrolling down the page, the ...
3
votes
1answer
2k views
Pythagorean Theorem Calculator
My code seems a bit sloppy to me, but I don't know how to improve it to make it cleaner and more understandable. I'm just learning Python, as well as Tkinter. I figured a Pythagorean Theorem ...
11
votes
2answers
539 views
What makes a hero?
This is a simple program meant to show how dynamic JavaFX is. It moves one list item to another and back without having to update the screen directly, thanks to the Observable Collection classes. It ...
7
votes
1answer
2k views
2
votes
0answers
69 views
Knowledge Catalogue
All that the program does is query a database that I have setup, when the user selects the returned fields, which are populated based on the selection of the field above it.
The application is ...
9
votes
2answers
3k views
GUI 'simple notepad'
Please give feedback on all aspects of the code, whether it be the commenting, usage of methods, semantics or anything that can be improved.
This code looks flawless to me, so any suggestions for ...
3
votes
1answer
7k views
OOP TictacToe with Tkinter
This is my implementation of a Tic Tac Toe game with Tkinter GUI. So far I've set up the game to play with another player. For an interview coming up, I am suppose to build additional feature such ...
3
votes
1answer
3k views
General purpose input validation GUI
I decided to build a GUI that would seemlessly create user interfaces for validation functions, functions that check if a string satisfies given rules.
An example '...
3
votes
1answer
18k views
Python TKinter data entry window GUI for SQLITE3 table
I would like to offer for review a simple tkinter GUI window in Python 3 to be used for data entry into an SQLite database table. As a noob, this is my first attempt at OOP and my first experience ...
6
votes
1answer
158 views
Separating Cats and Dogs
I'm writing an animal shelter program, which keeps a database of different classes of animals (dog, cat, monkey). Functions that create the form and add the animals are very similar (difference is two ...
0
votes
1answer
766 views
Extending ProgressBarUI for modifying the look of a JProgressBar in Java
I have this visual mod for a javax.swing.JProgressBar:
...
5
votes
1answer
451 views
Replicating a file system
The goal of this is just to practice. I went off on a self-challenge to replicate something(So the names of the parts can be ignored), I'm not done yet (Though what is here is fully runnable), but ...
3
votes
1answer
88 views
Simulating a GUI windowing system - follow-up
The previous and initial iteration at Simulating a GUI windowing system
I have essentially cleaned the code based on the only answer.
Now I have:
MyCanvas.java:
...
5
votes
1answer
4k views
Embarking on a Tic Tac Toe journey with JavaFX
On my educational trek through the capabilities of JavaFX, I thought it would be a valuable challenge to create Tic Tac Toe. It took me far longer than expected to get this far, but despite likely ...
5
votes
2answers
294 views
Strategy Game Menus and OOP
Most of my experience is with Objective-C, so I am relatively new to Java inheritance. I understand that there are concepts such as abstract classes and interfaces, but I am still not totally sure ...