This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
First of all I want to apologize if my post doesn't meet the forum standard (it is my first time)
I am working on a personal initiative to create a simple record keeper for my animals. I am almost done with the GUI but having issues adding a jTable into the last jPanel
GUI was done using NetBeans. Here is the code
In the attachment is an image of the actual GUI. Any help will be greatly appreciated.
PD SOrry the labels in the gui are in spanish but I dont think this will prevent anyone from helping.
you add the table via the scrollPane's constructor:
= new JScrollPane(table);//other constructors available
but *never* by
then you add the scrollPane to the panel.
I don't use netbeans so can't advise on what to to there, or how to modify
the builder-generated GroupLayout code. if no-one comes along that uses
netbeans it might be worth a post in the netbeans forum (netbeans.org?)