This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
label1 = new JLabel("Type"); label2 = new JLabel("Product ID"); label3 = new JLabel("Stock Available"); label4 = new JLabel("Quantity Needed"); label5 = new JLabel("Estimated Buy In"); label6 = new JLabel("Needed By"); label7 = new JLabel("Total Cost");
Hi, ambrosia If you take a look att the add() method in Container you wil see that it can only take one component each time you use it. add(Component comp) add(Component comp, int index) add(Component comp, Object constraints) add(Component comp, Object constraints, int index) add(String name, Component comp) But there are some other things that is possible to include. /Emil