Campbell Ritchie wrote:Welcome to the Ranch
Do you think a text area will be large enough to hold all the data you have? Doesn't it have some sort of setText() method? You might like to use a StringJoiner object (Java8+) where you are using the line end as the middle delimiter:-Sorry about the <b></b> tags; the problem will probably be corrected in the next few hours.
Daniel Demesmaecker wrote:You also could create an observableList from your ArrayList and use that observableList to set cellValueproperty of a table.
Knute Snortum wrote:The subject of Tables (TableView) is fairly involved. I suggest you find a tutorial in the subject, start working on it, and post here if you run into problems.
Daniel Demesmaecker wrote:What is the result or error that you get?
By the way, setting show to null and then initialize it as show + something (is one redundant (show += something) and two will give a unexpected result (nullsomething).
Set show to " "...
WARNING: Loading FXML document with JavaFX API of version 10.0.1 by JavaFX runtime of version 8.0.181
Gustav Lindström wrote:
I changed Null to " " as you said! But the error persits.
Daniel Demesmaecker wrote:I'm gonna try recreating your program mysef, what is the difference between show and find?
Daniel Demesmaecker wrote:Sorry haven't bin home to mutch today, so it took a while to respond.
How are you doing on your program for the moment?
I maded a working example of what I think it's supposed to do...
Havent really checked your git though.
Since most likely later on you will have to add a db to save the data, I maded it with maven en springBoot.
For this example I'm using a static list in the mainApp to keep track of the clients and accounts.
Only the add and search function are implemented, but it should be enough to get you going.