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
2
votes
1answer
116 views

HTML5 sidebar syntax

I am trying to learn how to write clean HTML5 code and I came across a sidebar. I need to get something like this: My code: ...
2
votes
1answer
754 views

Displaying “tooltips” in Highcharts

I have the following piece of code: ...
10
votes
1answer
315 views

Pillow-based basic GUI library for an LCD

I am working with an LCD screen and an RPi. The library I use sends 1-bit images to the screen, so I wrote this library based on Pillow to help developing the on-screen GUI. I am playing with the ...
4
votes
1answer
2k views

Display a simulation using Tkinter

I wrote a module to simulate physics of 2D elastic balls and the community helped me to improve it on this post. Now I implemented a GUI using Tkinter to display the simulation in a window. I'm a ...
4
votes
1answer
217 views

A little advanced mouse clicker in Bash for Linux

My today's goal was to create a little advanced mouse clicker in Bash for Linux powered by xdotool. This clicker implements 15 pixel random range in which it clicks ...
5
votes
1answer
387 views

Tkinter File Removal Program

This was my first foray into a Tkinter app and so I chose a simple and certainly overkill task to make into a gui. Aside from one small aspect, this code functions as I was intending and seems to ...
1
vote
1answer
4k views

Improving GUI update call from a worker thread in winforms

I have a winforms app and I've been using the following approach to update controls on the main form from worker threads: GamepadManager class has: ...
1
vote
1answer
104 views

Java application processing GUI input when “Done” is clicked

Right now, I've got this really ugly loop in my code that waits for a boolean to be true before the method can return. It's triggered when "Done" is clicked. I'm ...
2
votes
1answer
196 views

Pen-and-Paper Dice Roller Tool

A friend asked me to write a pen-and-paper dice roller, so I put this together. I'm still pretty new to Java Swing, so I was hoping I could have some advice on how I handled the layouts and everything,...
3
votes
1answer
1k views

Custom GUI Slider class

I want to improve my slider class as much as possible. Is this acceptable code for a slider? I've tried to comment as much as I can. If you want to find out more about the ...
6
votes
1answer
529 views

Login UI for an Android app

This code starts a new thread for login and reacts according to the JSON result returned by the server. I think this code has too many conditionals, exception handlers, and nested functions. ...
4
votes
1answer
570 views

Controlling a robot arm in a Java GUI program

I have this funny program for playing around with 2D vectors: Vector2D.java: ...
6
votes
2answers
5k views

Extremely Simple Paint Program in Java

I have written a very basic paint program in java using AWT and Swing. I have separated the program into two different class files; one of them holds the JFrame and ...
3
votes
0answers
81 views

Event delays for a Monogame project

I am making a GUI for my C# Monogame project. So since this was the first time I ever made a GUI that is not winforms-based I took a wrong approach in making it and thus I decided to change it ...
6
votes
2answers
159 views

Showing object's data on GUI and HTML without accessors and mutable objects

I have been searching for a solution to show data of class with three assumptions: Class Employee is not responsible for showing itself Class ...
4
votes
1answer
315 views

Application for encrypting and decrypting files in Java - follow-up

(Everything needed for running the app is here.) I have refactored my previous version a bit. App.java: ...
4
votes
1answer
4k views

Application for encrypting and decrypting files in Java

(See the next iteration.) I have that application for en-/decrypting files. Here, I will post the actual GUI and command line code. In order to run the program refer to this GitHub repository. Some ...
2
votes
0answers
5k views

Nice GUI for the sudoku solver in Java

I have implemented a GUI for my sudoku solver: You can use mouse for operating it, yet I have coded moving the cell cursor with keys wW/aA/sS/dD. My code follows: ...
7
votes
3answers
10k 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
215 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
81 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
12k 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
85 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
118 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/...
4
votes
2answers
784 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
534 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 ...
2
votes
1answer
6k 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
68 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
6k views

JavaFX eMail client

I've just finished up a functional emailing client in the Java language. It applies the JavaFX libraries and the ...
2
votes
1answer
2k 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
780 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
172 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
103 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
42 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 ...
3
votes
2answers
5k 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
515 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
217 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 ...
2
votes
2answers
714 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 ...
5
votes
1answer
9k 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
4k 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
639 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
116 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
940 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
275 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
1k 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
1k 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
29k 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
8k 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. ...