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.
I am creating a database app using netbeans GUI form builder to display a JTable with DB contents.
When the user wants to add to the DB i want to get input from a separate GUI by the click of a button.
Does anyone no if it is possible to create another JFrame dialog GUI in the same class as the main GUI in netbeans GUI builder?
I love deadlines, I love the whooshing sound they make as they fly by...
Wat i am looking for is something more rubust that can take allot more input fields than a JOptionpane.
So i need another separate GUI called from within the same class as my primary GUI when the 'Add Person' button is selected. So i am wondering is it possible to create two GUIs in one netbeans builder class or maybe i need to create a seperate class with 'get' compent methods to facilitate listening from another class.... Or create a i internal frame..
I got what i needed by creating a array of JConponments (labels and text fields ) and adding this to a JOptionpane.
I didnt realise the JOptpane could take JPanels and jcomponents as arguments and also a JDialog is another top level container like JFrame.
I no i cant add one top level container to another but is there a limit to the number in one class?