Questions tagged [swing]
Swing is a GUI toolkit packaged with the standard Java SDK since version 1.2.
416
questions
2
votes
0
answers
42
views
Shrinkable Swing toolbar
I was tasked with implementing a toolbar that can be shrinked beyond what's necessary to display its buttons' texts. As a last resort, the buttons should hide their texts and only display their icons
...
2
votes
1
answer
44
views
Swing calculator with GUI Designer
I made this calculator during the weekends as a way to practice using IntelliJ's GUI Designer. It's used extensively in my new employer's Swing projects, but I hadn't heard of it before. As a ...
6
votes
1
answer
106
views
Beat Box: an app for making, playing, saving, and loading beat patterns
I was reading Head First Java. The book featured a project called BeatBox that allowed you to make, play, save, and load beat patterns using Java's Sequencer API ...
4
votes
0
answers
57
views
FlashCard app using javax.swing
I made a simple flash card app. The general idea is from Head First Java, but it's one app instead of two (for both making cards and playing them) and the implementation is different. What do you ...
1
vote
1
answer
108
views
Framework for building Swing UI in a more modular fashion
Swing code may be hard to read. As is, it's not inherently visually modular, and component composition is not immediately clear. To address that, I created a simple framework called ...
2
votes
0
answers
726
views
Space invaders in java swing
I am not really proud of the final project design. Whenever I try following MVC I get lost and in the end a lot of code doesnt end up where it should be. I am also wondering if am I overusing private ...
1
vote
0
answers
127
views
Tic tac toe java swing
I am new to swing and GUIS in general. I am not sure how to structure projects with gui so help me fix mistakes I have done in this project
Main:
...
4
votes
2
answers
1k
views
Traffic simulation GUI: an exercise in concurrent programming using threads
To avoid a code dump I have removed most of the code and left the first few lines of constructors and methods and anything relevant. Full code at the bottom.
The purpose of this code is to use threads ...
2
votes
1
answer
337
views
Sorting visualizer using Java Swing
I programmed a little sorting visualizer a while back and I have been meaning to get some feedback on the overall implementation and on what I could do better to have cleaner code or a "best ...
4
votes
2
answers
225
views
Java Sound GUI using MVC model
I have made a Java Swing application that detects and displays audio pitch and level from an input (e.g microphone). I would like feedback on the current structure of my project, I'm attempting to ...
3
votes
2
answers
784
views
Simple Java Tetris game
I have no IT background and taught myself Java and made a simple Tetris game. I compared my code on the internet with other tutorials. My first impression of those implementations is that they are ...
4
votes
1
answer
183
views
Langton's Ant cellular automaton in Java
I made a couple of little games and cellular automata in Java. For every new 'game', I used the same code as a base, except for the game logic of course. With every iteration of me customizing my ...
0
votes
2
answers
134
views
Searchable database with Java and SQL
What does the code do?
Albeit unfinished (it does work, it's just not complete yet), the code creates a database (members.db) where telephone numbers, IDs, and ...
1
vote
0
answers
78
views
Examples of many Java swing components in one program
This is in continuation of my previous post for code review of Java Swing Library: Java Swing Library
Since the limit on total number of characters is 65K, I split my program in two parts. The first ...
0
votes
1
answer
75
views
Java Swing Library
I have implemented a library which makes Java Swing programming easier. I am just posting the library. There is a program that uses this library to implement examples of many Swing components but I ...