Java prog#10. Display jtextfield when select item in jcombobox in Netbeans Java and Sqlite (mysql)

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • -----------------Online Courses to learn---------------------------
    Java - bit.ly/2H6wqXk
    C++ - bit.ly/2q8VWl1
    AngularJS - bit.ly/2qebsLu
    Python - bit.ly/2Eq0VSt
    C- bit.ly/2HfZ6L8
    Android - bit.ly/2qaRSAS
    Linux - bit.ly/2IwOuqz
    AWS Certified Solutions Architect - bit.ly/2JrGoAF
    Modern React with Redux - bit.ly/2H6wDtA
    MySQL - bit.ly/2qcF63Z
    ---------------------Follow--------------------------------------------
    My Website - www.codebind.com
    My Blog - goo.gl/Nd2pFn
    My Facebook Page - goo.gl/eLp2cQ
    Google+ - goo.gl/lvC5FX
    Twitter - / programmingknow
    Pinterest - goo.gl/kCInUp
    Text Case Converter - goo.gl/pVpcwL
    ------------------------Stuff I use to make videos ------------------
    Stuff I use to make videos
    Windows notebook - amzn.to/2zcXPyF
    Apple MacBook Pro - amzn.to/2BTJBZ7
    Ubuntu notebook - amzn.to/2GE4giY
    Desktop - amzn.to/2zct252
    Microphone - amzn.to/2zcYbW1
    notebook mouse - amzn.to/2BVs4Q3
    -----------------Facebook Links ---------------------------------------
    Programmi...
    AndroidTu...
    Programmi...
    CppProgra...
    JavaTutor...
    SQLiteTut...
    UbuntuLin...
    EasyOnlin...
    Auto Fill Text Fields Based on Combo Box
    Auto Fill jTextFields Based on jComboBox
    netbeans java tutorial
    bind data in text field based on combo box selection
    Load data in textfield on combobox select
    Load data in jtextfield on jcombobox select
    How to dinamically Populate textfield after combobox select
    How to dinamically Populate jtextfield after jcombobox select
    How to diplay Selected Item from combobox to textField
    iit Learn java netbeans
    java tutorial netbeans

КОМЕНТАРІ • 42

  • @santosps2
    @santosps2 9 років тому +1

    Hi,
    There is one problem when we have 2 records with same name, because, the field name is not primary key. The primary key is employeeid.
    I resolved with this way:
    1- Ichanged the method fillCombo() - to populate the combobox like: employeeid-name
    2- In method comboBox_namePopupMenuWillBecomeInvisible - I recovered employeeid by: String itemSelected = (String)comboBox_name.getSelectedItem();
    String[] parts = itemSelected.split("-");
    String employeeid = parts[0];
    String sql = "select * from employee where employeeid =? ";
    pst = conn.setString(1, employeeid);
    Thank you for your videos

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

    I watch three of your videos it help me a lot .You show me what I want.So thanks

  • @ArunKumar-ms7gc
    @ArunKumar-ms7gc 11 років тому

    hi, programming knowledge! i have completed u r video no.9 and video no.10.

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

    How will you perform operation on the jtextfield vales if they are integer.
    Means u r fetching the values from database to combobox and then showing to jtextfield.if ur database have integer values then in jtextfiled have integer values how will you perform operation on it.with another jtextfiled which will we are going to provide values

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

    Hello, if i want to include date, and male female option how we can insert this type???

  • @Yachnasharma-kn4cu
    @Yachnasharma-kn4cu Рік тому

    Hi
    what we done when in combo box has two records from database like id and name (combo box link with database)
    please reply to me.

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

    You are the best

  • @miamipam100
    @miamipam100 11 років тому

    Hi if I want to use integer value instead of string then?

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

    Please help to populate JTable with the valueselected from JCombox. Without using array list

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

    Thanks a lot my friend, you solve my problem god bless!

  •  10 років тому +1

    thanks u very much,you are helped me very much!

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

    Muito obrigado, me salvou aqui. One more subscriber !

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

    Dude you helped me... i am thankful

  • @1993naw
    @1993naw 5 років тому

    Thank u soo much.. that helped me very much!!

  • @reshamacharya3388
    @reshamacharya3388 8 років тому

    how to get data from database in jtextfield using JOption.inputmethod()...can you please help ProgrammingKnowledge

  • @wekeras
    @wekeras 10 років тому

    Vielen Dank für Ihre Videos

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

    Thank you

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

    Thanks A Lot Man, I Dont know that event is useful, From 2019 :)

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

    Can i know what and where to put rs ?

  • @hemant0088
    @hemant0088 11 років тому

    Awesome Video

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

    so good

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

    very helpful, Thank you so much :)

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

    i'm getting only one value in JCombobox after fetching data from db

  • @dericluwaga
    @dericluwaga 11 років тому

    Please thanks alot for the videos May God Reward you,ThanksThanksThanksThanksThanksThanks.

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

    thanks you! that was so useful :)

  • @LiiZ8D
    @LiiZ8D 12 років тому

    WHATS THE CODE FOR SELECT A DATA @ TABLE
    WHEN I SELECTED A DATE, NOTHING HAPPENS

  • @MuhammadHassan-rb8vx
    @MuhammadHassan-rb8vx 3 роки тому

    thanks man

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

    how could i select with name and lastname?

  • @UnboxTheBox918
    @UnboxTheBox918 10 років тому

    thank thanks a big thanks u are awesm

  • @ArunKumar-ms7gc
    @ArunKumar-ms7gc 11 років тому

    But, the problem is when i execute video no . 10

  • @ArunKumar-ms7gc
    @ArunKumar-ms7gc 11 років тому

    then" 9th code" is not working please EXPLAIN SOON??

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

    Thanks bro

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

    thank you veryyyyyyyyyyyyyy much

  • @trisetyadarmawan902
    @trisetyadarmawan902 9 років тому +1

    thanks :)

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

    Thanks man

  • @tenznguyen463
    @tenznguyen463 10 років тому +1

    I get Java.lang.NullPointerException pop up when i click on the table. Anyone know why?

    • @reshamacharya3388
      @reshamacharya3388 8 років тому

      please cross check if the table name is same in your database and in java sql query

  • @OmarAhmedRamadan
    @OmarAhmedRamadan 8 років тому

    thanks

  • @ArunKumar-ms7gc
    @ArunKumar-ms7gc 11 років тому

    any one can explain?

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

    thanks :)