I'm making a small app for myself to review what I have learned in Java before. It's a simple daily expenditure calculator. Basically it should allow to add and remove entries (e.g. trousers, dinner), the app should then present them in a table and give an average daily expenditure below. I have all classes and methods ready. Now I only need to lay everything out.
I want to be able to add and remove entries easily and effectively. I was considering using JavaFX' TableView with separate remove button for each entry, but I have no clue how.
Can anyone offer a solution? Perhaps there's a better way than using JavaFX. (I want to learn to make apps that are visually attractive and intuitive.)
here are son tutorial videos that explain how tableview functions and how add and remove items, if you are new to JavaFX i would recomend that you follow all the videos there are short and very understandable
Thank you, Alejandro! I've already seen most of the videos from the series you mentioned and I admit they're helpful.
I learned plenty since I made this thread. I also solved the problem. Instead of adding separate remove button for each object, I added controls below the table. I might try separate buttons for the sake of learning something new, especially since I managed to find similar solutions on the web.
Also, thanks, John! I'll definitely have a look at the tutorial by Makery.
Create symphonies in seed and soil. For this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners