Adding and populating a TableView object using SceneBuilder

  Рет қаралды 82,758

Jaret Wright

Jaret Wright

Күн бұрын

Пікірлер: 62
@mathisawesome618
@mathisawesome618 6 жыл бұрын
That moment when you click on a Scene builder tutorial and the microphone quality is nice - awesome
@Trolosi123
@Trolosi123 4 жыл бұрын
The dialect of english typically found in India is considered an official branch of the english language, and is therefore not actually "poor" english - just different.
@mathisawesome618
@mathisawesome618 4 жыл бұрын
@@Trolosi123 You are absolutely right. I am sorry, i did not mean to be rude and I realise now that my comment was really inappropriate. I am thankful for everyone who takes the time to make a tutorial for other people, no matter the accent or the technology.
@anon_1-n1e
@anon_1-n1e 4 жыл бұрын
@@Trolosi123 Sure but it just sounds really bad and the Indians should try to improve rather than get offended.
@SM-te2xw
@SM-te2xw 3 жыл бұрын
@@Trolosi123 9
@qualitymanifest40
@qualitymanifest40 6 жыл бұрын
Thank you!! This really is by far the best JavaFX tutorial out there. I must have started about a dozen, including a paid course on udemy, and this is explained and organized far better than all of them.
@jasonguyperson
@jasonguyperson 6 жыл бұрын
Thank you Chief, I owe you one. This little series took some effort on your part and it paid off for me. Thanks again!
@lucasaparecido1086
@lucasaparecido1086 4 жыл бұрын
hey dude, thanks a lot for this tutorial playlist, you're saving me a whole semester of frustrated tries to learn and understand javafx. I hope to learn more with you and your new playlists :)
@jonathannilsson15
@jonathannilsson15 4 жыл бұрын
Instead of writing everything by hand at 5:50 you can simply go inside scene builder and add the fx:id first and the go to "View" -> "Show sample controller skeleton" and copy that code into the Person class. Replace the first "?" with the class name (ie. "Person" in this case) and the other "?" with you variable type (Integer, string etc).
5 жыл бұрын
you have saved my university project in so many ways, thank you so much!!! please keep it up!!
@muser5448
@muser5448 7 жыл бұрын
You absolutely did the best job about JavaFX scene builder. You help me a lot. Thanks and wish you keep it ! Come on!
@bullet996
@bullet996 3 жыл бұрын
Thanks for the video man and keep up the good work!
@doug9896
@doug9896 2 жыл бұрын
Really good tutorial. I would suggest that you slow down just a bit and make sure you explain where a variable or object was defined that you are going to use. Took me a few backups and replays to fully understand the connection between the scene builder id and what you were using in your controller. Other videos used the same name across different files and was hard to keep track of where they were referencing. Otherwise, great job and I finally got my TableView to load data. Now off to connect it to the database..
@sabirmohammeditaieb7297
@sabirmohammeditaieb7297 4 жыл бұрын
it didn't work for me, the list didn't show at all in the table view
@santiagotorres8680
@santiagotorres8680 4 жыл бұрын
Thank you soo much for sharing your knowledge! You are amazing :)
@firdaousslotfi9616
@firdaousslotfi9616 4 жыл бұрын
Thank you this was a life saving tutorial !!
@fadif8818
@fadif8818 5 жыл бұрын
Thank you so much for this video! It was so helpful!
@nkola89
@nkola89 6 жыл бұрын
hi, how can I dynamically manage the space when I expand the columns, thus making a scroll appear? thank you so much
@ifraz6
@ifraz6 6 жыл бұрын
On selecting the row on tableview, text field to populated with tableview selected data. How to do that.
@dawidgora7472
@dawidgora7472 3 жыл бұрын
Thanks for help but I have an issue. My model has 2 private properties which are different classes. How do I access theirs properties in PropertyValueFactory?
@josealejandrochavarriamadr713
@josealejandrochavarriamadr713 5 жыл бұрын
Thanks a lot dude, this was super useful!!
@sibtiali802
@sibtiali802 3 жыл бұрын
my object is added but is invisible, is this because of the boolean attribute in my class's constructor?
@DanceUnderInfluence
@DanceUnderInfluence 3 жыл бұрын
The cells are filled, but invisible.. How do I fix this?
@havaisali5693
@havaisali5693 5 жыл бұрын
How can I add data from a CSV file into the TableView? For example instead of birthday, have a column from a CSV file shown?
@meghanagopu5461
@meghanagopu5461 4 жыл бұрын
Saved my Grade and Life!
@vinipachecov
@vinipachecov 7 жыл бұрын
Thank you very much, excellent tutorial!
@amberlilith3745
@amberlilith3745 7 жыл бұрын
I can't understand what is wrong. I have made every things very like the video but the table don't show the texts. In runtime, the table have the same number of lines of the table in the database but nothing is shown. P.S. sorry about my English.
@van-geraldolivares9662
@van-geraldolivares9662 7 жыл бұрын
Probably you wrote wrong the getter in your Class, if i have a "Person" Class with variable names id, firstname, lastname the getter must be getId(), getFirstname(),getLastname() respectively
@amberlilith3745
@amberlilith3745 7 жыл бұрын
Many thanks, guy. This was actually useful.
@jasonguyperson
@jasonguyperson 6 жыл бұрын
@@van-geraldolivares9662 Your comment seriously helped me out. Thank you very much.
@cubingunlocked1812
@cubingunlocked1812 7 жыл бұрын
Thanks, great video. But why do we use simple string property instead of string??? And how can I add image to a table view??
@jaretwright223
@jaretwright223 7 жыл бұрын
I used a SimpleStringProperty so that later the user could edit directly in the table. As for the image in a table, you can add an Image object in the table the same as any other type of object.
@IcyBlade3003
@IcyBlade3003 5 жыл бұрын
What's the point of SimpleStringProperty? It seems to work just with ordinary String.
@jaretwright223
@jaretwright223 5 жыл бұрын
It allows you to edit the table directly
@IcyBlade3003
@IcyBlade3003 5 жыл бұрын
@@jaretwright223 Directly as in, clicking on them after I run the application? Or as in, edit the observable list with code?
@jaretwright223
@jaretwright223 5 жыл бұрын
TDuncker You can make the table such that users can click on a cell, edit the content and then save the change directly. That will allow it to behave more like an Excel experience.
@IcyBlade3003
@IcyBlade3003 5 жыл бұрын
@@jaretwright223 Interesting! I might need that for our medicine module implementation test. Can you refer me to the name of that method or a source explaining it? Also amazing you answer comments on your videos so late after upload :)!
@TheVagofino
@TheVagofino 6 жыл бұрын
Thank you! your video really help me.
@freya9107
@freya9107 4 жыл бұрын
Please help, I fallowed along, and I get the error WARNING: Can not retrieve property 'name' in PropertyValueFactory: javafx.scene.control.cell.PropertyValueFactory@4528eb73 with provided class type: class Model.OutSourced java.lang.RuntimeException: java.lang.IllegalAccessException: module javafx.base cannot access class Model.Part (in module HelloWorldFX) because module HelloWorldFX does not open Model to javafx.base I'm using different columns on the table.
@bens1752
@bens1752 7 жыл бұрын
DO you have any ideas as to why there is no data showing up in my table? I thought I followed every step, and I'm getting no errors.
@nadinesebri6207
@nadinesebri6207 7 жыл бұрын
me too !!
@oystein18
@oystein18 6 жыл бұрын
I did change the initialize function on the tableController to look the same as the initialize function in the first scene. Then it worked for me.
@jawehers
@jawehers 4 жыл бұрын
thank you for the good tutorial but how to build a connection of this code to mysql DB ??
@Kronk_Code
@Kronk_Code 3 жыл бұрын
ty so much you helped me alot
@mohammadattarzoghy6520
@mohammadattarzoghy6520 2 жыл бұрын
Thanks . great job
@Janikowskiii
@Janikowskiii 3 жыл бұрын
Thank's a lot, Sir!
@lapaloj415
@lapaloj415 6 жыл бұрын
Hi there, I have a question. How to send you a mail?
@mostdope3459
@mostdope3459 6 жыл бұрын
anyone else getting a null pointer exception in the initialize method??
@jaretwright223
@jaretwright223 6 жыл бұрын
Here is a video that describes the common causes of the null pointer exception when using SceneBuilder. kzbin.info/www/bejne/h3m9Yn6MbJV_eKc
@mostdope3459
@mostdope3459 6 жыл бұрын
Jaret Wright thank ya sir
@andrei3720
@andrei3720 4 жыл бұрын
Can you do a tutorial with using images in javafx? Like display the image from database
@vatsalrahul5258
@vatsalrahul5258 6 жыл бұрын
How can i add values into the table that is getting generated dynamically but the values are stored then i am trying to add it resultS3.items.get().add(new S3RESULT(bucketname,key,size.toString,storageClass,lastmodified.toString)) here the result S3 is tableview variable and S3 Result is the Table Name, there are values in the bucknetname,key,size but while runnig it is saying null pointer exception
@jamieoliver8632
@jamieoliver8632 7 жыл бұрын
thanks dude, keep doing vidz
@jaretwright223
@jaretwright223 7 жыл бұрын
Without seeing your code, I don't know that I can give you much advice with being able to see the code. Having said that, use the code at github.com/JaretWright/GUIDemo. Use a utility such as beyond compare (www.scootersoftware.com/) to compare the files with yours. Often our eyes will not catch a minor difference between files, but that software is great and highlights it in red. It even lets you edit the files directly.
@frankkevy
@frankkevy 4 жыл бұрын
THANK YOU!
@kwibukaconfiance8630
@kwibukaconfiance8630 6 жыл бұрын
wow thank you so much
@MadBlissOff
@MadBlissOff 6 жыл бұрын
Thank u dude
@denysyankiv7286
@denysyankiv7286 6 жыл бұрын
save me :) thx!
@liamirali
@liamirali 2 жыл бұрын
bruh stop using ur mouse that much
Edit TableView Object using JavaFX
9:55
Jaret Wright
Рет қаралды 29 М.
Passing information between Scenes with Javafx
20:31
Jaret Wright
Рет қаралды 69 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Using SceneBuilder and Controller class to change scenes in Javafx
14:45
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 270 М.
Handmade Hero Day 001 - Setting Up the Windows Build
1:13:51
Molly Rocket
Рет қаралды 375 М.
Delete Object from TableView
6:55
Jaret Wright
Рет қаралды 9 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 41 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 855 М.
TypeScript Crash Course
52:27
Traversy Media
Рет қаралды 626 М.
JavaFX switch scenes 💞
8:35
Bro Code
Рет қаралды 180 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН