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
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
I watch three of your videos it help me a lot .You show me what I want.So thanks
hi, programming knowledge! i have completed u r video no.9 and video no.10.
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
Hello, if i want to include date, and male female option how we can insert this type???
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.
You are the best
Hi if I want to use integer value instead of string then?
Please help to populate JTable with the valueselected from JCombox. Without using array list
Thanks a lot my friend, you solve my problem god bless!
thanks u very much,you are helped me very much!
Muito obrigado, me salvou aqui. One more subscriber !
Dude you helped me... i am thankful
Thank u soo much.. that helped me very much!!
how to get data from database in jtextfield using JOption.inputmethod()...can you please help ProgrammingKnowledge
Vielen Dank für Ihre Videos
Thank you
Thanks A Lot Man, I Dont know that event is useful, From 2019 :)
Can i know what and where to put rs ?
Awesome Video
so good
very helpful, Thank you so much :)
i'm getting only one value in JCombobox after fetching data from db
Please thanks alot for the videos May God Reward you,ThanksThanksThanksThanksThanksThanks.
thanks you! that was so useful :)
WHATS THE CODE FOR SELECT A DATA @ TABLE
WHEN I SELECTED A DATE, NOTHING HAPPENS
thanks man
how could i select with name and lastname?
thank thanks a big thanks u are awesm
But, the problem is when i execute video no . 10
then" 9th code" is not working please EXPLAIN SOON??
Thanks bro
thank you veryyyyyyyyyyyyyy much
thanks :)
Thanks man
I get Java.lang.NullPointerException pop up when i click on the table. Anyone know why?
please cross check if the table name is same in your database and in java sql query
thanks
any one can explain?
thanks :)