Hi,
i am .net c# programmer that wanna learn Java these days.I can connect DB , getting and writing data with JDBC.But How can i fill JComboBox and set its DisplayMember "PersonelName" and ValueMember "PersonelID". In .NET there is related properties like DisplayMember,DataSource,ValueMember , i can show personel's name with displaymember and when i writing to data i can learn personel's id from valuemember property.But in Java there is no properties like this. How can i get PersonelID and show Personel Name in JCombobox in Java ? Can someone gimme an example. thanx.