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.
2
votes
0answers
46 views
Confidential Sign-In in Java
I was requested to make a Sign-in program for the LGBTA Center at my university. They wanted something where anyone that came by and visited could leave their name and email, but also so that no one ...
3
votes
1answer
37 views
Simple JavaFX app pops-up reminders on schedule
My employer gave me a sit-stand desk, but I was forgetting to use it: I just sat almost all day. So for fun and learning I wrote a simple JavaFX reminder app to remind me to alternate between sitting ...
3
votes
2answers
43 views
GUI implementation with Racket
I am studying the book Realm of Racket.
On chapter 5, there is a challenge:
Find an image of a locomotive. Create an animation that runs the locomotive
from just past the left margin to just past ...
3
votes
1answer
123 views
Simple Employee Records Program
I am a beginner Java programmer. I have just finished up an assignment and would appreciate some advice and/or criticism on my program. For context, I have the assignment details, followed by the full ...
2
votes
1answer
46 views
Tortoise Helper Program
Recently, the following code was written to help automate some processes that are typically executed while working with a Mercurial database. What is shown below is basically a first draft of the ...
1
vote
0answers
50 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
91 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
37 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
52 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
103 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
74 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
37 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
61 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
675 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
47 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
155 views
9
votes
1answer
88 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
213 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
90 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
54 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
143 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
70 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
77 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
77 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
504 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
108 views
Controlling a robot arm in a Java GUI program
I have this funny program for playing around with 2D vectors:
Vector2D.java:
...
5
votes
1answer
165 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
129 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
117 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
424 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
356 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
303 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
196 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
67 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
2k 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
71 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
90 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
149 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
230 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
1k 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
56 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
2k 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
273 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
168 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
641 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
93 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
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 ...