I am trying to do a script so when I double click on a record in a table, it fills the text boxes below it. The record is a datasheet from a database in NetBeans.
Any tips on how I can start this?

Would I also need to use comments?