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.

learn more… | top users | synonyms

3
votes
0answers
17 views

How can i make this Java GUI 'Simple notepad' better?

Please give feedback on all aspects of the code, weather 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
46 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 ...
2
votes
1answer
24 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 ...
0
votes
0answers
150 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
87 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
0answers
67 views

Extending ProgressBarUI for modifying the look of a JProgressBar in Java

I have this visual mod for a javax.swing.JProgressBar: ...
4
votes
1answer
71 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
38 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
230 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
143 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 ...
7
votes
1answer
139 views

Lambdas will guide you home, CSS will ignite your code, Java I'll try to FX you

I've been learning JavaFX and wanted to recreate Simple calculator implemented with lambdas. It's also my first time using CSS, whose capability has convinced me of the wonders and appeal of JavaFX ...
1
vote
1answer
71 views

Simple GUI animation in Java

I wrote a simple animation of a ball moving across the screen. I was wondering if I used the static variable correctly. If not, how could I make it non-static so I ...
4
votes
1answer
162 views

Number-guessing game with simple GUI

This is my second program in Python. I am aware that globals are a bad idea, but that is what I have learned so far in my course. Right now the program is doing what it's supposed to do, my only ...
7
votes
3answers
146 views

Notifying the UI that Issues Were Found

Our Rubberduck VBA IDE Add In does some static code analysis, and then reports all of the found issues back in a gridview. This analysis can take a long time for larger projects and the UI appeared to ...
7
votes
2answers
130 views

Simple calculator implemented with lambdas

I was searching for a way to exercise the Java 8 concepts I've been learning, especially pertaining to Lambdas. Incidentally, I hadn't used any swing in a while and wanted a refresher. This is the ...
6
votes
2answers
263 views

Beginning calculator program

I am a beginner in Java and programming at all. I decide to try to write a calculator, as a my first "complete" program. It works for me, however I am curious is it worth anything in reality. I would ...
7
votes
1answer
131 views

Hangman program in Java

Here's an implementation of Hangman using Java 6. I've split the code into 2 classes - a logic class & a gui class. Is it ok to have so many static member variables? Please let me know if there ...
7
votes
3answers
168 views

Displaying a wait cursor while we're waiting

I come from VB6 where everything is single threaded, so I've never written a lick of multi-threaded code before. I just added a wait cursor to one of our GUI's by stumbling through the docs, but I'm ...
7
votes
1answer
85 views

Implementation of Hangman in Java

Here's an implementation of Hangman that I've written that uses a basic GUI. As I am new to Java, please let me know of any improvements I can make to my coding style. Thanks for your help. ...
8
votes
1answer
221 views

Whose line is it anyway?

I've just started delving into JavaFX, and the following is essentially my "Hello World". Although it's simple, I question the code formatting and wonder if I'm breaking any conventions, especially if ...
4
votes
1answer
109 views

TicTacToe game needs optimizing

I'm new to programming and want to check if I'm using best coding practices in my program. ...
9
votes
3answers
296 views

Workout tracker

Around June of last year, I made my very first GUI 'app.' Wish I knew of this amazing site then, I thought for posterity's sake it would be great to get it reviewed. It's a simple I/O window just to ...
4
votes
0answers
152 views

Generic GUI background task runner (Java 8+)

Here is the culprit; headers omitted for brevity, and also, see notes afterwards: ...
4
votes
1answer
509 views

Start of Login and Address book GUI in Java

In GUI that provided with the right username and password lets you open up an address book like GUI where you have crud like operations. I'm still very inexperienced with swing facilities especially ...
14
votes
2answers
259 views

Day Planner / Logger

This is a simple program I've made using Qt Creator and Pyside: I made a list of activities that I would like to enforce; Then I made a program that randomly pick them based on chance; It has some ...
2
votes
0answers
50 views

GUI for products and orders

I am building a simple Store Management System and I have 4 classes, 3 of which are for Product, Vendor and ...
1
vote
0answers
70 views

GTK application in Haskell

I'm new to both GTK and Haskell, so I'd appreciate any in both. I'm making an application which for the purposes of this question is just drawing a window that shows a red circle getting larger until ...
5
votes
0answers
185 views

Multi-layer PyQt4 image viewer performance improvement

I have written a functional GUI program using PyQt4, and I'm looking for some feedback because it's not as fast as I would like. It takes in some number of large, same-sized 2D arrays and displays a ...
3
votes
0answers
169 views

A Cross-Platform Message Box Library

I recently started work on a game project, and decided to use GLFW for windowing / OpenGL context handling. GLFW doesn't have support for creating message boxes / dialogs, and I was unable to find ...
8
votes
1answer
92 views

Simulating a GUI windowing system

I was eager to learn the implementation details behind windowing GUI systems. Because I am mostly a high level programmer having not much experience in low-level stuff, I had to simulate it instead of ...
3
votes
1answer
165 views

Simulation of bus route

Theme of my course work in institute is simulation of bus route. Could you determine any faults and defects in this code? I will be very grateful if you give me some advice about one global variable, ...
4
votes
1answer
124 views

C IDE in Python with Tkinter

I have decided to code an IDE for C using Python with Tkinter. I tried to use my best functional style and keep functions small. This programme works perfectly in Linux with Python 2.7, but it should ...
4
votes
1answer
72 views

Stop Watch Application 2.1

After the tips from my previous review. I have come up with these changes: Separation of Concerns Use Delegates I'm asking you guys if this looks good. Other then separate out the ...
2
votes
1answer
58 views

Detaching logic from listener implementation in “Smart UI” approach to follow a proper pattern

I took this code segment from existing source on Android, but it applies to anything from ASP.NET Forms to anything else where the UI has an event callback, and the logic is implemented directly in ...
1
vote
1answer
269 views

Search layout with 2 edittext and 2 buttons

I'm building an Android app and I'm new on building the UI on an .xml file. I've built a simple layout but I think that is not optimize very well. This component is a search layout with 2 edittext ...
16
votes
1answer
785 views

Ultimate Tic-Tac-Toe with AI and GUI

During my hiatus, I decided to revisit some of the Tic-Tac-Toe questions here. I created a simple Tic-Tac-Toe GUI game, and then thought, might as well do the Ultimate Tic-Tac-Toe challenge. I am ...
5
votes
4answers
866 views

*Code for fake UI

While I was coding it, I got a better idea, but I continued because I can not compare both of those ideas, because they are different. The idea of that function is to make your fake ui-building ...
6
votes
2answers
323 views

Caesar cipher with GUI

I have created a functional Caesar cipher in Python 3 and I have implemented a GUI using Tkinter. ...
10
votes
1answer
750 views

Inspector interface serializer

I've written some code that allows Unity3D's inspector to display fields that conform to an interface. Unity has some quirks about their inspector, so as a preface they are listed here: If you add a ...
0
votes
1answer
61 views

Showing a JDialog whenever there is an exception

I have made a method which I use to show the exception error through a JDialog window whenever there is one in my program. For now I can pass it either a String or ...
14
votes
2answers
960 views

Trading Card Game Prototype GUI with JavaFX

Most of my programming experience is with Objective-C, but I have recently started learning Java and JavaFX to build the user interface for a Trading Card Game. This is the most Java I have ever ...
8
votes
3answers
967 views

Simple FizzBuzz

I wanted to try FizzBuzz, but to do it in the most efficient way. I think this method employs most of the concepts I learned here. Is there anything unaccounted for? A sprinkle of Swing since that's ...
7
votes
1answer
102 views

Determine maximum window bounds

Preamble: the default frame positioning with Swing JFrames has always bothered me. Eventually I wrote some code to calculate my available desktop space, not ...
5
votes
2answers
481 views

Tabs in JavaScript and CSS without additional framework/library

Below's my attempt at creating a simple tab control in JavaScript and CSS, without making use of any libraries or frameworks. Does this look OK to you guys? Can you see any obvious pitfalls? I ...
4
votes
2answers
157 views

Game framework using C++

I'm writing my own game framework and would like to get feedback on the API while I'm writing it. At the moment it's very simple, but I would like some guidance about where to take it. This is a ...
5
votes
2answers
105 views

Scoring matches of a game - reducing duplicated code

I'm writing a small application to score matches of a game. (There are two "teams" on each "alliance", and two alliances play each other in a match.) I have a "logic" class that handles the values of ...
4
votes
1answer
124 views

Should I nest a child Qt widget class?

I am learning PySide and am trying to implement widgets within a main window. My goal right now is very simple: I want to place a QLabel, with independently defined ...
6
votes
1answer
567 views

Refactoring Tkinter GUI that reads from and updates csv files, and opens E-Run files

Background My lab administers four computer programs in three separate appointments. At each appointment, the subject does the programs in a pseudo-randomized order. Also, three of the programs have ...
3
votes
1answer
2k views

Android layout with equal spacing between elements [closed]

I am trying to make a nice set of items, which are equally spaced from each other. On example below, I set buttons between empty textview. Every button and text view has ...
10
votes
2answers
487 views

A general purpose GUI data input, with validation, but unclear about best object design

When I'm throwing together prototype code, I don't want to spend extra time setting up parameters, or chasing down problems from entering parameters wrongly. So this is a general purpose, fairly easy ...