Skip to main content

All Questions

Tagged with
6 votes
3 answers
469 views

First Java Program: A Basic GUI Library Management System with JavaFX

Requirements: Add/Delete member. Add/Delete book. Issue/Return book. Review Request: General coding comments, bad practices, style et cetera. Code: Main.java: <...
Haider Ali's user avatar
3 votes
0 answers
145 views

Java game: select numbered tiles to form a goal sum

This is a homework project (Soft. Eng.) which I have completed. My teacher gave me a 91, but I am unhappy with this grade because my code is quite messy. (Please excuse incomplete Javadoc, the code is ...
vimdiesel's user avatar
2 votes
1 answer
3k views

2D Physics Simulation (game-like)

My program is meant to simulate 2D physics(hopefully 3D as well in the future), namely classical mechanics and eventually electromagnetism. Currently it simulates projectile motion by firing a ...
defoification's user avatar
3 votes
1 answer
881 views

Java - Tic Tac Toe

I am a self - taught coder, and have been learning Java for the last 2 years. I have recently created a tic tac toe game in Java. I have rearranged the program into separate classes & methods. I ...
Unknown's user avatar
  • 115
1 vote
1 answer
305 views

Android RecyclerView holding rows of razzles

I have a RecyclerView that works and everything, and this is how I coded it: ...
user6846563's user avatar
1 vote
1 answer
70 views

File-copying Manager

I have the following java class which has many private variables and methods: ...
cssGEEK's user avatar
  • 947
7 votes
2 answers
15k 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 ...
umutberkbilgic's user avatar
6 votes
2 answers
195 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 ...
Piotr Aleksander Chmielowski's user avatar
11 votes
2 answers
270 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 ...
TheCoffeeCup's user avatar
  • 9,466
8 votes
2 answers
108 views

Take These Buttons Back

I created a side bar of buttons for my game, the idea being that if you click on the "main" button of the group, the rest of the buttons in the group would pop out from the side of the screen. Later, ...
bazola's user avatar
  • 8,589
6 votes
1 answer
180 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 ...
siema's user avatar
  • 117