Home » Archived » Visual Editor (VE) » Setting Cardlay out for multiple components in a container
Setting Cardlay out for multiple components in a container [message #135274] |
Sat, 27 January 2007 06:54  |
Eclipse User |
|
|
|
Originally posted by: immyhumi.hotmail.com
------=_Part_142_5244379.1169898954965
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
I need help to assign card lay out to different panels in a main panel and also for navigation of these using buttons.
Plz help me for this.
thanks.
------=_Part_142_5244379.1169898954965
Content-Type: application/octet-stream; name=extractword.java
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=extractword.java
package Wizards;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Rectangle;
import java.awt.SystemColor;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.JTextPane;
import javax.swing.SwingConstants;
import javax.swing.SwingUtilities;
public class ExtractWord extends JFrame {
private static final long serialVersionUID = 1L;
private JPanel jContentPane = null;
private JLabel jLabel2 = null;
private JLabel jLabel3 = null;
private JLabel lbIntroduction = null;
private JLabel lbGetMessageText = null;
private JLabel lbExtractWord = null;
private JLabel lbExtractFixedWord = null;
private JLabel lbExtractVariable = null;
private JLabel lbChooseField = null;
private JLabel lbChooseRegExp = null;
private JLabel lbChooseProcessedFiled = null;
private JLabel lbFinalMsg = null;
private JLabel lbPossibleOutput = null;
private JLabel lbGenerateOuput = null;
private JLabel lbSaveGeneratedOuput = null;
private JPanel plDescription = null;
private JPanel jPanel2 = null;
private JPanel jPanel3 = null;
private JLabel jLabel17 = null;
private JPanel jPanel4 = null;
private JPanel jPanel5 = null;
private JRadioButton jRadioButton2 = null;
private JRadioButton jRadioButton21 = null;
private JTextPane jTextPane = null;
private JComboBox jComboBox = null;
private JPanel jPanel41 = null;
private JPanel jPanel51 = null;
private JRadioButton jRadioButton22 = null;
private JRadioButton jRadioButton211 = null;
private JComboBox jComboBox1 = null;
private JTextPane jTextPane1 = null;
private JPanel jPanel42 = null;
private JPanel jPanel52 = null;
private JRadioButton jRadioButton23 = null;
private JRadioButton jRadioButton212 = null;
private JComboBox jComboBox2 = null;
private JTextPane jTextPane2 = null;
private JPanel jPanel6 = null;
private JComboBox jComboBox3 = null;
private JPanel jPanel7 = null;
private JComboBox jComboBox4 = null;
private JTextField jTextField = null;
private JPanel jPanel8 = null;
private JComboBox jComboBox5 = null;
private JPanel jPanel9 = null;
private JComboBox jComboBox6 = null;
private JPanel jPanel10 = null;
private JComboBox jComboBox7 = null;
private JPanel jPanel11 = null;
private JTextArea jTextArea = null;
private JTextField jTextField1 = null;
private JButton jButton = null;
private JRadioButton jRadioButton3 = null;
private JRadioButton jRadioButton12 = null;
private JRadioButton jRadioButton112 = null;
private JRadioButton jRadioButton1112 = null;
private JRadioButton jRadioButton11111 = null;
private JButton btnBack = null;
private JButton btnNext = null;
private String card;
private int nu=1;
private CardLayout des;
private JButton btnFinish = null;
private JButton btnCancel = null;
private JButton btnHelp = null;
private JLabel jLabel16 = null;
private JLabel jLabel161 = null;
private JLabel jLabel171 = null;
private JLabel jLabel18 = null;
private JLabel jLabel181 = null;
private JLabel jLabel191 = null;
private JLabel jLabel182 = null;
private JLabel jLabel192 = null;
private JLabel jLabel20 = null;
private JLabel jLabel21 = null;
private JLabel jLabel23 = null;
private JLabel jLabel25 = null;
private JLabel jLabel29 = null;
private JLabel jLabel27 = null;
private JLabel jLabel30 = null;
private JPanel jPanel12 = null;
private JCheckBox jCheckBox = null;
private JCheckBox jCheckBox1 = null;
private JLabel jLabel19 = null;
private JLabel jLabel22 = null;
private JLabel jLabel24 = null;
private JLabel jLabel32 = null;
private JLabel jLabel26 = null;
private JLabel jLabel28 = null;
private JLabel jLabel31 = null;
/**
* This method initializes jPanel1
*
* @return javax.swing.JPanel
*/
private JPanel getJContentPane() {
if (this.jContentPane == null) {
try {
this.jLabel2 = new JLabel();
this.jLabel2.setIcon(new ImageIcon(this.getClass().getResource("/images/Extract Words.jpg"))); // Generated
this.jLabel2.setHorizontalAlignment(SwingConstants.CENTER); // Generated
this.jLabel2.setBorder(BorderFactory.createCompoundBorder(Bo rderFactory.createEmptyBorder(0, 0, 0, 0), BorderFactory.createEmptyBorder(0, 0, 0, 0))); // Generated
this.jLabel2.setBounds(new Rectangle(159, 30, 295, 40)); // Generated
this.jLabel2.setText(""); // Generated
this.lbSaveGeneratedOuput = new JLabel();
this.lbSaveGeneratedOuput.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbSaveGeneratedOuput.setBounds(new Rectangle(27, 291, 162, 15)); // Generated
this.lbSaveGeneratedOuput.setText("12. Save Generated Output "); // Generated
this.lbGenerateOuput = new JLabel();
this.lbGenerateOuput.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbGenerateOuput.setBounds(new Rectangle(28, 273, 120, 15)); // Generated
this.lbGenerateOuput.setText("11. Generate Ouput "); // Generated
this.lbPossibleOutput = new JLabel();
this.lbPossibleOutput.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbPossibleOutput.setBounds(new Rectangle(28, 257, 112, 15)); // Generated
this.lbPossibleOutput.setText("10. Possible Output"); // Generated
this.lbFinalMsg = new JLabel();
this.lbFinalMsg.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbFinalMsg.setBounds(new Rectangle(27, 240, 239, 15)); // Generated
this.lbFinalMsg.setText(" 9. Final Message with standard filed name"); // Generated
this.lbChooseProcessedFiled = new JLabel();
this.lbChooseProcessedFiled.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbChooseProcessedFiled.setBounds(new Rectangle(27, 223, 198, 15)); // Generated
this.lbChooseProcessedFiled.setText(" 8. Choose Already Processed Field"); // Generated
this.lbChooseRegExp = new JLabel();
this.lbChooseRegExp.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbChooseRegExp.setBounds(new Rectangle(26, 206, 239, 15)); // Generated
this.lbChooseRegExp.setText(" 7. Choose Regular Expression Filed Name "); // Generated
this.lbChooseField = new JLabel();
this.lbChooseField.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbChooseField.setBounds(new Rectangle(25, 189, 240, 15)); // Generated
this.lbChooseField.setText(" 6. Choose Field Name for extracted Word"); // Generated
this.lbExtractVariable = new JLabel();
this.lbExtractVariable.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbExtractVariable.setBounds(new Rectangle(25, 171, 204, 15)); // Generated
this.lbExtractVariable.setText(" 5. Select Variable Word to extract "); // Generated
this.lbExtractFixedWord = new JLabel();
this.lbExtractFixedWord.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbExtractFixedWord.setBounds(new Rectangle(25, 154, 186, 15)); // Generated
this.lbExtractFixedWord.setText(" 4. Select Fixed Word to extract"); // Generated
this.lbExtractWord = new JLabel();
this.lbExtractWord.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbExtractWord.setBounds(new Rectangle(25, 138, 154, 15)); // Generated
this.lbExtractWord.setText(" 3. Select Word to extract"); // Generated
this.lbGetMessageText = new JLabel();
this.lbGetMessageText.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbGetMessageText.setBounds(new Rectangle(25, 120, 131, 15)); // Generated
this.lbGetMessageText.setText(" 2. Get Message Text "); // Generated
this.lbIntroduction = new JLabel();
this.lbIntroduction.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.lbIntroduction.setBounds(new Rectangle(25, 103, 99, 15)); // Generated
this.lbIntroduction.setText(" 1. Introduction "); // Generated
this.jLabel3 = new JLabel();
this.jLabel3.setText("Steps"); // Generated
this.jLabel3.setBounds(new Rectangle(25, 81, 33, 16)); // Generated
this.jContentPane = new JPanel();
this.jContentPane.setLayout(null);
this.jContentPane.setBackground(Color.white); // Generated
this.jContentPane.add(this.jLabel3, null); // Generated
this.jContentPane.add(this.lbExtractWord, null); // Generated
this.jContentPane.add(this.lbIntroduction, null); // Generated
this.jContentPane.add(this.lbGetMessageText, null); // Generated
this.jContentPane.add(this.lbExtractFixedWord, null); // Generated
this.jContentPane.add(this.lbExtractVariable, null); // Generated
this.jContentPane.add(this.lbChooseField, null); // Generated
this.jContentPane.add(this.lbChooseRegExp, null); // Generated
this.jContentPane.add(this.lbChooseProcessedFiled, null); // Generated
this.jContentPane.add(this.lbFinalMsg, null); // Generated
this.jContentPane.add(this.lbPossibleOutput, null); // Generated
this.jContentPane.add(this.lbGenerateOuput, null); // Generated
this.jContentPane.add(this.lbSaveGeneratedOuput, null); // Generated
this.jContentPane.add(this.jLabel2, null); // Generated
this.jContentPane.add(this.getPlDescription(), null); // Generated
this.jContentPane.add(this.getBtnBack(), null); // Generated
this.jContentPane.add(this.getBtnNext(), null); // Generated
this.jContentPane.add(this.getBtnFinish(), null); // Generated
this.jContentPane.add(this.getBtnCancel(), null); // Generated
this.jContentPane.add(this.getBtnHelp(), null); // Generated
} catch (java.lang.Throwable e) {
}
this.lbIntroduction.setFont(new Font("Tahoma",Font.BOLD,11).deriveFont(Font.BOLD));
this.lbGetMessageText.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbExtractWord.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbExtractVariable.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbChooseField.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbChooseRegExp.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbChooseProcessedFiled.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbFinalMsg.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbPossibleOutput.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbGenerateOuput.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbSaveGeneratedOuput.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.des = (CardLayout)(this.plDescription.getLayout());
this.des.show(this.plDescription,String.valueOf(this.nu));
Dimension scrn = this.getToolkit().getScreenSize();
this.setBounds( (scrn.width-this.getWidth())/2, (scrn.height-this.getHeight())/2, this.getWidth(), this.getHeight() );
}
return this.jContentPane;
}
/**
* This method initializes plDescription
*
* @return javax.swing.JPanel
*/
private JPanel getPlDescription() {
if (this.plDescription == null) {
try {
this.plDescription = new JPanel(); // Generated
this.plDescription.setLayout(null); // Generated
this.plDescription.setBounds(new Rectangle(316, 74, 341, 389)); // Generated
this.plDescription.setBorder(BorderFactory.createLineBorder( SystemColor.activeCaption, 1)); // Generated
this.plDescription.setBackground(Color.white); // Generated
this.plDescription.add(this.getJPanel3(), null); // Generated
this.plDescription.add(this.getJPanel2(), null); // Generated
this.plDescription.add(this.getJPanel4(), null); // Generated
this.plDescription.add(this.getJPanel41(), null); // Generated
this.plDescription.add(this.getJPanel42(), null); // Generated
this.plDescription.add(this.getJPanel6(), null); // Generated
this.plDescription.add(this.getJPanel7(), null); // Generated
this.plDescription.add(this.getJPanel8(), null); // Generated
this.plDescription.add(this.getJPanel9(), null); // Generated
this.plDescription.add(this.getJPanel10(), null); // Generated
this.plDescription.add(this.getJPanel11(), null); // Generated
this.plDescription.add(this.getJPanel122(), null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.plDescription;
}
/**
* This method initializes jPanel2
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel2() {
if (this.jPanel2 == null) {
try {
this.jLabel171 = new JLabel();
this.jLabel171.setBounds(new Rectangle(5, 26, 279, 15)); // Generated
this.jLabel171.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel171.setText("These are the input options. Choose one of them."); // Generated
this.jLabel171.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jLabel161 = new JLabel();
this.jLabel161.setBounds(new Rectangle(5, 5, 143, 16)); // Generated
this.jLabel161.setText(" Get Message Text (2/12) "); // Generated
this.jPanel2 = new JPanel();
this.jPanel2.setLayout(null); // Generated
this.jPanel2.setBackground(Color.white); // Generated
this.jPanel2.setFont(new Font("Tahoma", Font.PLAIN, 10)); // Generated
this.jPanel2.setName("jPanel2"); // Generated
this.jPanel2.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel2.add(this.jLabel161, null); // Generated
this.jPanel2.add(this.jLabel171, null); // Generated
this.jPanel2.add(this.jLabel161, null); // Generated
this.jPanel2.add(this.jLabel171, null); // Generated
this.jPanel2.add(this.getJRadioButton3(), null); // Generated
this.jPanel2.add(this.getJRadioButton12(), null); // Generated
this.jPanel2.add(this.getJRadioButton112(), null); // Generated
this.jPanel2.add(this.getJRadioButton1112(), null); // Generated
this.jPanel2.add(this.getJRadioButton11111(), null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel2;
}
/**
* This method initializes jPanel3
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel3() {
if (this.jPanel3 == null) {
try {
this.jLabel16 = new JLabel();
this.jLabel16.setBounds(new Rectangle(5, 5, 103, 16)); // Generated
this.jLabel16.setText("Introduction (1/12)"); // Generated
this.jLabel17 = new JLabel();
this.jLabel17.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jLabel17.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel17.setBounds(new Rectangle(113, 5, 210, 15)); // Generated
this.jLabel17.setText("In this Wizard you can choose a word."); // Generated
this.jPanel3 = new JPanel();
this.jPanel3.setLayout(null); // Generated
this.jPanel3.setBackground(Color.white); // Generated
this.jPanel3.setName("jPanel3"); // Generated
this.jPanel3.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel3.add(this.jLabel16, null); // Generated
this.jPanel3.add(this.jLabel17, null); // Generated
this.jPanel3.add(this.jLabel16, null); // Generated
this.jPanel3.add(this.jLabel17, null); // Generated
} catch (java.lang.Throwable e) {
}
}
return this.jPanel3;
}
/**
* This method initializes jPanel4
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel4() {
if (this.jPanel4 == null) {
try {
this.jLabel19 = new JLabel();
this.jLabel19.setBounds(new Rectangle(5, 137, 251, 15)); // Generated
this.jLabel19.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel19.setText("Select the word to extract from this message"); // Generated
this.jLabel19.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jLabel18 = new JLabel();
this.jLabel18.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel18.setText("Select Word to extract ( 3 / 12 )"); // Generated
this.jLabel18.setBounds(new Rectangle(5, 5, 205, 15)); // Generated
this.jLabel18.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel4 = new JPanel();
this.jPanel4.setLayout(null); // Generated
this.jPanel4.setName("jPanel4"); // Generated
this.jPanel4.setBackground(Color.white); // Generated
this.jPanel4.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel4.add(this.jLabel18, null); // Generated
this.jPanel4.add(this.getJPanel5(), null); // Generated
this.jPanel4.add(this.jLabel19, null); // Generated
this.jPanel4.add(this.getJTextPane(), null); // Generated
this.jPanel4.add(this.jLabel18, null); // Generated
this.jPanel4.add(this.jLabel19, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel4;
}
/**
* This method initializes jPanel5
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel5() {
if (this.jPanel5 == null) {
try {
this.jPanel5 = new JPanel();
this.jPanel5.setLayout(null); // Generated
this.jPanel5.setBounds(new Rectangle(6, 37, 326, 95)); // Generated
this.jPanel5.setBackground(Color.white); // Generated
this.jPanel5.add(this.getJRadioButton2(), null); // Generated
this.jPanel5.add(this.getJRadioButton21(), null); // Generated
this.jPanel5.add(this.getJComboBox2(), null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel5;
}
/**
* This method initializes jRadioButton2
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton2() {
if (this.jRadioButton2 == null) {
try {
this.jRadioButton2 = new JRadioButton();
this.jRadioButton2.setBounds(new Rectangle(9, 4, 220, 20)); // Generated
this.jRadioButton2.setText("Space Delimiter"); // Generated
this.jRadioButton2.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton2.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton2.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton2;
}
/**
* This method initializes jRadioButton21
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton21() {
if (this.jRadioButton21 == null) {
try {
this.jRadioButton21 = new JRadioButton();
this.jRadioButton21.setBounds(new Rectangle(9, 27, 224, 22)); // Generated
this.jRadioButton21.setText("Choose Delimiter"); // Generated
this.jRadioButton21.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton21.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton21.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton21;
}
/**
* This method initializes jComboBox
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox() {
if (this.jComboBox == null) {
try {
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox;
}
/**
* This method initializes jTextPane
*
* @return javax.swing.JTextPane
*/
private JTextPane getJTextPane() {
if (this.jTextPane == null) {
try {
this.jTextPane = new JTextPane();
this.jTextPane.setBounds(new Rectangle(16, 160, 311, 218)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jTextPane;
}
/**
* This method initializes jComboBox
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox2() {
if (this.jComboBox == null) {
try {
this.jComboBox = new JComboBox();
this.jComboBox.setBounds(new Rectangle(14, 58, 268, 27)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox;
}
/**
* This method initializes jPanel41
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel41() {
if (this.jPanel41 == null) {
try {
this.jLabel181 = new JLabel();
this.jLabel181.setBounds(new Rectangle(5, 5, 240, 15)); // Generated
this.jLabel181.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel181.setText("Select Fixed Word to extract ( 4 / 12 )"); // Generated
this.jLabel181.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel41 = new JPanel();
this.jPanel41.setLayout(null); // Generated
this.jPanel41.setBackground(Color.white); // Generated
this.jPanel41.setName("jPanel4"); // Generated
this.jPanel41.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel41.add(this.jLabel181, null); // Generated
this.jPanel41.add(this.getJPanel51(), null); // Generated
this.jPanel41.add(this.jLabel191, null); // Generated
this.jPanel41.add(this.getJTextPane1(), null); // Generated
this.jPanel41.add(this.jLabel181, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel41;
}
/**
* This method initializes jPanel51
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel51() {
if (this.jPanel51 == null) {
try {
this.jLabel191 = new JLabel();
this.jLabel191.setBounds(new Rectangle(5, 90, 281, 15)); // Generated
this.jLabel191.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel191.setText("Select the fixed word to extract from this message"); // Generated
this.jLabel191.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jPanel51 = new JPanel();
this.jPanel51.setLayout(null); // Generated
this.jPanel51.setBounds(new Rectangle(6, 37, 326, 95)); // Generated
this.jPanel51.setBackground(Color.white); // Generated
this.jPanel51.add(this.getJRadioButton22(), null); // Generated
this.jPanel51.add(this.getJRadioButton211(), null); // Generated
this.jPanel51.add(this.getJComboBox1(), null); // Generated
this.jPanel51.add(this.jLabel191, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel51;
}
/**
* This method initializes jRadioButton22
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton22() {
if (this.jRadioButton22 == null) {
try {
this.jRadioButton22 = new JRadioButton();
this.jRadioButton22.setBounds(new Rectangle(9, 4, 220, 20)); // Generated
this.jRadioButton22.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton22.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton22.setText("Space Delimiter"); // Generated
this.jRadioButton22.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton22;
}
/**
* This method initializes jRadioButton211
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton211() {
if (this.jRadioButton211 == null) {
try {
this.jRadioButton211 = new JRadioButton();
this.jRadioButton211.setBounds(new Rectangle(9, 27, 224, 22)); // Generated
this.jRadioButton211.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton211.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton211.setText("Choose Delimiter"); // Generated
this.jRadioButton211.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton211;
}
/**
* This method initializes jComboBox1
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox1() {
if (this.jComboBox1 == null) {
try {
this.jComboBox1 = new JComboBox();
this.jComboBox1.setBounds(new Rectangle(14, 58, 268, 27)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox1;
}
/**
* This method initializes jTextPane1
*
* @return javax.swing.JTextPane
*/
private JTextPane getJTextPane1() {
if (this.jTextPane1 == null) {
try {
this.jTextPane1 = new JTextPane();
this.jTextPane1.setBounds(new Rectangle(16, 160, 311, 218)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jTextPane1;
}
/**
* This method initializes jPanel42
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel42() {
if (this.jPanel42 == null) {
try {
this.jLabel182 = new JLabel();
this.jLabel182.setBounds(new Rectangle(5, 5, 257, 15)); // Generated
this.jLabel182.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel182.setText("Select Variable Word to extract ( 5 / 12 )"); // Generated
this.jLabel182.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel42 = new JPanel();
this.jPanel42.setLayout(null); // Generated
this.jPanel42.setBackground(Color.white); // Generated
this.jPanel42.setName("jPanel4"); // Generated
this.jPanel42.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel42.add(this.jLabel182, null); // Generated
this.jPanel42.add(this.getJPanel52(), null); // Generated
this.jPanel42.add(this.jLabel192, null); // Generated
this.jPanel42.add(this.getJTextPane2(), null); // Generated
this.jPanel42.add(this.jLabel182, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel42;
}
/**
* This method initializes jPanel52
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel52() {
if (this.jPanel52 == null) {
try {
this.jLabel192 = new JLabel();
this.jLabel192.setBounds(new Rectangle(5, 90, 295, 15)); // Generated
this.jLabel192.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel192.setText("Select the variable word to extract from this message"); // Generated
this.jLabel192.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jPanel52 = new JPanel();
this.jPanel52.setLayout(null); // Generated
this.jPanel52.setBounds(new Rectangle(6, 37, 326, 95)); // Generated
this.jPanel52.setBackground(Color.white); // Generated
this.jPanel52.add(this.getJRadioButton23(), null); // Generated
this.jPanel52.add(this.getJRadioButton212(), null); // Generated
this.jPanel52.add(this.getJComboBox22(), null); // Generated
this.jPanel52.add(this.jLabel192, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel52;
}
/**
* This method initializes jRadioButton23
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton23() {
if (this.jRadioButton23 == null) {
try {
this.jRadioButton23 = new JRadioButton();
this.jRadioButton23.setBounds(new Rectangle(9, 4, 220, 20)); // Generated
this.jRadioButton23.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton23.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton23.setText("Space Delimiter"); // Generated
this.jRadioButton23.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton23;
}
/**
* This method initializes jRadioButton212
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton212() {
if (this.jRadioButton212 == null) {
try {
this.jRadioButton212 = new JRadioButton();
this.jRadioButton212.setBounds(new Rectangle(9, 27, 224, 22)); // Generated
this.jRadioButton212.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton212.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton212.setText("Choose Delimiter"); // Generated
this.jRadioButton212.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton212;
}
/**
* This method initializes jComboBox2
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox22() {
if (this.jComboBox2 == null) {
try {
this.jComboBox2 = new JComboBox();
this.jComboBox2.setBounds(new Rectangle(14, 58, 268, 27)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox2;
}
/**
* This method initializes jTextPane2
*
* @return javax.swing.JTextPane
*/
private JTextPane getJTextPane2() {
if (this.jTextPane2 == null) {
try {
this.jTextPane2 = new JTextPane();
this.jTextPane2.setBounds(new Rectangle(16, 160, 311, 218)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jTextPane2;
}
/**
* This method initializes jPanel6
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel6() {
if (this.jPanel6 == null) {
try {
this.jLabel22 = new JLabel();
this.jLabel22.setBounds(new Rectangle(5, 75, 59, 15)); // Generated
this.jLabel22.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel22.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel22.setText("Field Name"); // Generated
this.jLabel22.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jLabel20 = new JLabel();
this.jLabel20.setBounds(new Rectangle(5, 5, 279, 15)); // Generated
this.jLabel20.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel20.setText("Choose field name to be processed ( 6 / 12 )"); // Generated
this.jLabel20.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel6 = new JPanel();
this.jPanel6.setLayout(null); // Generated
this.jPanel6.setName("jPanel6"); // Generated
this.jPanel6.setBackground(Color.white); // Generated
this.jPanel6.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel6.add(this.jLabel20, null); // Generated
this.jPanel6.add(this.getJComboBox3(), null); // Generated
this.jPanel6.add(this.jLabel20, null); // Generated
this.jPanel6.add(this.jLabel22, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel6;
}
/**
* This method initializes jComboBox3
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox3() {
if (this.jComboBox3 == null) {
try {
this.jComboBox3 = new JComboBox();
this.jComboBox3.setBounds(new Rectangle(15, 44, 294, 26)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox3;
}
/**
* This method initializes jPanel7
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel7() {
if (this.jPanel7 == null) {
try {
this.jLabel21 = new JLabel();
this.jLabel21.setBounds(new Rectangle(5, 5, 244, 15)); // Generated
this.jLabel21.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel21.setText("Regular Expression filed name ( 7 / 12 )"); // Generated
this.jLabel21.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel7 = new JPanel();
this.jPanel7.setLayout(null); // Generated
this.jPanel7.setName("jPanel7"); // Generated
this.jPanel7.setBackground(Color.white); // Generated
this.jPanel7.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel7.add(this.jLabel21, null); // Generated
this.jPanel7.add(this.getJComboBox4(), null); // Generated
this.jPanel7.add(this.jLabel22, null); // Generated
this.jPanel7.add(this.getJTextField(), null); // Generated
this.jPanel7.add(this.jLabel21, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel7;
}
/**
* This method initializes jComboBox4
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox4() {
if (this.jComboBox4 == null) {
try {
this.jComboBox4 = new JComboBox();
this.jComboBox4.setBounds(new Rectangle(14, 41, 316, 22)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox4;
}
/**
* This method initializes jTextField
*
* @return javax.swing.JTextField
*/
private JTextField getJTextField() {
if (this.jTextField == null) {
try {
this.jTextField = new JTextField();
this.jTextField.setBounds(new Rectangle(15, 104, 316, 26)); // Generated
this.jTextField.setText("Regular Expression Field Name"); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jTextField;
}
/**
* This method initializes jPanel8
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel8() {
if (this.jPanel8 == null) {
try {
this.jLabel24 = new JLabel();
this.jLabel24.setBounds(new Rectangle(5, 25, 88, 15)); // Generated
this.jLabel24.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel24.setText("Processed Fields"); // Generated
this.jLabel24.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jLabel23 = new JLabel();
this.jLabel23.setBounds(new Rectangle(5, 5, 249, 15)); // Generated
this.jLabel23.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel23.setText("Choose already processed field ( 8 / 12 )"); // Generated
this.jLabel23.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel8 = new JPanel();
this.jPanel8.setLayout(null); // Generated
this.jPanel8.setName("jPanel8"); // Generated
this.jPanel8.setBackground(Color.white); // Generated
this.jPanel8.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel8.add(this.jLabel23, null); // Generated
this.jPanel8.add(this.jLabel24, null); // Generated
this.jPanel8.add(this.getJComboBox5(), null); // Generated
this.jPanel8.add(this.jLabel23, null); // Generated
this.jPanel8.add(this.jLabel24, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel8;
}
/**
* This method initializes jComboBox5
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox5() {
if (this.jComboBox5 == null) {
try {
this.jComboBox5 = new JComboBox();
this.jComboBox5.setBounds(new Rectangle(15, 74, 316, 28)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox5;
}
/**
* This method initializes jPanel9
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel9() {
if (this.jPanel9 == null) {
try {
this.jLabel26 = new JLabel();
this.jLabel26.setBounds(new Rectangle(5, 25, 73, 15)); // Generated
this.jLabel26.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel26.setText("Final Message"); // Generated
this.jLabel26.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jLabel25 = new JLabel();
this.jLabel25.setBounds(new Rectangle(5, 5, 308, 15)); // Generated
this.jLabel25.setText("Final message with standard field names ( 9 / 12 )"); // Generated
this.jLabel25.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel9 = new JPanel();
this.jPanel9.setLayout(null); // Generated
this.jPanel9.setName("jPanel9"); // Generated
this.jPanel9.setBackground(Color.white); // Generated
this.jPanel9.setForeground(new Color(0, 153, 255)); // Generated
this.jPanel9.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel9.add(this.jLabel25, null); // Generated
this.jPanel9.add(this.jLabel26, null); // Generated
this.jPanel9.add(this.getJComboBox6(), null); // Generated
this.jPanel9.add(this.jLabel25, null); // Generated
this.jPanel9.add(this.jLabel26, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel9;
}
/**
* This method initializes jComboBox6
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox6() {
if (this.jComboBox6 == null) {
try {
this.jComboBox6 = new JComboBox();
this.jComboBox6.setBounds(new Rectangle(12, 60, 320, 26)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox6;
}
/**
* This method initializes jPanel10
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel10() {
if (this.jPanel10 == null) {
try {
this.jLabel31 = new JLabel();
this.jLabel31.setBounds(new Rectangle(262, 5, 52, 15)); // Generated
this.jLabel31.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel31.setText("MT Name"); // Generated
this.jLabel31.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jLabel28 = new JLabel();
this.jLabel28.setBounds(new Rectangle(174, 5, 83, 16)); // Generated
this.jLabel28.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel28.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel28.setText("Choose Output"); // Generated
this.jLabel28.setFont(new Font("Dialog", Font.PLAIN, 12)); // Generated
this.jLabel27 = new JLabel();
this.jLabel27.setBounds(new Rectangle(5, 5, 164, 15)); // Generated
this.jLabel27.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel27.setText("Possible ouput ( 10 / 12 )"); // Generated
this.jLabel27.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jLabel29 = new JLabel();
this.jLabel29.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel29.setText("Generated ouput ( 11 / 12 )"); // Generated
this.jLabel29.setBounds(new Rectangle(5, 392, 178, 15)); // Generated
this.jLabel29.setFont(new Font("Tahoma", Font.BOLD, 12)); // Generated
this.jPanel10 = new JPanel();
this.jPanel10.setLayout(null); // Generated
this.jPanel10.setName("jPanel10"); // Generated
this.jPanel10.setBackground(Color.white); // Generated
this.jPanel10.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel10.add(this.jLabel27, null); // Generated
this.jPanel10.add(this.jLabel28, null); // Generated
this.jPanel10.add(this.getJComboBox7(), null); // Generated
this.jPanel10.add(this.jLabel27, null); // Generated
this.jPanel10.add(this.jLabel28, null); // Generated
this.jPanel10.add(this.jLabel31, null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel10;
}
/**
* This method initializes jComboBox7
*
* @return javax.swing.JComboBox
*/
private JComboBox getJComboBox7() {
if (this.jComboBox7 == null) {
try {
this.jComboBox7 = new JComboBox();
this.jComboBox7.setBounds(new Rectangle(14, 75, 317, 26)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jComboBox7;
}
/**
* This method initializes jPanel11
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel11() {
if (this.jPanel11 == null) {
try {
this.jLabel30 = new JLabel();
this.jLabel30.setBounds(new Rectangle(188, 392, 102, 15)); // Generated
this.jLabel30.setForeground(new Color(0, 153, 255)); // Generated
this.jLabel30.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jLabel30.setText("Generated Output"); // Generated
this.jLabel30.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jPanel11 = new JPanel();
this.jPanel11.setLayout(null); // Generated
this.jPanel11.setName("jPanel11"); // Generated
this.jPanel11.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.jPanel11.setBackground(Color.white); // Generated
this.jPanel11.setBounds(new Rectangle(1, 1, 339, 387)); // Generated
this.jPanel11.add(this.jLabel29, null); // Generated
this.jPanel11.add(this.jLabel30, null); // Generated
this.jPanel11.add(this.jLabel29, null); // Generated
this.jPanel11.add(this.jLabel30, null); // Generated
this.jPanel11.add(this.getJTextArea(), null); // Generated
this.jPanel11.add(this.jLabel31, null); // Generated
this.jPanel11.add(this.getJTextField1(), null); // Generated
this.jPanel11.add(this.getJButton(), null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel11;
}
/**
* This method initializes jTextArea
*
* @return javax.swing.JTextArea
*/
private JTextArea getJTextArea() {
if (this.jTextArea == null) {
try {
this.jTextArea = new JTextArea();
this.jTextArea.setBounds(new Rectangle(16, 71, 315, 234)); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jTextArea;
}
/**
* This method initializes jTextField1
*
* @return javax.swing.JTextField
*/
private JTextField getJTextField1() {
if (this.jTextField1 == null) {
try {
this.jTextField1 = new JTextField();
this.jTextField1.setBounds(new Rectangle(81, 316, 252, 19)); // Generated
this.jTextField1.setText("Give MT Name"); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jTextField1;
}
/**
* This method initializes jButton
*
* @return javax.swing.JButton
*/
private JButton getJButton() {
if (this.jButton == null) {
try {
this.jButton = new JButton();
this.jButton.setBounds(new Rectangle(213, 344, 117, 25)); // Generated
this.jButton.setText("Update MT"); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jButton;
}
/**
* This method initializes jPanel12
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel12() {
if (this.jPanel12 == null) {
try {
this.jPanel12.add(this.jLabel32, null); // Generated
this.jPanel12.add(this.getJCheckBox(), null); // Generated
this.jPanel12.add(this.getJCheckBox1(), null); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jPanel12;
}
/**
* This method initializes jRadioButton3
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton3() {
if (this.jRadioButton3 == null) {
try {
this.jRadioButton3 = new JRadioButton();
this.jRadioButton3.setBounds(new Rectangle(25, 49, 224, 20)); // Generated
this.jRadioButton3.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton3.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton3.setText("Input Text Message"); // Generated
this.jRadioButton3.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton3;
}
/**
* This method initializes jRadioButton12
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton12() {
if (this.jRadioButton12 == null) {
try {
this.jRadioButton12 = new JRadioButton();
this.jRadioButton12.setBounds(new Rectangle(26, 68, 300, 27)); // Generated
this.jRadioButton12.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton12.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton12.setText("Copy & Paste Text Message"); // Generated
this.jRadioButton12.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton12;
}
/**
* This method initializes jRadioButton112
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton112() {
if (this.jRadioButton112 == null) {
try {
this.jRadioButton112 = new JRadioButton();
this.jRadioButton112.setBounds(new Rectangle(26, 93, 299, 23)); // Generated
this.jRadioButton112.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton112.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton112.setText("Input XML Message"); // Generated
this.jRadioButton112.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton112;
}
/**
* This method initializes jRadioButton1112
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton1112() {
if (this.jRadioButton1112 == null) {
try {
this.jRadioButton1112 = new JRadioButton();
this.jRadioButton1112.setBounds(new Rectangle(27, 113, 298, 27)); // Generated
this.jRadioButton1112.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton1112.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton1112.setText("Read from Database"); // Generated
this.jRadioButton1112.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton1112;
}
/**
* This method initializes jRadioButton11111
*
* @return javax.swing.JRadioButton
*/
private JRadioButton getJRadioButton11111() {
if (this.jRadioButton11111 == null) {
try {
this.jRadioButton11111 = new JRadioButton();
this.jRadioButton11111.setBounds(new Rectangle(27, 140, 301, 20)); // Generated
this.jRadioButton11111.setFont(new Font("Tahoma", Font.PLAIN, 12)); // Generated
this.jRadioButton11111.setForeground(new Color(0, 153, 255)); // Generated
this.jRadioButton11111.setText("Read from File"); // Generated
this.jRadioButton11111.setBackground(Color.white); // Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.jRadioButton11111;
}
/**
* This method initializes btnBack
*
* @return javax.swing.JButton
*/
private JButton getBtnBack() {
if (this.btnBack == null) {
try {
this.btnBack = new JButton();
this.btnBack.setBounds(new Rectangle(318, 472, 63, 20)); // Generated
this.btnBack.setBackground(Color.white); // Generated
this.btnBack.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.btnBack.setIcon(new ImageIcon(this.getClass().getResource("/images/back.jpg")));
this.btnBack.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
ExtractWord.this.btnBackActionPerformed(evt);
}
});
this.btnBack.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseEntered(java.awt.event.MouseEvent evt) {
ExtractWord.this.btnBackMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
ExtractWord.this.btnBackMouseExited(evt);
}
});// Generated
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.btnBack;
}
/**
* This method initializes btnNext
*
* @return javax.swing.JButton
*/
private JButton getBtnNext() {
if (this.btnNext == null) {
try {
this.btnNext = new JButton();
this.btnNext.setBounds(new Rectangle(385, 470, 64, 24)); // Generated
this.btnNext.setBackground(Color.white); // Generated
this.btnNext.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); // Generated
this.btnNext.setIcon(new ImageIcon(this.getClass().getResource("/images/next.jpg"))); // Generated
this.btnNext.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseEntered(java.awt.event.MouseEvent evt) {
ExtractWord.this.btnNextMouseEntered(evt);
}
public void mouseExited(java.awt.event.MouseEvent evt) {
ExtractWord.this.btnNextMouseExited(evt);
}
});
this.btnNext.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
ExtractWord.this.btnNextActionPerformed(evt);
}
});
} catch (java.lang.Throwable e) {
// TODO: Something
}
}
return this.btnNext;
}
/**
* @param args
*/
private void btnHelpMouseExited(java.awt.event.MouseEvent evt) {
this.btnHelp.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/help.jpg ")));
}
private void btnHelpMouseEntered(java.awt.event.MouseEvent evt) {
this.btnHelp.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/help-over.jpg ")));
}
private void btnCancelMouseExited(java.awt.event.MouseEvent evt) {
this.btnCancel.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/cancel.jpg ")));
}
private void btnCancelMouseEntered(java.awt.event.MouseEvent evt) {
this.btnCancel.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/cancel-over.jpg ")));
}
private void btnCancelActionPerformed(java.awt.event.ActionEvent evt) {
this.setVisible(false);
}
private void btnFinishMouseExited(java.awt.event.MouseEvent evt) {
this.btnFinish.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/finish.jpg ")));
}
private void btnFinishMouseEntered(java.awt.event.MouseEvent evt) {
this.btnFinish.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/finish-over.jpg ")));
}
private void btnFinishActionPerformed(java.awt.event.ActionEvent evt) {
this.setVisible(false);
}
private void btnNextMouseExited(java.awt.event.MouseEvent evt) {
this.btnNext.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/next.jpg ")));
}
private void btnNextMouseEntered(java.awt.event.MouseEvent evt) {
this.btnNext.setIcon(new javax.swing.ImageIcon(this.getClass().getResource("/images/newImages/next-over.jpg ")));
}
private void btnNextActionPerformed(java.awt.event.ActionEvent evt) {
this.card = String.valueOf(this.nu + 1);
if (this.nu == 1) {
this.lbGetMessageText.setFont(new Font("Tahoma",Font.BOLD,11).deriveFont(Font.BOLD));
this.lbIntroduction.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbExtractWord.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbExtractFixedWord.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbExtractVariable.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbChooseField.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbChooseRegExp.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbChooseProcessedFiled.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbFinalMsg.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbPossibleOutput.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbGenerateOuput.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.lbSaveGeneratedOuput.setFont(new Font("Tahoma",Font.PLAIN,11).deriveFont(Font.PLAIN));
this.btnBack.setEnabled(true);<
|
|
|
Re: Setting Cardlay out for multiple components in a container [message #135300 is a reply to message #135274] |
Mon, 29 January 2007 10:09  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
I don't understand. First do you mean AWT CardLayout? (If you mean SWT
StackLayout, we messed up and missed that one).
Next what do you mean by assign card layout to different panels?
Typically you only assign card layout to one panel. The child panels
will then be handled as cards automatically. If you do that, then you
can use the Beans Viewer to switch between the cards. From the beans
viewer, select any child component and the VE will switch the card
layout to the panel that contains that component and show it.
imran khan wrote:
> Hi,
> I need help to assign card lay out to different panels in a main panel and also for navigation of these using buttons.
> Plz help me for this.
> thanks.
--
Thanks,
Rich Kulp
|
|
|
Re: Setting Cardlay out for multiple components in a container [message #615026 is a reply to message #135274] |
Mon, 29 January 2007 10:09  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
I don't understand. First do you mean AWT CardLayout? (If you mean SWT
StackLayout, we messed up and missed that one).
Next what do you mean by assign card layout to different panels?
Typically you only assign card layout to one panel. The child panels
will then be handled as cards automatically. If you do that, then you
can use the Beans Viewer to switch between the cards. From the beans
viewer, select any child component and the VE will switch the card
layout to the panel that contains that component and show it.
imran khan wrote:
> Hi,
> I need help to assign card lay out to different panels in a main panel and also for navigation of these using buttons.
> Plz help me for this.
> thanks.
--
Thanks,
Rich Kulp
|
|
|
Goto Forum:
Current Time: Wed Jun 18 08:32:40 EDT 2025
Powered by FUDForum. Page generated in 0.15431 seconds
|