i am building a program that will create XML for me using a format, however there is 3 differnt types of XML i will be creating and each of these will have 4 templates.
So basically you choose TYPE2 and STYLE 3 in 2 combobox's on the first screen, i then want the Next button to direct you to the next process dependant on the type and style...
I am completely new to SWING programming alot of work remains but i want to get the navigation done before i begin work on the coding on how it creates the information..
current button is just as it comes like so...
JButton btnNext = new JButton("Next");
btnNext.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
}
});
btnNext.setBounds(144, 302, 89, 23);
frame.getContentPane().add(btnNext);
I am just wondering how i even begin to do this, the combo box is as follows
JStyleBox StyleBox = new JStyleBox();
StyleBox.setMaximumRowCount(3);
StyleBox.setModel(new DefaultStyleBoxModel(new String[] {"Transforms", "RTP", "Rules Engine"}));
StyleBox.setBounds(47, 73, 147, 20);
frame.getContentPane().add(StyleBox);
others are TypeBox, BrokBox and AggBox Any help or guidance would be greatly appreciated