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.
1
vote
0answers
14 views
GUI in Tkinter to log events for a web-scraper
I'm creating a GUI with tkinter that will handle starting/stopping/and logging events for a web-scraper (scraper not created yet).
The current code is working... but I've been gathering my ...
1
vote
1answer
73 views
Android RecyclerView holding rows of razzles
I have a RecyclerView that works and everything, and this is how I coded it:
...
1
vote
1answer
50 views
File-copying Manager
I have the following java class which has many private variables and methods:
...
1
vote
0answers
35 views
Customized JPanel desing pattern
This is an example of the Java Swing application I've wrote. I'm trying to follow the first Effective Java items. I wrote some classes similar so I've posted only this class for the review.
...
4
votes
1answer
48 views
Swing Game EyeHandCoordination
Question copied from the book:
(Game: eye-hand coordination) Write a program that displays a circle
of radius 10 pixels filled with a random color at a random location on
a panel, as shown in ...
2
votes
1answer
41 views
Simple PyQt5 counting GUI
I just began learning how to use signals and slots in PyQt5, and so I made a cute (pun intended) little program to display just one button. When the button is pressed a thread is spawned which will ...
3
votes
1answer
64 views
GUI Elements for pygame games
I've been making games using the Pygame module recently. I've noticed that Pygame has no builtin GUI elements. To save time for me (and hopefully other people), I have created some very simple GUI ...
0
votes
1answer
32 views
Highlight Two Closest Points Java Swing
Question from the book:
(Geometry: closest pair of points) Write a program that lets the user click on
the panel to dynamically create points. Initially, the panel is empty. When a
panel has two or ...
5
votes
1answer
46 views
Populate Comboboxes with Hashtables using PowerShell
Background
This is a PowerShell program that uses XAML code from Visual Studio to create a GUI. In this program, there are various Comboboxes (Drop-down menus) used to select different features of ...
1
vote
0answers
328 views
Expandable tableView cells
What I wanted to achieve is tableView with clickable cells, anytime somebody click a certain cell, another cell with picker, UITextField etc appears below, it's like a dropdown menu.
When browsing ...
2
votes
1answer
39 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
102 views
9
votes
1answer
76 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 ...
3
votes
1answer
152 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
82 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 ...
4
votes
1answer
51 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
107 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
66 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
63 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
70 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
500 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
89 views
Controlling a robot arm in a Java GUI program
I have this funny program for playing around with 2D vectors:
Vector2D.java:
...
4
votes
1answer
101 views
Extremely Simple Paint Program in Java (Tips for making it run smoother?)
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 adds a custom panel (this custom ...
3
votes
0answers
62 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 ...
5
votes
2answers
115 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
101 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:
...
3
votes
1answer
278 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
232 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 ...
7
votes
3answers
159 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
192 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
65 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 ...
6
votes
2answers
74 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
1k views
Simple JavaFX Calculator
Good day everyone, 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 ...
1
vote
1answer
69 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
86 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
134 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
205 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
785 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
55 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 ...
8
votes
2answers
1k 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
210 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 ...
7
votes
2answers
164 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 ...
1
vote
1answer
422 views
A simple Analog Clock
I'm implementing a graphical representation of an "analog clock" with moving hands (seconds, minutes and hours), using mainly2 FLTK facilities and the function ...
2
votes
1answer
90 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 ...
1
vote
1answer
41 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
674 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
113 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
108 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
90 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
6k 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:
...