I am trying to prepare a window program GUI to display invoices from the system add a new invoice (and add invoice items as part of the new invoice), modify the unclosed invoice and view the details of the invoice.
The program should be written in Swing without the use of window editors. (only code). I have problem with buttons to adds new invoice with some positions.
Please always tell people on all thee fora involved whenever posting the same question on multiple fora, so as to prevent duplication of effort. Also please give us the full details because many people won't go to PasteBin.
What does your invoice class do? Does it have a public interface that the GUI can access?