JavaFX Login Example - Scene builder and Netbeans

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 167

  • @ALLCAPS
    @ALLCAPS 7 років тому +6

    @01:12 you waste so much time searching through your directories and netbeans directory when you could've easily just added the SceneBuilder library directory to your Netbeans which would've gave you the ability to press on the blue logo .fxml document and it would've automatically opened the Scene Builder for you in that project.
    Easily done, here are the steps:
    1. Install the Scene-builder and pick your directory.
    2. Open your Netbeans and create an FXML project.
    3. In your Netbeans, press the [tools] menu and select [options] inside of it.
    4. Press on the JAVA button which should be between the Keymap and Team buttons.
    // OR you can press the search box and write "scene" in there, then it should take you to where I'm trying to explain.
    5. After doing step No.4, find and press the [Java Fx] tab.
    6. You will now see a drop-down directory finder ready to find your scene-builder folder.
    7. Press BROWSE or what ever it says and find your Scene-builder directory (the one you chose in step No.1)
    8. Confirm and Apply changes.
    // now you will be able to press on the .fxml file type in the Netbeans
    // projects directory to the left of the application and
    // and scene-builder will automatically start THAT project.
    // you're welcome! :)

    • @KeepToo
      @KeepToo  7 років тому +1

      Thanks for the information, I realized my problem though - had two scene builders installed - [ Gluon and the default scene builder ] which brought conflict in opening the FXML files. Thanks, very useful information.

    • @ALLCAPS
      @ALLCAPS 7 років тому

      No problem! :)

  • @sarcastic_corpse8726
    @sarcastic_corpse8726 7 років тому +36

    To fix the "X" Label not working. :
    import javafx.scene.input.MouseEvent
    change the handleClose(ActionEvent event) to handleClose(MouseEvent event)

  • @iakashx
    @iakashx 7 років тому +3

    This was really awesome. You're doing great job. In the last minutes the close button wasn't working, It's because in the scene builder there is something called "Controller" under the Document section. You have to connect to it to make it functional.
    like you have
    "FXMLDocument.fxml" file for Interface design and "FXMLDocumentController.java" to control the functionality of the interface.
    You have to do mention it in Controller as "FXMLDocument.FXMLDocumentController".
    This should make that work.

  • @NullxKaito
    @NullxKaito 7 років тому +1

    i waited this for a long time, and finally thank you so much keep up the good Work GOD BLESS

    • @KeepToo
      @KeepToo  7 років тому +1

      Daryl Catiloc Thank you. God bless you too.

    • @NullxKaito
      @NullxKaito 7 років тому

      Im waiting for more ♥

  • @christopherlugod9022
    @christopherlugod9022 7 років тому +7

    As Always, what a great design thank for this more power keep too

    • @KeepToo
      @KeepToo  7 років тому

      +Christopher Lugod Thank you for being patient 😋

  • @saranchockan7522
    @saranchockan7522 7 років тому +11

    Awesome! You have inspired me to develop applications using java!!!

    • @KeepToo
      @KeepToo  7 років тому +1

      +Saran Chockan Great

  • @valterbelem6253
    @valterbelem6253 7 років тому +2

    Hello KeepToo, I am brazilian and like your channel, congratulations for your work

    • @KeepToo
      @KeepToo  7 років тому +1

      +Valter Belém Thanks, I appreciate alot.

  • @abbadkamel8839
    @abbadkamel8839 7 років тому +2

    Woow ur tuto are soo cooolman i love it , but there just one thing for me i wish u explain and talk on the video coz there ppl like who they are begginer we need to know every word what she mean u know ...
    sooo i wish u make more and more video we are all waiting u .... thanx uuuuuuuu soooooooooooo much

    • @KeepToo
      @KeepToo  7 років тому +1

      +kamel abbad Thank you for the comment and support, I really appreciate, I will continue making more videos. Have a good one.

  • @jadizadi7600
    @jadizadi7600 6 місяців тому

    hello. how did you handle the dragging of the stage by mouse. does it work automatically when you set it as undecorated or there is a code for that that you did not show in this video?

  • @flowmtbtrilhas
    @flowmtbtrilhas 4 роки тому

    Piesho Nais
    Piesho Nais
    11 meses atrás (editado)
    Fastest way to become a software developer:
    1. Understand what software development is
    2. Understand the programming fundamentals (control flow statements, variables, data structures, databases, algorithms, functions, conditions, etc.)
    3. Learn to properly use a programming language. Start with an easy one: PHP or javaScript (if you are more web oriented) and practice point 2.
    4. Learn how to use a programming Framework. Start with an easy one based on the language you now know and practice point 3.
    5. Read all you can about how to produce quality code at every step of the process of becoming a software developer.
    6. Practice, practice, practice, practice, practice, practice, practice, practice, practice, practice, practice, practice, practice, practice, and practice.

  • @markoi.935
    @markoi.935 7 років тому +2

    You cut few minutes tutorial in 18:35, can you explain what you do in that 5minutes whic is cutted? Thanks

    • @KeepToo
      @KeepToo  7 років тому +1

      Sorry didn't realize that -paused a while to check on something. Came back and forgot to continue recording but only what i changed though is the textfield focus color. Apologies.

    • @agarprince-kingosalt9471
      @agarprince-kingosalt9471 6 років тому

      You also cut out the sequenz were you added the hyperlink.

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

    Something's wrong with what he does at 13:20
    can anyone help ?
    The FXMLdoc.fxml doesnt change

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

      nevermind i didnt save in scene builder

  • @federicodominguez-nunez7199
    @federicodominguez-nunez7199 6 років тому +1

    How did you fix the materialize shifting up the username/email and password field on focus ? I noticed that it has not been attended in the video but in the end it shifts up perfectly. I have been trying to get that effect on my application but without success.

  • @panzorax.
    @panzorax. 4 роки тому

    when i run button on the netbeans i had this exceptions => Exception in Application start method
    java.lang.reflect.InvocationTargetException
    how i can fix ?

  • @mr.techno-era7474
    @mr.techno-era7474 6 років тому +1

    I can't "import javafx.scene.control.DatePicker" package in my project. I am using jdk1.7 and netbean 7.2. Please Help!!!!!

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

    To create a visualization with javaFX i need to begin my project as javafx project? i didn't understand how can i integrate my existing java code with a JavaFX interface... Can you explain please?

  • @gryeshnackh9378
    @gryeshnackh9378 6 років тому +1

    Hey bro could you tell me the music from 15:26 ? I used Shazam but not results. Btw...this is tutorial it's fantastic. I'm starting to learn Java and JavaFX. Thank you for this great tutorial. Peace.

  • @sandalikamarakandage4610
    @sandalikamarakandage4610 4 роки тому

    Woow. This is amazing. Keep going

  • @mohammedthahajk7619
    @mohammedthahajk7619 7 років тому +1

    quick qn: Which version of scene builder are you using?

    • @KeepToo
      @KeepToo  7 років тому

      +mohammed thaha jk Gluon.

  • @goxr3plus_studio
    @goxr3plus_studio 7 років тому +1

    Very beautiful , i see JFoenix ibrary here :)

    • @KeepToo
      @KeepToo  7 років тому

      Yeah Pretty nice yeah.

  • @henishshah22
    @henishshah22 4 роки тому

    hey i am not getting jFX containers in library...what to do?

  • @ThePandafriend
    @ThePandafriend 4 роки тому

    That looks nice and all, and shows some basic UI-features of SceneBuilder, but what's the point without code? You didn't even touch the "code" part of SceneBuilder.
    Coding a basic login page is not a hard task!
    Until you add safety into the equasion of course. Then it becomes incredibly hard to make a good login page.
    But that's obviously not the point here.

  • @Sebastian-lz5ue
    @Sebastian-lz5ue 6 років тому +2

    what is the name of the first beat?

  • @Sly-Jack
    @Sly-Jack 7 років тому +1

    What is the first song used in the video? I can't find it using shazam or google.

  • @dimitrybretoux9708
    @dimitrybretoux9708 6 років тому

    good job bro...and I like that sound

  • @jibranmohammed3961
    @jibranmohammed3961 7 років тому +1

    really like your wallpaper

  • @yassineamor5624
    @yassineamor5624 6 років тому

    How to change the space holder color in textField ???

  • @rizzaregalado1861
    @rizzaregalado1861 7 років тому +1

    The "X" button didnt worked for me I follow your instruction the code for "handleclose" but it wont exit and how did you move and drag the window? Your tutorial is awesome!

    • @pablobustamanteidro4283
      @pablobustamanteidro4283 7 років тому

      To fix the "X" Label not working. :
      import javafx.scene.input.MouseEvent
      change the handleClose(ActionEvent event) to handleClose(MouseEvent event)

  • @TheThinker-ug3wr
    @TheThinker-ug3wr 6 років тому +1

    Exception in Application start method
    java.lang.reflect.InvocationTargetException
    my program is not running please help me in this problem

    • @StoriesWithYuki
      @StoriesWithYuki 5 років тому

      Do you find the solution ?

    • @michaelcastillo5809
      @michaelcastillo5809 5 років тому

      What *_Application_* are you using ? Netbeans ?
      Java version 11 is for Scene Builder 11
      Java version 8 is for Scene Builder 8.5
      Netbeans 8 recommends using Java version 8. And if you Java v8, then you must used Scene Builder 8.
      *This one solves my issue, when I encounter this kind of error*

  • @velogic8677
    @velogic8677 7 років тому

    Hey, really nice informing video, you made.
    But how did you managed to move the text in the textfields?

    • @damarendran
      @damarendran 7 років тому +1

      @Atrx Music in Scene Builder, select the JFXTextfield, go to Properties tab on the right, scroll to Style, type in the field "-jfx-label-float", then type in the next field "true". Hope this helps

  • @homebreed9002
    @homebreed9002 6 років тому

    What is the version of he scenebuilder ?

  • @palithamendis5991
    @palithamendis5991 7 років тому

    okay, a quick question, how did you make the stage draggable/moveable?

    • @alexweissnicht9545
      @alexweissnicht9545 6 років тому

      Palitha Mendis have you found the answer? I am looking for it too:D

  • @RimZeime
    @RimZeime 7 років тому

    how to change JFXTextField Prompt color?

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

    scene builder version ??

  • @abdulhannan1996
    @abdulhannan1996 7 років тому

    Nice Tutorial but I have a problem, How did u set the text color for JFX TextField and JFX PasswordField to white as I am unable to change it.When I change the Un Focus color only the line color changes in these fields. Please reply , stuck in a project.

    • @coklatcucu1697
      @coklatcucu1697 7 років тому

      May be you can use this code :
      I hope, it help

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

      I used -fx-prompt-text-fill: White instead. This one worked for me

  • @jonesslabindao5756
    @jonesslabindao5756 6 років тому +1

    Can I ask why I dont have JFX password field and JFX text field only text field and password field thank you!

    • @yandrak10
      @yandrak10 6 років тому

      i have the same problem, you know the answere?

    • @yandrak10
      @yandrak10 6 років тому

      I HAVE THE ANSWER! We need import de library JFoenix and the components that we need

  • @luciosolorzano8062
    @luciosolorzano8062 4 роки тому

    Excelente, me ayudo mucho. Felicitaciones!

  • @bea7472-y5q
    @bea7472-y5q 7 років тому

    How did you add the 'forgot password' option please?

  • @adarshagrawal7118
    @adarshagrawal7118 7 років тому

    I am not getting option to edit focus property

  • @leonardolourenco8070
    @leonardolourenco8070 6 років тому

    Okay, but what about the functional part?

  • @eltonelton9303
    @eltonelton9303 7 років тому +10

    am i the only one who cant get JFXTextField and JFXButton in the jfoenix.jar fie?

    • @FinancialGuidanceUK
      @FinancialGuidanceUK 7 років тому

      which scene builder do You use?

    • @hipoojan
      @hipoojan 7 років тому +3

      download jfoenix.jar of Java 9 , all the components are in there

    • @Conta_Google
      @Conta_Google 5 років тому

      @@hipoojan Do you know how to run javafx on java 9?

  • @mezianeted7671
    @mezianeted7671 5 років тому +1

    image view doesnt appear when i compile but in the scene builder it appears i dont know why please help me senpai .. :'(

  • @Adila01
    @Adila01 7 років тому

    The video that I have been waiting for. Amazing job!

    • @KeepToo
      @KeepToo  7 років тому +1

      +Adila01 Thank you. More coming

  • @dandan9510
    @dandan9510 6 років тому

    Sir, where can I get the JFXTextField? My Gluon doesn't seem to have that.

    • @jeevaaks680
      @jeevaaks680 6 років тому

      Same here bro

    • @yandrak10
      @yandrak10 6 років тому

      +2 :(

    • @yandrak10
      @yandrak10 6 років тому

      I HAVE THE ANSWER! We need import de library JFoenix and the components that we need

  • @joaobonsegno
    @joaobonsegno 5 років тому

    Bro, I'm trying to use JavaFX to build screens like that, but somehow my Scene Builder don't give me the option to change the foreground of my TextFields. I can only change the font and the size of it, but I can't change the color =/ Do you have any idea of how can I fix it? I'm using Scene Builder 2.0

    • @KeepToo
      @KeepToo  5 років тому

      Try customizing your components using css file.

    • @joaobonsegno
      @joaobonsegno 5 років тому

      @@KeepToo Yes, i tried, but it didn't work. I think it's because JavaFX only accepts some properties of CSS, not all of them. I created a CSS file and linked it to my view, but it took no effect

    • @joaobonsegno
      @joaobonsegno 5 років тому

      I did it. For those who would have the same doubt, you just need to add the command "-fx-text-inner-color [color]"

  • @lookleft5975
    @lookleft5975 6 років тому

    what's the name of the first song?? i cant get enough of it

  • @hatimlakchili1744
    @hatimlakchili1744 4 роки тому

    When i run it it doesn't show the result

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

    what is the music called

  • @idrisAkbarAdyusman
    @idrisAkbarAdyusman 7 років тому +1

    Man, that's beautiful

  • @DanMlayah
    @DanMlayah 7 років тому +3

    Hizo background instrumentals ziko on point,

    • @KeepToo
      @KeepToo  7 років тому +1

      +Dan Mlayah Yeah, Trap beats

  • @faviosalgado4101
    @faviosalgado4101 6 років тому

    Hello. Blessing how can I add the library to javafx

    • @KeepToo
      @KeepToo  6 років тому

      Which IDE are you using

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

    Thanks a lot man, i appreciate it

  • @abbadkamel8839
    @abbadkamel8839 7 років тому

    woooow sooo great tuto i love it thanx u so much

    • @KeepToo
      @KeepToo  7 років тому +1

      Most welcome.

  • @jaki99k10
    @jaki99k10 6 років тому

    where did u find the beat? Thanks ;)

  • @aymosievander7447
    @aymosievander7447 5 років тому

    where can i get the code

  • @karimatroudi3956
    @karimatroudi3956 5 років тому

    can i get the code source pls?

  • @reisLD
    @reisLD 7 років тому +1

    hello, may I ask how do you drag and move undecorated window? you always done it in almost of your videos but I have not found how you did it. Thanks a lot for the videos though, really inspiring.

    • @KeepToo
      @KeepToo  7 років тому +1

      Hi, here is the full detail on how to move an underdecorated window gist.github.com/k33ptoo/fff74c00104b60fc5b16cf8f42d2a530. You are welcome and thank you for the sub . Glad you are inspired.

    • @reisLD
      @reisLD 7 років тому +1

      KeepToo hello KeepToo, thanks a lot for the quick reply. I managed to get mine working correctly before I read your comment though x'D. Hopefully the references is usefull for the others. Looking up for the next tutorial from you. Keep it up.

    • @KeepToo
      @KeepToo  7 років тому

      +LD|Presents 😁 it is alright. Thank you.

  • @abiwendesen4747
    @abiwendesen4747 4 роки тому

    thank you sir and keep posting

  • @diegoalcala7790
    @diegoalcala7790 7 років тому

    Hey, there isn't JFXTextField in my case. Can someone help me, please?

    • @KeepToo
      @KeepToo  7 років тому

      Import Jfoenix Lib to your scenebuilder www.jfoenix.com/documentation.html#Setup

    • @diegoalcala7790
      @diegoalcala7790 7 років тому +1

      Thank so much :D Your Login is pretty beautiful!!

    • @KeepToo
      @KeepToo  7 років тому +1

      Diego Alcala Thanks

    • @jeevaaks680
      @jeevaaks680 6 років тому

      The account has been suspended???

  • @taufikabdullah550
    @taufikabdullah550 6 років тому

    Beautiful great vidoe, thank you

  • @techlappy4055
    @techlappy4055 7 років тому

    JFXtext not available in glu what do I do

    • @KeepToo
      @KeepToo  7 років тому +3

      +Techlappy you need to import jfoenix library

    • @pablobustamanteidro4283
      @pablobustamanteidro4283 7 років тому

      there is a tutorial about that ua-cam.com/video/yvI9HTP54gI/v-deo.html

  • @MA-ox1tv
    @MA-ox1tv 4 роки тому

    the image isnt appearing when i run the program can anyone help?

  • @MR.Anas_eng
    @MR.Anas_eng 7 років тому

    can you tell me how I can download and install the files of javafx ?

    • @KeepToo
      @KeepToo  7 років тому

      Pardon.

    • @MR.Anas_eng
      @MR.Anas_eng 7 років тому

      KeepToo what's pardon

    • @KeepToo
      @KeepToo  7 років тому

      Meant could you make it clear what you meant. But it is okay I guess you want to know how to setup JavaFX environment. Well you need an IDE I prefer Netbeans and Scene builder[www.oracle.com/technetwork/java/javafxscenebuilder-1x-archive-2199384.html] Well and you are good to go.

    • @MR.Anas_eng
      @MR.Anas_eng 7 років тому

      Thanks bro

    • @KeepToo
      @KeepToo  7 років тому

      Welcome.

  • @asustufa1515
    @asustufa1515 7 років тому

    microphone explodes at 18:20 time++;

  • @mufaddalalazher2381
    @mufaddalalazher2381 6 років тому +1

    Great work!! Can I have the source code?

  • @densr1177
    @densr1177 7 років тому

    Amazing, as always

    • @KeepToo
      @KeepToo  7 років тому

      +Denmark Salmon Thank you.

  • @mhamadharmush4278
    @mhamadharmush4278 7 років тому

    thanks for the amazing tutorial.
    beat name please :)

    • @KeepToo
      @KeepToo  7 років тому +1

      Thanks mate - It's several trap songs.

  • @younghirsch
    @younghirsch 7 років тому +1

    Fire beats bro

  • @tutorialspot7585
    @tutorialspot7585 6 років тому

    JFX TEXTFIELD HOW?

    • @dante2047
      @dante2047 5 років тому

      -Download the JFoenix library component from github.com/jfoenixadmin/JFoenix
      -Choose your java version (Java 8 or 9)
      -Once downloaded, import the downloaded file into Scene Builder by clicking the settings gear icon next to the search bar of Library
      -A drop down menu will appear and from that menu, click on JAR/FXML Manager
      -Under actions, click on "Add Library/FXML from file system".
      -Locate your downloaded JFoenix library and import it.

  • @vladmcc3946
    @vladmcc3946 6 років тому

    how you Moving a undecorated stage? helllllp

    • @KeepToo
      @KeepToo  6 років тому

      Check how to do it gist.github.com/k33ptoo/ff1926a6961577e9febc032b2d0f87b8

    • @vladmcc3946
      @vladmcc3946 6 років тому

      Thank you, it worked.

  • @bzharzain1840
    @bzharzain1840 7 років тому +1

    thanks for every thing

    • @KeepToo
      @KeepToo  7 років тому

      +Bzhar Noori you are most welcome

  • @richardpratt1354
    @richardpratt1354 6 років тому

    Followed this shit and aced my fucking project XD

  • @hairlessdog1683
    @hairlessdog1683 7 років тому +1

    battery 10% lol, Thank bro :)

    • @KeepToo
      @KeepToo  7 років тому

      xD - // Welcome!

  • @chelounk9871
    @chelounk9871 7 років тому

    keep calm and watch :: KEepToO :: ^_^
    great Work !!

    • @KeepToo
      @KeepToo  7 років тому

      +Portgas D. Ace Thank you 😊

  • @anandphulwani1
    @anandphulwani1 6 років тому

    Bro can you share source code for this as well. Thanks again.

  • @martinl3260
    @martinl3260 7 років тому +1

    Amazing

    • @KeepToo
      @KeepToo  7 років тому +1

      +Zero Pk Thank you

  • @chukiweb6540
    @chukiweb6540 5 років тому

    good works

  • @ls0875
    @ls0875 6 років тому +2

    Dude, do you listen to this music? Are you on drugs?

  • @jarold130581
    @jarold130581 7 років тому

    wonderful

    • @KeepToo
      @KeepToo  7 років тому

      Glad you like. Thank you.

    • @jarold130581
      @jarold130581 7 років тому

      we are waiting for other video on javaFX

  • @MonTechtsm
    @MonTechtsm 4 роки тому

    Good

  • @AtshopBr
    @AtshopBr 6 років тому

    Great

  • @dinozoe1795
    @dinozoe1795 7 років тому +1

    Wooooow

    • @KeepToo
      @KeepToo  7 років тому

      +Dino Zoe thanks.

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

    thank you

  • @cyb3rsh0ck44
    @cyb3rsh0ck44 6 років тому

    fuck man, awesome !

  • @donschaffer9136
    @donschaffer9136 6 років тому

    Use words please. Tell us what you are doing. Otherwise, this is just a waste of time.

  • @sumitchouhan8716
    @sumitchouhan8716 6 років тому

    you FocusEd only Colour....whaT thE fuck ,didn't Talk dataBase connecTivity

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

    how to download the libraries?

  • @mohsin-ashraf
    @mohsin-ashraf 6 років тому

    Amazing