JavaFX Login Form Tutorial using Scene Builder | JavaFX and Scene Builder Tutorial | 2020 Version

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 107

  • @javacodingcommunity
    @javacodingcommunity  3 роки тому +5

    *NEW* JavaFX log in form connected to a database: ua-cam.com/video/mrU01yjxHAc/v-deo.html

    • @arctic_angel7408
      @arctic_angel7408 3 роки тому +1

      how do i fix the image issue in eclipse since it seems to be set up differently

    • @smartygamer2512
      @smartygamer2512 3 роки тому

      That's what i want!!! You're awesome!!!

    • @frustratedplayer
      @frustratedplayer 4 місяці тому

      what if it doesn't switch? i think there is something wrong with the (String fxml) section in main

  • @iLoveSquares64
    @iLoveSquares64 Рік тому +11

    Thank you for this, building a uni project with no prior knowledge in javafx/scenebuilder and after stressing out over a few videos missing explanations, this one saved the day, you absolute champion!

  • @dainchoi1333
    @dainchoi1333 2 роки тому +5

    THIS WAS THE MOST HELPFUL VIDEO IVE EVER SEEN. THIS SIMPLE VIDEO GAVE ME AN A+ ON MY FINAL COMPUTER SCIENCE PROJECT. THANK YOU.

  • @vishalthestupid
    @vishalthestupid Рік тому +1

    Damn Life Saver !!!!! 😭😭😭😭 This helped me to connect my fxml with my code for my End Semester Project

  • @pumajlr
    @pumajlr 3 роки тому +4

    Thank you. I already have a JavaFX app that i made a couple of years ago that i was not happy with. It was one of those "we need a simple window that do this for tomorrow..." that become a huge mess over time, specially because i had no idea about javafx at the time. Now i wanna start a new one and do it well. This is a great help. Specially how to handle more than one stage and change betweem them.

  • @changlingao4609
    @changlingao4609 2 роки тому +1

    This is the best JavaFX tutorial !! Thank you so much!!!

  • @celeste-is-building
    @celeste-is-building Рік тому +2

    I am not sure if anyone else will have this same issue but for me I was not getting the images to appear when I ran the java code from the main.java file. What I found was that I did all the steps correctly however you may have to click on the little gear icon after setting the image path and manually select the "set to absolute path". This project is great! Thank you for the simple explanations. Scenebuilder is a bit confusing to a newbie like me. I really needed to learn this for uni like the other viewers.

    • @nietmeerserieus4177
      @nietmeerserieus4177 Рік тому

      Which gear icon do you mean? I am having the same issue

    • @celeste-is-building
      @celeste-is-building Рік тому

      @@nietmeerserieus4177Hey, I am not sure if you are still having this issue or not. If you are, I just uploaded a video showing the solution that helped me. It is on my channel under videos, title "How to get Image to appear in JavaFX Project". I hope that it helps!

    • @Winner-Mindset-ForAll
      @Winner-Mindset-ForAll Рік тому

      Absolute legend..i was struck here....thanks for your tip now it's working properly

    • @Winner-Mindset-ForAll
      @Winner-Mindset-ForAll Рік тому

      ​@@nietmeerserieus4177if you hover near the 3 dots placed after the path... a small circle appears...then choose absolute path

  • @lycorice2219
    @lycorice2219 3 роки тому +5

    This tutorial saved me, thank you soooooo much for making this!

  • @ramihatim210
    @ramihatim210 2 роки тому

    you saved my life bro really my entire semester marks thanks a lot

    • @angilstech
      @angilstech 2 роки тому

      You can also view this if it suits your needs ua-cam.com/video/QsTOAXAtdrM/v-deo.html

  • @Adder1322
    @Adder1322 3 роки тому +5

    image is not showing, btw I'm on eclipse

  • @michaellittle1665
    @michaellittle1665 Місяць тому

    Thank you, but how would you implement this as a model view controller?

  • @karandanawle
    @karandanawle 9 місяців тому

    thank you so much helped a lot .. explaining code is most valuable thing...

  • @salmantalib7913
    @salmantalib7913 3 роки тому +1

    awesome tutorial. each and everything explained very well and clearly.

  • @expertgamers9713
    @expertgamers9713 2 роки тому

    thanks bro it helps me a lot setting up Javafx with with eclipse ide

  • @DeepNightSounds
    @DeepNightSounds 3 роки тому +3

    Excellent video, thank you!

  • @lukaJok
    @lukaJok 2 роки тому +1

    Really nice, neat and easy to follow tutorial, thank you!

    • @angilstech
      @angilstech 2 роки тому

      You can also view this if it suits your needs ua-cam.com/video/QsTOAXAtdrM/v-deo.html

  • @randommuiscchannel1049
    @randommuiscchannel1049 2 роки тому

    Can you use scene builder to create a complex application in a modular way? Build UI elements and combine or link later?

  • @omersenol5901
    @omersenol5901 Рік тому

    Good video , helped a lot. Thanks

  • @metalgoat69
    @metalgoat69 Рік тому

    Thanks to you!!! It helped me a lot

  • @user-hd3um6qe3y
    @user-hd3um6qe3y 4 роки тому +1

    Really good content brother!

  • @valour.se47
    @valour.se47 3 роки тому

    Can we use it in eclipse plugin development

  • @shawneiharris8469
    @shawneiharris8469 3 роки тому

    I loved this tutorial. Thank you

  • @aqildanial7062
    @aqildanial7062 Рік тому

    Help my Login button cannot be click even though I already put the on action method at the button

  • @mediamogul-ce1nu
    @mediamogul-ce1nu Рік тому

    I've followed this tutorial exactly, but I keep getting an error that says Cannot invoke "javafx.scene.control.Label.setText(String)" because label is null, and I don't understand why. The code looks pretty much exactly the same, there are no errors. So I don't know what's wrong

  • @bengraham1975
    @bengraham1975 3 роки тому +1

    Awesome tutorial, thank you! Are there any changes that have to be made for this to work in Eclipse?

    • @javacodingcommunity
      @javacodingcommunity  3 роки тому

      You set up JavaFX differently. You can see it here ua-cam.com/video/bC4XB6JAaoU/v-deo.html

  • @danijelagadza9457
    @danijelagadza9457 4 роки тому +2

    Great tutorial!

  • @houssem25000
    @houssem25000 2 роки тому

    I have a problem when I export the project to JAR.... When I launch the executable file... Nothing will be showed... Any solutions?!

  • @shudderranz5919
    @shudderranz5919 Рік тому

    my line 45 in sample.fxml is giving error (onAction="#userLogIn") this line is showing userLogIn in red colour highlight and app isnt running pls help

  • @joel1219
    @joel1219 Рік тому

    i keep get Exception in Application start method when trying to run it

  • @quasarstories
    @quasarstories 3 роки тому

    can you do a tutorial about having Exception in Application start method

  • @samehmohamed6428
    @samehmohamed6428 3 роки тому

    can i use any container or it work with BorderPane only ?
    i use netbens

  • @audreyjensen666
    @audreyjensen666 2 роки тому

    nice tutorial

  • @SanjayKumar-zc4hs
    @SanjayKumar-zc4hs 3 роки тому

    Good content brother ... Next time Maximize the screen size , program is not visible clearly...

  • @carver0019
    @carver0019 3 роки тому +1

    Good content

  • @TheILLestRyanDyer
    @TheILLestRyanDyer 3 роки тому

    does this work for a mobile scene view? I get errors when I try to run the sample.fxml in a mobile view. maybe there's another library I need to download? any help appreciated!

    • @javacodingcommunity
      @javacodingcommunity  3 роки тому

      I haven't optimized it for mobile but it should work with no downloads.

  • @user-hd3um6qe3y
    @user-hd3um6qe3y 4 роки тому +1

    Could you please provide projects like this with its database too

  • @nimeshmadhuranga4095
    @nimeshmadhuranga4095 3 роки тому

    Respeeeect for you sir ,thank you so much

  • @toomaskotkas4467
    @toomaskotkas4467 4 роки тому +2

    Which software did you use for this project? MS Visual Studio Code?

  • @frustratedplayer
    @frustratedplayer 4 місяці тому

    what if it doesn't switch? i think there is something wrong with the (String fxml) section in main

  • @sanjeev2525
    @sanjeev2525 2 роки тому

    how to mark as resources for images in eclipse

  • @Mohamed-kx8zh
    @Mohamed-kx8zh 3 роки тому

    Hey bro I need your help?

  • @madisonhartley5707
    @madisonhartley5707 3 роки тому

    Lifesaver!!!!

  • @marcels.6321
    @marcels.6321 3 роки тому

    the code-names (logout,userlogout,...) in the fxml files are causing errors and i dont know how to fix that. does someone have an idea?

  • @Doznuts
    @Doznuts 2 роки тому

    Cheers!

  • @habibahossam5791
    @habibahossam5791 3 роки тому

    Thank u so much..i have an issue that everytime i import an image the scene builder crashes :(((

  • @christiankraus7243
    @christiankraus7243 3 роки тому

    thank you!

  • @Nursin-rg1ey
    @Nursin-rg1ey 3 роки тому

    Respeeeectttt for you sirrrr

  • @kittymera
    @kittymera 2 роки тому

    Hi, could you please provide some advice for how to make this work depending on user permissions?
    I had a button that distinguished "type" based on the credentials the user entered, but for a more appealing UI, I tried to get rid of the button and make it so it would automatically recognize if the user
    was a admin or not depending on the "type" they were in the database.
    I am having trouble with this and any advice would be super helpful.Thanks :)

    • @javacodingcommunity
      @javacodingcommunity  2 роки тому

      You can add an registration scene in which you can add the user role to the database. Then, when the user logs in you can change scenes depending on the user role. You can have as many FXML files as you want and display them once you read the user role from the database to Java. Simple if command should do. Hope this helps.

    • @kittymera
      @kittymera 2 роки тому

      @@javacodingcommunity Thanks for the reply! That's exactly how it worked when I initially had the combo box. Once I removed it, I am still having difficulty reading in the user role with the username and password. Would I need two separate queries? I'm just a bit lost on pulling the user role from the database, as my username and password are pulled using the text fields and then compared.

    • @javacodingcommunity
      @javacodingcommunity  2 роки тому

      @@kittymera Hi, in here I showed how to connect Java with a database and JavaFx
      ua-cam.com/video/mrU01yjxHAc/v-deo.html

    • @angilstech
      @angilstech 2 роки тому

      You can also view this if it suits your needs ua-cam.com/video/QsTOAXAtdrM/v-deo.html

  •  3 роки тому

    Thank you

  • @welldone5753
    @welldone5753 2 роки тому

    They Main variable dsnt work for me

    • @ulfatmaqsudi6507
      @ulfatmaqsudi6507 2 роки тому

      try Application instead of Main

    • @angilstech
      @angilstech 2 роки тому

      Check on this if it can help and share link with friends ua-cam.com/video/QsTOAXAtdrM/v-deo.html

  • @ooizhenwei3873
    @ooizhenwei3873 3 роки тому

    My scene builder just freeze and crash when i want to delete the initial pane. Any solution??

    • @javacodingcommunity
      @javacodingcommunity  3 роки тому +1

      that is weird, I'll look into it and let you know if I find anything

    • @ooizhenwei3873
      @ooizhenwei3873 3 роки тому

      @@javacodingcommunity not only just this scenario. It seem like every step that i take will have the risk to let scenebuilder freeze

    • @javacodingcommunity
      @javacodingcommunity  3 роки тому

      maybe you installed it wrong?

    • @ooizhenwei3873
      @ooizhenwei3873 3 роки тому

      @@javacodingcommunity ok kind of solve this issue but how to go to the project structure in eclipse ide?

  • @jatinahuja6929
    @jatinahuja6929 3 роки тому

    Please try to. Make video more videos on javafx topic

  • @nasty6543
    @nasty6543 3 роки тому

    dzieki jestes spoko

  • @smartygamer2512
    @smartygamer2512 3 роки тому

    Main m =new Main() doesn't work

    • @shudderranz5919
      @shudderranz5919 Рік тому

      Main is the name of the main application java class file. if yours is named Hello-application then it must be Hello-application m = new Hello-application()

    • @frustratedplayer
      @frustratedplayer 4 місяці тому

      @@shudderranz5919 the code for switching scenes doesn't work when i run it, the login button only says success. Do you know how to fix it?

    • @shudderranz5919
      @shudderranz5919 4 місяці тому

      @@frustratedplayer sorry bro now I am a C++ coder a d fullstack dev. I don't remember java anymore. But you can ask chat gpt. It will help you surely

    • @frustratedplayer
      @frustratedplayer 4 місяці тому +1

      @@shudderranz5919 Appreciate it, but i found the problem. My fxml file was not in the right place, thank you!

  • @bedouialhoussein8486
    @bedouialhoussein8486 Рік тому

    thank you