I use Eclipse and my database is hsqldb. I have a JFrame with 3 JPanel.
In my first JPanel, I have 3 JList, Category, Brands and Product.
In my database, I have a table category (id, name) brands (id, name) product (id, product, price, description, quantity + foreign key on category and Brands).
I started coding but I can not do that when I select one item in JList category and brand, I have to bring up the result in product (one item or multiple) and when I select one item in Jlist Product, I have to bring up the result in the JPanel Informations (price, description and quantity).
Thanks for you help,
Nikolas
Aucun commentaire:
Enregistrer un commentaire