Example usage for com.jgoodies.forms.factories CC xy

List of usage examples for com.jgoodies.forms.factories CC xy

Introduction

In this page you can find the example usage for com.jgoodies.forms.factories CC xy.

Prototype

public static CellConstraints xy(int col, int row, Alignment colAlign, Alignment rowAlign) 

Source Link

Document

Sets the column and row origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects.

Examples:

 CC.xy(1, 3, CellConstraints.LEFT,   CellConstraints.BOTTOM); CC.xy(1, 3, CellConstraints.CENTER, CellConstraints.FILL); 

Usage

From source file:SearchPreferencesView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    scrollPane1 = new JScrollPane();
    panel1 = new JPanel();
    leftPanel = new JPanel();
    leftInnerPanel = new JPanel();
    orientationContainer = new JPanel();
    label1 = new JLabel();
    orientationCombo = new JComboBox<>();
    radiusContainer = new JPanel();
    label2 = new JLabel();
    radiusCombo = new JComboBox<>();
    lastOnlineContainer = new JPanel();
    label3 = new JLabel();
    lastOnlineCombo = new JComboBox<>();
    panel20 = new JPanel();
    label4 = new JLabel();
    agePanel = new JPanel();
    minAgeText = new JTextField();
    label5 = new JLabel();
    maxAgeText = new JTextField();
    orderByContainer = new JPanel();
    label6 = new JLabel();
    orderByCombo = new JComboBox<>();
    visitsContainer = new JPanel();
    label40 = new JLabel();
    runVisitsText = new JTextField();
    autohideCheckBox = new JCheckBox();
    visitDelayContainer = new JPanel();
    label42 = new JLabel();
    visitDelayText = new JTextField();
    autoDeleteInboxCheckBox = new JCheckBox();
    heightContainer = new JPanel();
    label25 = new JLabel();
    heightPanel = new JPanel();
    minHeightCombo = new JComboBox<>();
    label26 = new JLabel();
    maxHeightCombo = new JComboBox<>();
    separator1 = new JSeparator();
    ethnicityContainer = new JPanel();
    label38 = new JLabel();
    ethnicitySelectionPanel = new JPanel();
    whiteCheckBox = new JCheckBox();
    asianCheckBox = new JCheckBox();
    blackCheckBox = new JCheckBox();
    hispanicCheckBox = new JCheckBox();
    indianCheckBox = new JCheckBox();
    middleEasternCheckBox = new JCheckBox();
    nativeAmericanCheckBox = new JCheckBox();
    pacificIslanderCheckBox = new JCheckBox();
    otherEthnicityCheckBox = new JCheckBox();
    bodyTypeContainer = new JPanel();
    label36 = new JLabel();
    bodyTypeSelectionPanel = new JPanel();
    thinCheckbox = new JCheckBox();
    fitCheckbox = new JCheckBox();
    averageBodyCheckbox = new JCheckBox();
    curvyCheckbox = new JCheckBox();
    jackedCheckbox = new JCheckBox();
    fullFiguredCheckbox = new JCheckBox();
    aLittleExtraCheckbox = new JCheckBox();
    overweightCheckbox = new JCheckBox();
    attractivenessContainer = new JPanel();
    label35 = new JLabel();
    attractivenessSelectionPanel = new JPanel();
    averageAttractivenessCheckbox = new JCheckBox();
    aboveAverageCheckbox = new JCheckBox();
    hotCheckbox = new JCheckBox();
    religionContainer = new JPanel();
    label24 = new JLabel();
    religionSelectionPanel = new JPanel();
    agnosticismCheckBox = new JCheckBox();
    atheismCheckBox = new JCheckBox();
    buddhismCheckBox = new JCheckBox();
    catholicismCheckBox = new JCheckBox();
    christianityCheckBox = new JCheckBox();
    hinduismCheckBox = new JCheckBox();
    judaismCheckBox = new JCheckBox();
    islamCheckBox = new JCheckBox();
    otherReligionCheckBox = new JCheckBox();
    childrenContainer = new JPanel();
    label32 = new JLabel();
    mainChildrenPanel = new JPanel();
    subChildrenPanel1 = new JPanel();
    wantsCheckBox = new JCheckBox();
    mightWantCheckBox = new JCheckBox();
    doesntWantCheckBox = new JCheckBox();
    separator3 = new JSeparator();
    subChildrenPanel2 = new JPanel();
    hasKidsCheckBox = new JCheckBox();
    doesnthaveCheckBox = new JCheckBox();
    rightPanel = new JPanel();
    advancedFiltersPanel = new JPanel();
    label8 = new JLabel();
    label9 = new JLabel();
    label10 = new JLabel();
    label11 = new JLabel();
    aggressivenessDegCombo = new JComboBox<>();
    aggressivenessImpCombo = new JComboBox<>();
    label12 = new JLabel();
    athleticismDegCombo = new JComboBox<>();
    athleticismImpCombo = new JComboBox<>();
    label13 = new JLabel();
    cockinessDegCombo = new JComboBox<>();
    cockinessImpCombo = new JComboBox<>();
    label14 = new JLabel();
    dorkinessDegCombo = new JComboBox<>();
    dorkinessImpCombo = new JComboBox<>();
    label15 = new JLabel();
    independenceDegCombo = new JComboBox<>();
    independenceImpCombo = new JComboBox<>();
    label16 = new JLabel();
    indieDegCombo = new JComboBox<>();
    indieImpCombo = new JComboBox<>();
    label17 = new JLabel();
    introversionDegCombo = new JComboBox<>();
    introversionImpCombo = new JComboBox<>();
    label18 = new JLabel();
    oldFashinednessDegCombo = new JComboBox<>();
    oldFashinednessImpCombo = new JComboBox<>();
    label19 = new JLabel();
    planningDegCombo = new JComboBox<>();
    planningImpCombo = new JComboBox<>();
    label20 = new JLabel();
    politicalDegCombo = new JComboBox<>();
    politicalImpCombo = new JComboBox<>();
    label21 = new JLabel();
    sexualExperienceDegCombo = new JComboBox<>();
    sexualExperienceImpCombo = new JComboBox<>();
    label22 = new JLabel();
    sociallyFreeDegCombo = new JComboBox<>();
    sociallyFreeImpCombo = new JComboBox<>();
    label23 = new JLabel();
    spiritualityDegCombo = new JComboBox<>();
    spiritualityImpCombo = new JComboBox<>();
    educationContainer = new JPanel();
    label33 = new JLabel();
    educationSelectionPanel = new JPanel();
    highschoolCheckBox = new JCheckBox();
    twoyearCollegeCheckBox = new JCheckBox();
    universityCheckBox = new JCheckBox();
    postGradCheckBox = new JCheckBox();
    smokesContainer = new JPanel();
    label27 = new JLabel();
    smokesSelectionPanel = new JPanel();
    yesCheckBox = new JCheckBox();
    noCheckBox = new JCheckBox();
    whenDrinkingCheckBox = new JCheckBox();
    sometimesSmokesCheckBox = new JCheckBox();
    tryingToQuitCheckBox = new JCheckBox();
    drinksContainer = new JPanel();
    label28 = new JLabel();
    drinksSelectionPanel = new JPanel();
    sociallyCheckBox = new JCheckBox();
    oftenDrinksCheckBox = new JCheckBox();
    rarelyCheckBox = new JCheckBox();
    notAtAllCheckBox = new JCheckBox();
    desperatelyCheckBox = new JCheckBox();
    veryOftenCheckBox = new JCheckBox();
    drugsContainer = new JPanel();
    label29 = new JLabel();
    drugsSelectionPanel = new JPanel();
    everCheckBox = new JCheckBox();
    sometimesDrugsCheckBox = new JCheckBox();
    oftenDrugsCheckBox = new JCheckBox();
    buttonPanel = new JPanel();
    closeButton = new JButton();
    resetButton = new JButton();
    applyButton = new JButton();

    //======== this ========
    setTitle("Search Settings");
    addWindowListener(new WindowAdapter() {
        @Override/*  ww w .j av  a  2s .c o  m*/
        public void windowOpened(WindowEvent e) {
            thisWindowOpened(e);
        }
    });
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("337dlu", "467dlu"));

    //======== scrollPane1 ========
    {
        scrollPane1.setMinimumSize(new Dimension(23, 780));
        scrollPane1.setPreferredSize(new Dimension(619, 759));

        //======== panel1 ========
        {
            panel1.setPreferredSize(new Dimension(600, 746));
            panel1.setName("panel1");
            panel1.setLayout(new FormLayout("165dlu, left:166dlu", "top:442dlu, $lgap, default:grow"));

            //======== leftPanel ========
            {
                leftPanel.setName("leftPanel");
                leftPanel.setPreferredSize(new Dimension(297, 1000));
                leftPanel.setLayout(new FormLayout("163dlu", "top:min"));

                //======== leftInnerPanel ========
                {
                    leftInnerPanel.setPreferredSize(new Dimension(3245, 800));
                    leftInnerPanel.setName("leftInnerPanel");
                    leftInnerPanel.setLayout(new FormLayout("left:155dlu",
                            "7*(default, $lgap), default, 13dlu, 4*(default, $lgap), default"));

                    //======== orientationContainer ========
                    {
                        orientationContainer.setName("orientationContainer");
                        orientationContainer.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label1 ----
                        label1.setText("Search for:");
                        label1.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orientationContainer.add(label1, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- orientationCombo ----
                        orientationCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orientationCombo.setModel(new DefaultComboBoxModel<>(
                                new String[] { "men who like women", "women who like men" }));
                        orientationCombo.setName("orientation");
                        orientationContainer.add(orientationCombo, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(orientationContainer, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                    //======== radiusContainer ========
                    {
                        radiusContainer.setName("radiusContainer");
                        radiusContainer.setLayout(new FormLayout("default, $lcgap, 72dlu", "default"));

                        //---- label2 ----
                        label2.setText("Radius:");
                        label2.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        radiusContainer.add(label2, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- radiusCombo ----
                        radiusCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        radiusCombo.setModel(new DefaultComboBoxModel<>(
                                new String[] { "Anywhere", "5", "10", "25", "50", "100", "250", "500" }));
                        radiusCombo.setPreferredSize(new Dimension(150, 27));
                        radiusCombo.setName("radius");
                        radiusContainer.add(radiusCombo, CC.xy(3, 1, CC.LEFT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(radiusContainer, CC.xy(1, 3, CC.CENTER, CC.DEFAULT));

                    //======== lastOnlineContainer ========
                    {
                        lastOnlineContainer.setName("lastOnlineContainer");
                        lastOnlineContainer.setLayout(new FormLayout("default, $lcgap, 82dlu", "default"));

                        //---- label3 ----
                        label3.setText("Last online:");
                        label3.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        lastOnlineContainer.add(label3, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- lastOnlineCombo ----
                        lastOnlineCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        lastOnlineCombo.setModel(new DefaultComboBoxModel<>(new String[] { "online now",
                                "past day", "past week", "past month", "past year" }));
                        lastOnlineCombo.setName("last_login");
                        lastOnlineContainer.add(lastOnlineCombo, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(lastOnlineContainer, CC.xy(1, 5, CC.CENTER, CC.DEFAULT));

                    //======== panel20 ========
                    {
                        panel20.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label4 ----
                        label4.setText("Ages:");
                        label4.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        panel20.add(label4, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //======== agePanel ========
                        {
                            agePanel.setName("agePanel");
                            agePanel.setLayout(new FormLayout("3*(default)", "default"));

                            //---- minAgeText ----
                            minAgeText.setPreferredSize(new Dimension(50, 28));
                            minAgeText.setText("18");
                            minAgeText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            minAgeText.setName("minimum_age");
                            agePanel.add(minAgeText, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                            //---- label5 ----
                            label5.setText("-");
                            agePanel.add(label5, CC.xy(2, 1, CC.CENTER, CC.CENTER));

                            //---- maxAgeText ----
                            maxAgeText.setPreferredSize(new Dimension(50, 28));
                            maxAgeText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            maxAgeText.setName("maximum_age");
                            maxAgeText.setText("99");
                            agePanel.add(maxAgeText, CC.xy(3, 1));
                        }
                        panel20.add(agePanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(panel20, CC.xy(1, 7, CC.RIGHT, CC.DEFAULT));

                    //======== orderByContainer ========
                    {
                        orderByContainer.setName("orderByContainer");
                        orderByContainer.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label6 ----
                        label6.setText("Sort by:");
                        label6.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orderByContainer.add(label6, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- orderByCombo ----
                        orderByCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        orderByCombo.setModel(new DefaultComboBoxModel<>(
                                new String[] { "Login", "Join", "Match", "Match and Login",
                                        "Match and Distance", "Enemy", "Special blend", "Random" }));
                        orderByCombo.setPreferredSize(new Dimension(150, 27));
                        orderByCombo.setName("order_by");
                        orderByContainer.add(orderByCombo, CC.xy(3, 1, CC.LEFT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(orderByContainer, CC.xy(1, 9, CC.RIGHT, CC.DEFAULT));

                    //======== visitsContainer ========
                    {
                        visitsContainer.setName("visitsContainer");
                        visitsContainer.setLayout(
                                new FormLayout("44dlu, $lcgap, left:28dlu, $lcgap, 72dlu", "default"));

                        //---- label40 ----
                        label40.setText("# Visits:");
                        label40.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        visitsContainer.add(label40, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- runVisitsText ----
                        runVisitsText.setPreferredSize(new Dimension(50, 28));
                        runVisitsText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        runVisitsText.setName("limit");
                        runVisitsText.setText("50");
                        visitsContainer.add(runVisitsText, CC.xy(3, 1));

                        //---- autohideCheckBox ----
                        autohideCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        autohideCheckBox.setName("autoHide");
                        autohideCheckBox.setText("Auto-Hide");
                        visitsContainer.add(autohideCheckBox, CC.xy(5, 1, CC.LEFT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(visitsContainer, CC.xy(1, 11, CC.RIGHT, CC.DEFAULT));

                    //======== visitDelayContainer ========
                    {
                        visitDelayContainer.setName("visitDelayContainer");
                        visitDelayContainer.setLayout(
                                new FormLayout("default, $lcgap, left:28dlu, $lcgap, 72dlu", "default"));

                        //---- label42 ----
                        label42.setText("Visit Delay:");
                        label42.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        visitDelayContainer.add(label42, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //---- visitDelayText ----
                        visitDelayText.setPreferredSize(new Dimension(50, 28));
                        visitDelayText.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        visitDelayText.setText("10.5");
                        visitDelayText.setName("visitDelay");
                        visitDelayContainer.add(visitDelayText, CC.xy(3, 1));

                        //---- autoDeleteInboxCheckBox ----
                        autoDeleteInboxCheckBox.setText("Auto-delete inbox");
                        autoDeleteInboxCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        autoDeleteInboxCheckBox.setName("autoDeleteInbox");
                        visitDelayContainer.add(autoDeleteInboxCheckBox, CC.xy(5, 1, CC.FILL, CC.DEFAULT));
                    }
                    leftInnerPanel.add(visitDelayContainer, CC.xy(1, 13, CC.RIGHT, CC.DEFAULT));

                    //======== heightContainer ========
                    {
                        heightContainer.setName("heightContainer");
                        heightContainer.setLayout(new FormLayout("default, $lcgap, 101dlu", "default"));

                        //---- label25 ----
                        label25.setText("Height:");
                        label25.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        heightContainer.add(label25, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

                        //======== heightPanel ========
                        {
                            heightPanel.setPreferredSize(new Dimension(158, 25));
                            heightPanel.setName("heightPanel");
                            heightPanel
                                    .setLayout(new FormLayout("default, center:default, default", "default"));

                            //---- minHeightCombo ----
                            minHeightCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            minHeightCombo.setPreferredSize(new Dimension(75, 28));
                            minHeightCombo.setModel(new DefaultComboBoxModel<>(new String[] { "5'0\"", "5'1\"",
                                    "5'2\"", "5'3\"", "5'4\"", "5'5\"", "5'6\"", "5'7\"", "5'8\"", "5'9\"",
                                    "5'10\"", "5'11\"", "6'0\"", "6'1\"", "6'2\"", "6'3\"", "6'4\"" }));
                            minHeightCombo.setName("minimum_height");
                            heightPanel.add(minHeightCombo, CC.xy(1, 1));

                            //---- label26 ----
                            label26.setText("-");
                            heightPanel.add(label26, CC.xy(2, 1, CC.CENTER, CC.CENTER));

                            //---- maxHeightCombo ----
                            maxHeightCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                            maxHeightCombo.setPreferredSize(new Dimension(75, 28));
                            maxHeightCombo.setModel(new DefaultComboBoxModel<>(new String[] { "6'4\"", "6'3\"",
                                    "6'2\"", "6'1\"", "6'0\"", "5'11\"", "5'10\"", "5'9\"", "5'8\"", "5'7\"",
                                    "5'6\"", "5'5\"", "5'4\"", "5'3\"", "5'2\"", "5'1\"", "5'0\"" }));
                            maxHeightCombo.setName("maximum_height");
                            heightPanel.add(maxHeightCombo, CC.xy(3, 1));
                        }
                        heightContainer.add(heightPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(heightContainer, CC.xy(1, 15, CC.RIGHT, CC.DEFAULT));

                    //---- separator1 ----
                    separator1.setForeground(Color.black);
                    leftInnerPanel.add(separator1, CC.xy(1, 16, CC.FILL, CC.DEFAULT));

                    //======== ethnicityContainer ========
                    {
                        ethnicityContainer.setName("ethnicityContainer");
                        ethnicityContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        ethnicityContainer.setLayout(new FormLayout("33dlu, $lcgap, 120dlu", "default"));

                        //---- label38 ----
                        label38.setText("Ethnicity:");
                        label38.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        ethnicityContainer.add(label38,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== ethnicitySelectionPanel ========
                        {
                            ethnicitySelectionPanel.setName("ethnicitySelectionPanel");
                            ethnicitySelectionPanel
                                    .setLayout(new FormLayout("default, $lcgap, default", "5*(default)"));

                            //---- whiteCheckBox ----
                            whiteCheckBox.setText("White");
                            whiteCheckBox.setName("white");
                            whiteCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            ethnicitySelectionPanel.add(whiteCheckBox, CC.xy(1, 1));

                            //---- asianCheckBox ----
                            asianCheckBox.setText("Asian");
                            asianCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            asianCheckBox.setName("asian");
                            ethnicitySelectionPanel.add(asianCheckBox, CC.xy(3, 1));

                            //---- blackCheckBox ----
                            blackCheckBox.setText("Black");
                            blackCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            blackCheckBox.setName("black");
                            ethnicitySelectionPanel.add(blackCheckBox, CC.xy(1, 2));

                            //---- hispanicCheckBox ----
                            hispanicCheckBox.setText("Hispanic");
                            hispanicCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            hispanicCheckBox.setName("hispanic_latin");
                            ethnicitySelectionPanel.add(hispanicCheckBox, CC.xy(3, 2));

                            //---- indianCheckBox ----
                            indianCheckBox.setText("Indian");
                            indianCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            indianCheckBox.setName("indian");
                            ethnicitySelectionPanel.add(indianCheckBox, CC.xy(1, 3));

                            //---- middleEasternCheckBox ----
                            middleEasternCheckBox.setText("Middle-Eastern");
                            middleEasternCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            middleEasternCheckBox.setName("middle_eastern");
                            ethnicitySelectionPanel.add(middleEasternCheckBox, CC.xy(3, 3));

                            //---- nativeAmericanCheckBox ----
                            nativeAmericanCheckBox.setText("Native American");
                            nativeAmericanCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            nativeAmericanCheckBox.setName("native_american");
                            ethnicitySelectionPanel.add(nativeAmericanCheckBox, CC.xy(1, 4));

                            //---- pacificIslanderCheckBox ----
                            pacificIslanderCheckBox.setText("Pacific Islander");
                            pacificIslanderCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            pacificIslanderCheckBox.setName("pacific_islander");
                            ethnicitySelectionPanel.add(pacificIslanderCheckBox, CC.xy(3, 4));

                            //---- otherEthnicityCheckBox ----
                            otherEthnicityCheckBox.setText("Other");
                            otherEthnicityCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            otherEthnicityCheckBox.setName("other_ethnicity");
                            ethnicitySelectionPanel.add(otherEthnicityCheckBox, CC.xy(1, 5));
                        }
                        ethnicityContainer.add(ethnicitySelectionPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(ethnicityContainer, CC.xy(1, 17));

                    //======== bodyTypeContainer ========
                    {
                        bodyTypeContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        bodyTypeContainer.setName("bodyTypeContainer");
                        bodyTypeContainer
                                .setLayout(new FormLayout("48dlu, $lcgap, left:105dlu", "default:grow"));

                        //---- label36 ----
                        label36.setText("Body Type:");
                        label36.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        bodyTypeContainer.add(label36,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== bodyTypeSelectionPanel ========
                        {
                            bodyTypeSelectionPanel.setName("bodyTypeSelectionPanel");
                            bodyTypeSelectionPanel.setLayout(new FormLayout("54dlu:grow, $lcgap, default",
                                    "3*(default, $lgap), default"));

                            //---- thinCheckbox ----
                            thinCheckbox.setText("Thin");
                            thinCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            thinCheckbox.setName("thin");
                            bodyTypeSelectionPanel.add(thinCheckbox, CC.xy(1, 1));

                            //---- fitCheckbox ----
                            fitCheckbox.setText("Fit");
                            fitCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            fitCheckbox.setName("fit");
                            bodyTypeSelectionPanel.add(fitCheckbox, CC.xy(3, 1));

                            //---- averageBodyCheckbox ----
                            averageBodyCheckbox.setText("Average");
                            averageBodyCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            averageBodyCheckbox.setPreferredSize(new Dimension(72, 20));
                            averageBodyCheckbox.setName("averageBody");
                            bodyTypeSelectionPanel.add(averageBodyCheckbox, CC.xy(1, 3));

                            //---- curvyCheckbox ----
                            curvyCheckbox.setText("Curvy");
                            curvyCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            curvyCheckbox.setName("curvy");
                            bodyTypeSelectionPanel.add(curvyCheckbox, CC.xy(3, 3));

                            //---- jackedCheckbox ----
                            jackedCheckbox.setText("Jacked");
                            jackedCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            jackedCheckbox.setName("jacked");
                            bodyTypeSelectionPanel.add(jackedCheckbox, CC.xy(1, 5));

                            //---- fullFiguredCheckbox ----
                            fullFiguredCheckbox.setText("Full figured");
                            fullFiguredCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            fullFiguredCheckbox.setName("fullFigured");
                            bodyTypeSelectionPanel.add(fullFiguredCheckbox, CC.xy(3, 5));

                            //---- aLittleExtraCheckbox ----
                            aLittleExtraCheckbox.setText("A little extra");
                            aLittleExtraCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            aLittleExtraCheckbox.setName("aLittleExtra");
                            bodyTypeSelectionPanel.add(aLittleExtraCheckbox, CC.xy(1, 7));

                            //---- overweightCheckbox ----
                            overweightCheckbox.setText("Overweight");
                            overweightCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            overweightCheckbox.setName("overweight");
                            bodyTypeSelectionPanel.add(overweightCheckbox, CC.xy(3, 7));
                        }
                        bodyTypeContainer.add(bodyTypeSelectionPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(bodyTypeContainer, CC.xy(1, 19));

                    //======== attractivenessContainer ========
                    {
                        attractivenessContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        attractivenessContainer.setName("attractivenessContainer");
                        attractivenessContainer
                                .setLayout(new FormLayout("right:48dlu, $lcgap, 105dlu", "default"));

                        //---- label35 ----
                        label35.setText("Attractiveness:");
                        label35.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        attractivenessContainer.add(label35,
                                new CellConstraints(1, 1, 1, 1, CC.LEFT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== attractivenessSelectionPanel ========
                        {
                            attractivenessSelectionPanel.setName("attractivenessSelectionPanel");
                            attractivenessSelectionPanel
                                    .setLayout(new FormLayout("default, 67dlu", "default, $lgap, default"));

                            //---- averageAttractivenessCheckbox ----
                            averageAttractivenessCheckbox.setText("Average");
                            averageAttractivenessCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            averageAttractivenessCheckbox.setName("averageAttractiveness");
                            attractivenessSelectionPanel.add(averageAttractivenessCheckbox, CC.xy(1, 1));

                            //---- aboveAverageCheckbox ----
                            aboveAverageCheckbox.setText("Above Average");
                            aboveAverageCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            aboveAverageCheckbox.setName("aboveAverage");
                            attractivenessSelectionPanel.add(aboveAverageCheckbox, CC.xy(2, 1));

                            //---- hotCheckbox ----
                            hotCheckbox.setText("Hot");
                            hotCheckbox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            hotCheckbox.setName("hot");
                            attractivenessSelectionPanel.add(hotCheckbox, CC.xy(1, 3));
                        }
                        attractivenessContainer.add(attractivenessSelectionPanel,
                                CC.xy(3, 1, CC.RIGHT, CC.DEFAULT));
                    }
                    leftInnerPanel.add(attractivenessContainer, CC.xy(1, 21));

                    //======== religionContainer ========
                    {
                        religionContainer.setName("religionContainer");
                        religionContainer.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        religionContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        religionContainer.setLayout(new FormLayout("48dlu, $lcgap, 105dlu", "default"));

                        //---- label24 ----
                        label24.setText("Religion:");
                        label24.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        religionContainer.add(label24,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== religionSelectionPanel ========
                        {
                            religionSelectionPanel.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            religionSelectionPanel.setLayout(
                                    new FormLayout("default, $lcgap, default", "4*(default, $lgap), default"));

                            //---- agnosticismCheckBox ----
                            agnosticismCheckBox.setText("Agnosticism");
                            agnosticismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            agnosticismCheckBox.setName("agnosticism");
                            religionSelectionPanel.add(agnosticismCheckBox, CC.xy(1, 1));

                            //---- atheismCheckBox ----
                            atheismCheckBox.setText("Atheism");
                            atheismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            atheismCheckBox.setName("atheism");
                            religionSelectionPanel.add(atheismCheckBox, CC.xy(3, 1));

                            //---- buddhismCheckBox ----
                            buddhismCheckBox.setText("Buddhism");
                            buddhismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            buddhismCheckBox.setName("buddhism");
                            religionSelectionPanel.add(buddhismCheckBox, CC.xy(1, 3));

                            //---- catholicismCheckBox ----
                            catholicismCheckBox.setText("Catholicism");
                            catholicismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            catholicismCheckBox.setName("catholicism");
                            religionSelectionPanel.add(catholicismCheckBox, CC.xy(3, 3));

                            //---- christianityCheckBox ----
                            christianityCheckBox.setText("Christianity");
                            christianityCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            christianityCheckBox.setName("christianity");
                            religionSelectionPanel.add(christianityCheckBox, CC.xy(1, 5));

                            //---- hinduismCheckBox ----
                            hinduismCheckBox.setText("Hinduism");
                            hinduismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            hinduismCheckBox.setName("hinduism");
                            religionSelectionPanel.add(hinduismCheckBox, CC.xy(3, 5));

                            //---- judaismCheckBox ----
                            judaismCheckBox.setText("Judaism");
                            judaismCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            judaismCheckBox.setName("judaism");
                            religionSelectionPanel.add(judaismCheckBox, CC.xy(1, 7));

                            //---- islamCheckBox ----
                            islamCheckBox.setText("Islam");
                            islamCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            islamCheckBox.setName("islam");
                            religionSelectionPanel.add(islamCheckBox, CC.xy(3, 7));

                            //---- otherReligionCheckBox ----
                            otherReligionCheckBox.setText("Other");
                            otherReligionCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                            otherReligionCheckBox.setName("other_religion");
                            religionSelectionPanel.add(otherReligionCheckBox, CC.xy(1, 9));
                        }
                        religionContainer.add(religionSelectionPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(religionContainer, CC.xy(1, 23));

                    //======== childrenContainer ========
                    {
                        childrenContainer.setName("childrenContainer");
                        childrenContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                        childrenContainer.setVisible(false);
                        childrenContainer.setLayout(new FormLayout("48dlu, $lcgap, 105dlu", "default"));

                        //---- label32 ----
                        label32.setText("Children:");
                        label32.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                        childrenContainer.add(label32,
                                new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                        //======== mainChildrenPanel ========
                        {
                            mainChildrenPanel.setName("mainChildrenPanel");
                            mainChildrenPanel.setLayout(new FormLayout("default", "default, 5dlu, default"));

                            //======== subChildrenPanel1 ========
                            {
                                subChildrenPanel1.setName("subChildrenPanel1");
                                subChildrenPanel1.setLayout(
                                        new FormLayout("50dlu, $lcgap, default", "default, $lgap, default"));

                                //---- wantsCheckBox ----
                                wantsCheckBox.setText("Wants kids");
                                wantsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                wantsCheckBox.setName("wants_kids");
                                subChildrenPanel1.add(wantsCheckBox, CC.xy(1, 1));

                                //---- mightWantCheckBox ----
                                mightWantCheckBox.setText("Might want");
                                mightWantCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                mightWantCheckBox.setName("might_want");
                                subChildrenPanel1.add(mightWantCheckBox, CC.xy(3, 1));

                                //---- doesntWantCheckBox ----
                                doesntWantCheckBox.setText("Doesn't want");
                                doesntWantCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                doesntWantCheckBox.setName("doesnt_want");
                                subChildrenPanel1.add(doesntWantCheckBox, CC.xy(1, 3, CC.LEFT, CC.DEFAULT));
                            }
                            mainChildrenPanel.add(subChildrenPanel1, CC.xy(1, 1));

                            //---- separator3 ----
                            separator3.setForeground(Color.black);
                            mainChildrenPanel.add(separator3, CC.xy(1, 2));

                            //======== subChildrenPanel2 ========
                            {
                                subChildrenPanel2.setName("subChildrenPanel2");
                                subChildrenPanel2
                                        .setLayout(new FormLayout("41dlu, $lcgap, default", "default"));

                                //---- hasKidsCheckBox ----
                                hasKidsCheckBox.setText("Has kids");
                                hasKidsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                hasKidsCheckBox.setName("has_kids");
                                hasKidsCheckBox.setBorderPaintedFlat(true);
                                hasKidsCheckBox.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                                subChildrenPanel2.add(hasKidsCheckBox, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                                //---- doesnthaveCheckBox ----
                                doesnthaveCheckBox.setText("Doesn't have");
                                doesnthaveCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                                doesnthaveCheckBox.setName("doesnt_have");
                                doesnthaveCheckBox.setBorderPaintedFlat(true);
                                doesnthaveCheckBox.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                                subChildrenPanel2.add(doesnthaveCheckBox, CC.xy(3, 1));
                            }
                            mainChildrenPanel.add(subChildrenPanel2, CC.xy(1, 3));
                        }
                        childrenContainer.add(mainChildrenPanel, CC.xy(3, 1));
                    }
                    leftInnerPanel.add(childrenContainer, CC.xy(1, 25));
                }
                leftPanel.add(leftInnerPanel, CC.xy(1, 1, CC.LEFT, CC.TOP));
            }
            panel1.add(leftPanel,
                    new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(10, 10, 0, 0)));

            //======== rightPanel ========
            {
                rightPanel.setPreferredSize(new Dimension(344, 1000));
                rightPanel.setLayout(new FormLayout("165dlu", "164dlu, 8dlu, 35dlu, 4*($lgap, default)"));

                //======== advancedFiltersPanel ========
                {
                    advancedFiltersPanel.setPreferredSize(new Dimension(344, 432));
                    advancedFiltersPanel.setMinimumSize(new Dimension(314, 390));
                    advancedFiltersPanel.setName("advancedFiltersPanel");
                    advancedFiltersPanel.setVisible(false);
                    advancedFiltersPanel.setLayout(new FormLayout(
                            "default, $lcgap, left:default, $lcgap, left:55dlu", "13*(pref, $lgap), pref"));

                    //---- label8 ----
                    label8.setText("Personality");
                    advancedFiltersPanel.add(label8, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));

                    //---- label9 ----
                    label9.setText("Degree");
                    advancedFiltersPanel.add(label9,
                            new CellConstraints(3, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

                    //---- label10 ----
                    label10.setText("Importance");
                    advancedFiltersPanel.add(label10,
                            new CellConstraints(5, 1, 1, 1, CC.LEFT, CC.DEFAULT, new Insets(0, 5, 0, 0)));

                    //---- label11 ----
                    label11.setText("Agressiveness");
                    label11.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label11, CC.xy(1, 3));

                    //---- aggressivenessDegCombo ----
                    aggressivenessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    aggressivenessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    aggressivenessDegCombo.setPreferredSize(new Dimension(90, 22));
                    aggressivenessDegCombo.setName("aggressivenessDeg");
                    advancedFiltersPanel.add(aggressivenessDegCombo, CC.xy(3, 3));

                    //---- aggressivenessImpCombo ----
                    aggressivenessImpCombo
                            .setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    aggressivenessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    aggressivenessImpCombo.setPreferredSize(new Dimension(90, 22));
                    aggressivenessImpCombo.setName("aggressivenessImp");
                    advancedFiltersPanel.add(aggressivenessImpCombo, CC.xy(5, 3));

                    //---- label12 ----
                    label12.setText("Athleticisim");
                    label12.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label12, CC.xy(1, 5));

                    //---- athleticismDegCombo ----
                    athleticismDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    athleticismDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    athleticismDegCombo.setPreferredSize(new Dimension(90, 22));
                    athleticismDegCombo.setName("athleticismDeg");
                    advancedFiltersPanel.add(athleticismDegCombo, CC.xy(3, 5));

                    //---- athleticismImpCombo ----
                    athleticismImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    athleticismImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    athleticismImpCombo.setPreferredSize(new Dimension(90, 22));
                    athleticismImpCombo.setName("athleticismImp");
                    advancedFiltersPanel.add(athleticismImpCombo, CC.xy(5, 5));

                    //---- label13 ----
                    label13.setText("Cockiness");
                    label13.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label13, CC.xy(1, 7));

                    //---- cockinessDegCombo ----
                    cockinessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    cockinessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    cockinessDegCombo.setPreferredSize(new Dimension(90, 22));
                    cockinessDegCombo.setName("cockinessDeg");
                    advancedFiltersPanel.add(cockinessDegCombo, CC.xy(3, 7));

                    //---- cockinessImpCombo ----
                    cockinessImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    cockinessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    cockinessImpCombo.setPreferredSize(new Dimension(90, 22));
                    cockinessImpCombo.setName("cockinessImp");
                    advancedFiltersPanel.add(cockinessImpCombo, CC.xy(5, 7));

                    //---- label14 ----
                    label14.setText("Dorkiness");
                    label14.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label14, CC.xy(1, 9));

                    //---- dorkinessDegCombo ----
                    dorkinessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    dorkinessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    dorkinessDegCombo.setPreferredSize(new Dimension(90, 22));
                    dorkinessDegCombo.setName("dorkinessDeg");
                    advancedFiltersPanel.add(dorkinessDegCombo, CC.xy(3, 9));

                    //---- dorkinessImpCombo ----
                    dorkinessImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    dorkinessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    dorkinessImpCombo.setPreferredSize(new Dimension(90, 22));
                    dorkinessImpCombo.setName("dorkinessImp");
                    advancedFiltersPanel.add(dorkinessImpCombo, CC.xy(5, 9));

                    //---- label15 ----
                    label15.setText("Independence");
                    label15.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label15, CC.xy(1, 11));

                    //---- independenceDegCombo ----
                    independenceDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    independenceDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    independenceDegCombo.setPreferredSize(new Dimension(90, 22));
                    independenceDegCombo.setName("independenceDeg");
                    advancedFiltersPanel.add(independenceDegCombo, CC.xy(3, 11));

                    //---- independenceImpCombo ----
                    independenceImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    independenceImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    independenceImpCombo.setPreferredSize(new Dimension(90, 22));
                    independenceImpCombo.setName("independenceImp");
                    advancedFiltersPanel.add(independenceImpCombo, CC.xy(5, 11));

                    //---- label16 ----
                    label16.setText("Indie");
                    label16.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label16, CC.xy(1, 13));

                    //---- indieDegCombo ----
                    indieDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    indieDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    indieDegCombo.setPreferredSize(new Dimension(90, 22));
                    indieDegCombo.setName("indieDeg");
                    advancedFiltersPanel.add(indieDegCombo, CC.xy(3, 13));

                    //---- indieImpCombo ----
                    indieImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    indieImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    indieImpCombo.setPreferredSize(new Dimension(90, 22));
                    indieImpCombo.setName("indieImp");
                    advancedFiltersPanel.add(indieImpCombo, CC.xy(5, 13));

                    //---- label17 ----
                    label17.setText("Introversion");
                    label17.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label17, CC.xy(1, 15));

                    //---- introversionDegCombo ----
                    introversionDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    introversionDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    introversionDegCombo.setPreferredSize(new Dimension(90, 22));
                    introversionDegCombo.setName("introversionDeg");
                    advancedFiltersPanel.add(introversionDegCombo, CC.xy(3, 15));

                    //---- introversionImpCombo ----
                    introversionImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    introversionImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    introversionImpCombo.setPreferredSize(new Dimension(90, 22));
                    introversionImpCombo.setName("introversionImp");
                    advancedFiltersPanel.add(introversionImpCombo, CC.xy(5, 15));

                    //---- label18 ----
                    label18.setText("Old Fashionedness");
                    label18.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label18, CC.xy(1, 17));

                    //---- oldFashinednessDegCombo ----
                    oldFashinednessDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    oldFashinednessDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    oldFashinednessDegCombo.setPreferredSize(new Dimension(90, 22));
                    oldFashinednessDegCombo.setName("oldFashinednessDeg");
                    advancedFiltersPanel.add(oldFashinednessDegCombo, CC.xy(3, 17));

                    //---- oldFashinednessImpCombo ----
                    oldFashinednessImpCombo
                            .setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    oldFashinednessImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    oldFashinednessImpCombo.setPreferredSize(new Dimension(90, 22));
                    oldFashinednessImpCombo.setName("oldFashinednessImp");
                    advancedFiltersPanel.add(oldFashinednessImpCombo, CC.xy(5, 17));

                    //---- label19 ----
                    label19.setText("Planning");
                    label19.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label19, CC.xy(1, 19));

                    //---- planningDegCombo ----
                    planningDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    planningDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    planningDegCombo.setPreferredSize(new Dimension(90, 22));
                    planningDegCombo.setName("planningDeg");
                    advancedFiltersPanel.add(planningDegCombo, CC.xy(3, 19));

                    //---- planningImpCombo ----
                    planningImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    planningImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    planningImpCombo.setPreferredSize(new Dimension(90, 22));
                    planningImpCombo.setName("planningImp");
                    advancedFiltersPanel.add(planningImpCombo, CC.xy(5, 19));

                    //---- label20 ----
                    label20.setText("Political");
                    label20.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label20, CC.xy(1, 21));

                    //---- politicalDegCombo ----
                    politicalDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    politicalDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    politicalDegCombo.setPreferredSize(new Dimension(90, 22));
                    politicalDegCombo.setName("politicalDeg");
                    advancedFiltersPanel.add(politicalDegCombo, CC.xy(3, 21));

                    //---- politicalImpCombo ----
                    politicalImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    politicalImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    politicalImpCombo.setPreferredSize(new Dimension(90, 22));
                    politicalImpCombo.setName("politicalImp");
                    advancedFiltersPanel.add(politicalImpCombo, CC.xy(5, 21));

                    //---- label21 ----
                    label21.setText("Sexual Experience");
                    label21.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label21, CC.xy(1, 23));

                    //---- sexualExperienceDegCombo ----
                    sexualExperienceDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    sexualExperienceDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sexualExperienceDegCombo.setPreferredSize(new Dimension(90, 22));
                    sexualExperienceDegCombo.setName("sexualExperienceDeg");
                    advancedFiltersPanel.add(sexualExperienceDegCombo, CC.xy(3, 23));

                    //---- sexualExperienceImpCombo ----
                    sexualExperienceImpCombo
                            .setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    sexualExperienceImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sexualExperienceImpCombo.setPreferredSize(new Dimension(90, 22));
                    sexualExperienceImpCombo.setName("sexualExperienceImp");
                    advancedFiltersPanel.add(sexualExperienceImpCombo, CC.xy(5, 23));

                    //---- label22 ----
                    label22.setText("Socially Free");
                    label22.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label22, CC.xy(1, 25));

                    //---- sociallyFreeDegCombo ----
                    sociallyFreeDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    sociallyFreeDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sociallyFreeDegCombo.setPreferredSize(new Dimension(90, 22));
                    sociallyFreeDegCombo.setName("sociallyFreeDeg");
                    advancedFiltersPanel.add(sociallyFreeDegCombo, CC.xy(3, 25));

                    //---- sociallyFreeImpCombo ----
                    sociallyFreeImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    sociallyFreeImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    sociallyFreeImpCombo.setPreferredSize(new Dimension(90, 22));
                    sociallyFreeImpCombo.setName("sociallyFreeImp");
                    advancedFiltersPanel.add(sociallyFreeImpCombo, CC.xy(5, 25));

                    //---- label23 ----
                    label23.setText("Spirituality");
                    label23.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    advancedFiltersPanel.add(label23, CC.xy(1, 27));

                    //---- spiritualityDegCombo ----
                    spiritualityDegCombo.setModel(
                            new DefaultComboBoxModel<>(new String[] { "0", "2500", "5000", "7500", "10000" }));
                    spiritualityDegCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    spiritualityDegCombo.setPreferredSize(new Dimension(90, 22));
                    spiritualityDegCombo.setName("spiritualityDeg");
                    advancedFiltersPanel.add(spiritualityDegCombo, CC.xy(3, 27));

                    //---- spiritualityImpCombo ----
                    spiritualityImpCombo.setModel(new DefaultComboBoxModel<>(new String[] { "0", "5", "10" }));
                    spiritualityImpCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    spiritualityImpCombo.setPreferredSize(new Dimension(90, 22));
                    spiritualityImpCombo.setName("spiritualityImp");
                    advancedFiltersPanel.add(spiritualityImpCombo, CC.xy(5, 27));
                }
                rightPanel.add(advancedFiltersPanel,
                        new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(10, 0, 0, 0)));

                //======== educationContainer ========
                {
                    educationContainer.setName("educationContainer");
                    educationContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    educationContainer.setLayout(new FormLayout("37dlu, $lcgap, 101dlu:grow", "default"));

                    //---- label33 ----
                    label33.setText("Education:");
                    label33.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    educationContainer.add(label33,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== educationSelectionPanel ========
                    {
                        educationSelectionPanel.setName("educationSelectionPanel");
                        educationSelectionPanel.setLayout(
                                new FormLayout("default, $lcgap, default", "default, $lgap, default"));

                        //---- highschoolCheckBox ----
                        highschoolCheckBox.setText("High school");
                        highschoolCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        highschoolCheckBox.setName("high_school");
                        educationSelectionPanel.add(highschoolCheckBox, CC.xy(1, 1));

                        //---- twoyearCollegeCheckBox ----
                        twoyearCollegeCheckBox.setText("2-year college");
                        twoyearCollegeCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        twoyearCollegeCheckBox.setName("two_year_college");
                        educationSelectionPanel.add(twoyearCollegeCheckBox, CC.xy(3, 1));

                        //---- universityCheckBox ----
                        universityCheckBox.setText("University");
                        universityCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        universityCheckBox.setName("college_university");
                        educationSelectionPanel.add(universityCheckBox, CC.xy(1, 3));

                        //---- postGradCheckBox ----
                        postGradCheckBox.setText("Post grad");
                        postGradCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        postGradCheckBox.setName("post_grad");
                        educationSelectionPanel.add(postGradCheckBox, CC.xy(3, 3));
                    }
                    educationContainer.add(educationSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(educationContainer, CC.xy(1, 3));

                //======== smokesContainer ========
                {
                    smokesContainer.setName("smokesContainer");
                    smokesContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    smokesContainer.setLayout(new FormLayout("35dlu, $lcgap, 104dlu", "default"));

                    //---- label27 ----
                    label27.setText("Smokes:");
                    label27.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    smokesContainer.add(label27,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== smokesSelectionPanel ========
                    {
                        smokesSelectionPanel.setName("smokesSelectionPanel");
                        smokesSelectionPanel.setLayout(
                                new FormLayout("default, $lcgap, default", "2*(default, $lgap), default"));

                        //---- yesCheckBox ----
                        yesCheckBox.setText("Yes");
                        yesCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        yesCheckBox.setName("yes");
                        smokesSelectionPanel.add(yesCheckBox, CC.xy(1, 1));

                        //---- noCheckBox ----
                        noCheckBox.setText("No");
                        noCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        noCheckBox.setName("no");
                        smokesSelectionPanel.add(noCheckBox, CC.xy(3, 1));

                        //---- whenDrinkingCheckBox ----
                        whenDrinkingCheckBox.setText("When drinking");
                        whenDrinkingCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        whenDrinkingCheckBox.setName("when_drinking");
                        smokesSelectionPanel.add(whenDrinkingCheckBox, CC.xy(1, 3));

                        //---- sometimesSmokesCheckBox ----
                        sometimesSmokesCheckBox.setText("Sometimes");
                        sometimesSmokesCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        sometimesSmokesCheckBox.setName("sometimes_smokes");
                        smokesSelectionPanel.add(sometimesSmokesCheckBox, CC.xy(3, 3));

                        //---- tryingToQuitCheckBox ----
                        tryingToQuitCheckBox.setText("Trying to quit");
                        tryingToQuitCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        tryingToQuitCheckBox.setName("trying_to_quit");
                        smokesSelectionPanel.add(tryingToQuitCheckBox, CC.xy(1, 5));
                    }
                    smokesContainer.add(smokesSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(smokesContainer, CC.xy(1, 5));

                //======== drinksContainer ========
                {
                    drinksContainer.setName("drinksContainer");
                    drinksContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    drinksContainer.setVisible(false);
                    drinksContainer.setLayout(new FormLayout("35dlu, $lcgap, 101dlu", "default"));

                    //---- label28 ----
                    label28.setText("Drinks:");
                    label28.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    drinksContainer.add(label28,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== drinksSelectionPanel ========
                    {
                        drinksSelectionPanel.setName("drinksSelectionPanel");
                        drinksSelectionPanel.setLayout(
                                new FormLayout("default, $lcgap, default", "2*(default, $lgap), default"));

                        //---- sociallyCheckBox ----
                        sociallyCheckBox.setText("Socially");
                        sociallyCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        sociallyCheckBox.setName("socially");
                        drinksSelectionPanel.add(sociallyCheckBox, CC.xy(1, 1));

                        //---- oftenDrinksCheckBox ----
                        oftenDrinksCheckBox.setText("Often");
                        oftenDrinksCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        oftenDrinksCheckBox.setName("often_drinks");
                        drinksSelectionPanel.add(oftenDrinksCheckBox, CC.xy(3, 1));

                        //---- rarelyCheckBox ----
                        rarelyCheckBox.setText("Rarely");
                        rarelyCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        rarelyCheckBox.setName("rarely");
                        drinksSelectionPanel.add(rarelyCheckBox, CC.xy(1, 3));

                        //---- notAtAllCheckBox ----
                        notAtAllCheckBox.setText("Not at all");
                        notAtAllCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        notAtAllCheckBox.setName("not_at_all");
                        drinksSelectionPanel.add(notAtAllCheckBox, CC.xy(3, 3));

                        //---- desperatelyCheckBox ----
                        desperatelyCheckBox.setText("Desperately");
                        desperatelyCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        desperatelyCheckBox.setName("desperately");
                        drinksSelectionPanel.add(desperatelyCheckBox, CC.xy(1, 5));

                        //---- veryOftenCheckBox ----
                        veryOftenCheckBox.setText("Very often");
                        veryOftenCheckBox.setName("very_often");
                        veryOftenCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        drinksSelectionPanel.add(veryOftenCheckBox, CC.xy(3, 5));
                    }
                    drinksContainer.add(drinksSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(drinksContainer, CC.xy(1, 7));

                //======== drugsContainer ========
                {
                    drugsContainer.setName("drugsContainer");
                    drugsContainer.setBorder(new MatteBorder(1, 1, 1, 1, Color.black));
                    drugsContainer.setVisible(false);
                    drugsContainer.setLayout(new FormLayout("34dlu, $lcgap, 101dlu", "default"));

                    //---- label29 ----
                    label29.setText("Drugs:");
                    label29.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                    drugsContainer.add(label29,
                            new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(5, 5, 0, 0)));

                    //======== drugsSelectionPanel ========
                    {
                        drugsSelectionPanel.setName("drugsSelectionPanel");
                        drugsSelectionPanel
                                .setLayout(new FormLayout("default, $lcgap, default", "2*(default)"));

                        //---- everCheckBox ----
                        everCheckBox.setText("Never");
                        everCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        everCheckBox.setName("never");
                        drugsSelectionPanel.add(everCheckBox, CC.xy(1, 1));

                        //---- sometimesDrugsCheckBox ----
                        sometimesDrugsCheckBox.setText("Sometimes");
                        sometimesDrugsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        sometimesDrugsCheckBox.setName("sometimes_drugs");
                        drugsSelectionPanel.add(sometimesDrugsCheckBox, CC.xy(3, 1));

                        //---- oftenDrugsCheckBox ----
                        oftenDrugsCheckBox.setText("Often");
                        oftenDrugsCheckBox.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
                        oftenDrugsCheckBox.setName("often_drugs");
                        drugsSelectionPanel.add(oftenDrugsCheckBox, CC.xy(1, 2));
                    }
                    drugsContainer.add(drugsSelectionPanel, CC.xy(3, 1));
                }
                rightPanel.add(drugsContainer, CC.xy(1, 11));
            }
            panel1.add(rightPanel, CC.xy(2, 1));

            //======== buttonPanel ========
            {
                buttonPanel.setLayout(new FormLayout("2*(default, $lcgap), 39dlu", "default"));

                //---- closeButton ----
                closeButton.setText("Close");
                closeButton.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        closeButtonActionPerformed(e);
                    }
                });
                buttonPanel.add(closeButton, CC.xy(1, 1));

                //---- resetButton ----
                resetButton.setText("Reset");
                resetButton.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        resetButtonActionPerformed(e);
                    }
                });
                buttonPanel.add(resetButton, CC.xy(3, 1));

                //---- applyButton ----
                applyButton.setText("Apply");
                applyButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
                applyButton.setPreferredSize(new Dimension(70, 25));
                applyButton.setEnabled(false);
                applyButton.addActionListener(new ActionListener() {
                    @Override
                    public void actionPerformed(ActionEvent e) {
                        applyButtonActionPerformed(e);
                    }
                });
                buttonPanel.add(applyButton, CC.xy(5, 1, CC.LEFT, CC.DEFAULT));
            }
            panel1.add(buttonPanel,
                    new CellConstraints(1, 3, 1, 1, CC.FILL, CC.DEFAULT, new Insets(0, 10, 0, 0)));
        }
        scrollPane1.setViewportView(panel1);
    }
    contentPane.add(scrollPane1, CC.xy(1, 1));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:AddAccountView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel1 = new JPanel();
    panel2 = new JPanel();
    label1 = new JLabel();
    usernameText = new JTextField();
    label2 = new JLabel();
    passwordText = new JTextField();
    label3 = new JLabel();
    zipText = new JTextField();
    label4 = new JLabel();
    proxyText = new JTextField();
    label5 = new JLabel();
    portText = new JTextField();
    label6 = new JLabel();
    proxyUsernameText = new JTextField();
    label7 = new JLabel();
    proxyPasswordText = new JTextField();
    buttonPanel = new JPanel();
    closeButton = new JButton();
    addButton = new JButton();

    //======== this ========
    setTitle("Add Account");
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("default", "default:grow"));

    //======== panel1 ========
    {/*from   w  ww  . ja  va2  s . co  m*/
        panel1.setPreferredSize(new Dimension(250, 300));
        panel1.setLayout(new FormLayout("default:grow", "default, $lgap, default"));

        //======== panel2 ========
        {
            panel2.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.setLayout(new FormLayout("default, $lcgap, 68dlu", "6*(default, $lgap), default"));

            //---- label1 ----
            label1.setText("Username:");
            label1.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.add(label1, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

            //---- usernameText ----
            usernameText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            usernameText.setName("username");
            panel2.add(usernameText, CC.xy(3, 1));

            //---- label2 ----
            label2.setText("Password:");
            label2.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.add(label2, CC.xy(1, 3, CC.RIGHT, CC.DEFAULT));

            //---- passwordText ----
            passwordText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            passwordText.setName("password");
            panel2.add(passwordText, CC.xy(3, 3));

            //---- label3 ----
            label3.setText("Zip:");
            label3.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.add(label3, CC.xy(1, 5, CC.RIGHT, CC.DEFAULT));

            //---- zipText ----
            zipText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            zipText.setName("zip");
            panel2.add(zipText, CC.xy(3, 5));

            //---- label4 ----
            label4.setText("Proxy:");
            label4.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.add(label4, CC.xy(1, 7, CC.RIGHT, CC.DEFAULT));

            //---- proxyText ----
            proxyText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            proxyText.setName("proxy");
            panel2.add(proxyText, CC.xy(3, 7));

            //---- label5 ----
            label5.setText("Port:");
            label5.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.add(label5, CC.xy(1, 9, CC.RIGHT, CC.DEFAULT));

            //---- portText ----
            portText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            portText.setName("port");
            panel2.add(portText, CC.xy(3, 9));

            //---- label6 ----
            label6.setText("Proxy username:");
            label6.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.add(label6, CC.xy(1, 11, CC.RIGHT, CC.DEFAULT));

            //---- proxyUsernameText ----
            proxyUsernameText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            proxyUsernameText.setName("proxyUsername");
            panel2.add(proxyUsernameText, CC.xy(3, 11));

            //---- label7 ----
            label7.setText("Proxy password:");
            label7.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            panel2.add(label7, CC.xy(1, 13, CC.RIGHT, CC.DEFAULT));

            //---- proxyPasswordText ----
            proxyPasswordText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
            proxyPasswordText.setName("proxyPassword");
            panel2.add(proxyPasswordText, CC.xy(3, 13));
        }
        panel1.add(panel2, CC.xy(1, 1, CC.DEFAULT, CC.TOP));

        //======== buttonPanel ========
        {
            buttonPanel.setLayout(new FormLayout("default, $lcgap, default", "default"));

            //---- closeButton ----
            closeButton.setText("Close");
            closeButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    closeButtonActionPerformed(e);
                }
            });
            buttonPanel.add(closeButton, CC.xy(1, 1, CC.CENTER, CC.DEFAULT));

            //---- addButton ----
            addButton.setText("Add");
            addButton.setEnabled(false);
            addButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    addButtonActionPerformed(e);
                }
            });
            buttonPanel.add(addButton, CC.xy(3, 1));
        }
        panel1.add(buttonPanel, new CellConstraints(1, 3, 1, 1, CC.RIGHT, CC.DEFAULT, new Insets(0, 0, 0, 10)));
    }
    contentPane.add(panel1, new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.DEFAULT, new Insets(10, 10, 0, 0)));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:ManageAccountsView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel1 = new JPanel();
    label1 = new JLabel();
    usernameCombo = new JComboBox();
    label2 = new JLabel();
    passwordText = new JTextField();
    label3 = new JLabel();
    zipText = new JTextField();
    label4 = new JLabel();
    proxyText = new JTextField();
    label5 = new JLabel();
    portText = new JTextField();
    label6 = new JLabel();
    proxyUsernameText = new JTextField();
    label7 = new JLabel();
    proxyPasswordText = new JTextField();
    buttonPanel = new JPanel();
    addButton = new JButton();
    deleteButton = new JButton();
    closeButton = new JButton();
    applyButton = new JButton();

    //======== this ========
    setTitle("Login Settings");
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("136dlu", "top:138dlu, $lgap, default"));

    //======== panel1 ========
    {//  w ww  .  ja v a 2 s  .  c o  m
        panel1.setPreferredSize(new Dimension(200, 250));
        panel1.setLayout(new FormLayout("default, $lcgap, 82dlu", "6*(default, $lgap), default"));

        //---- label1 ----
        label1.setText("Username:");
        label1.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label1, CC.xy(1, 1, CC.RIGHT, CC.DEFAULT));

        //---- usernameCombo ----
        usernameCombo.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        usernameCombo.setPreferredSize(new Dimension(120, 27));
        usernameCombo.setName("username");
        usernameCombo.addItemListener(new ItemListener() {
            @Override
            public void itemStateChanged(ItemEvent e) {
                usernameComboItemStateChanged(e);
            }
        });
        panel1.add(usernameCombo, CC.xy(3, 1));

        //---- label2 ----
        label2.setText("Password:");
        label2.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label2, CC.xy(1, 3, CC.RIGHT, CC.DEFAULT));

        //---- passwordText ----
        passwordText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        passwordText.setPreferredSize(new Dimension(120, 25));
        passwordText.setName("password");
        passwordText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                passwordTextKeyReleased(e);
            }
        });
        panel1.add(passwordText, CC.xy(3, 3));

        //---- label3 ----
        label3.setText("Zip:");
        label3.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label3, CC.xy(1, 5, CC.RIGHT, CC.DEFAULT));

        //---- zipText ----
        zipText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        zipText.setPreferredSize(new Dimension(120, 25));
        zipText.setName("zip");
        zipText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                zipTextKeyReleased(e);
            }
        });
        panel1.add(zipText, CC.xy(3, 5));

        //---- label4 ----
        label4.setText("Proxy:");
        label4.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label4, CC.xy(1, 7, CC.RIGHT, CC.DEFAULT));

        //---- proxyText ----
        proxyText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        proxyText.setPreferredSize(new Dimension(120, 25));
        proxyText.setName("proxy");
        proxyText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                proxyTextKeyReleased(e);
            }
        });
        panel1.add(proxyText, CC.xy(3, 7));

        //---- label5 ----
        label5.setText("Port:");
        label5.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label5, CC.xy(1, 9, CC.RIGHT, CC.DEFAULT));

        //---- portText ----
        portText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        portText.setPreferredSize(new Dimension(120, 25));
        portText.setName("port");
        portText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                portTextKeyReleased(e);
            }
        });
        panel1.add(portText, CC.xy(3, 9));

        //---- label6 ----
        label6.setText("Proxy username:");
        label6.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label6, CC.xy(1, 11, CC.RIGHT, CC.DEFAULT));

        //---- proxyUsernameText ----
        proxyUsernameText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        proxyUsernameText.setPreferredSize(new Dimension(120, 25));
        proxyUsernameText.setName("proxyUsername");
        proxyUsernameText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                proxyUsernameTextKeyReleased(e);
            }
        });
        panel1.add(proxyUsernameText, CC.xy(3, 11));

        //---- label7 ----
        label7.setText("Proxy Password:");
        label7.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        panel1.add(label7, CC.xy(1, 13, CC.RIGHT, CC.DEFAULT));

        //---- proxyPasswordText ----
        proxyPasswordText.setPreferredSize(new Dimension(120, 25));
        proxyPasswordText.setFont(new Font("Lucida Grande", Font.PLAIN, 10));
        proxyPasswordText.setName("proxyPassword");
        proxyPasswordText.addKeyListener(new KeyAdapter() {
            @Override
            public void keyReleased(KeyEvent e) {
                proxyPasswordTextKeyReleased(e);
            }
        });
        panel1.add(proxyPasswordText, CC.xy(3, 13));
    }
    contentPane.add(panel1, new CellConstraints(1, 1, 1, 1, CC.DEFAULT, CC.TOP, new Insets(10, 10, 0, 0)));

    //======== buttonPanel ========
    {
        buttonPanel.setLayout(new FormLayout("default, $lcgap, default", "2*(default)"));

        //---- addButton ----
        addButton.setText("Add");
        addButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
        addButton.setName("addButton");
        addButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                addButtonActionPerformed(e);
            }
        });
        buttonPanel.add(addButton, CC.xy(1, 1));

        //---- deleteButton ----
        deleteButton.setText("Delete");
        deleteButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                deleteButtonActionPerformed(e);
            }
        });
        buttonPanel.add(deleteButton, CC.xy(3, 1));

        //---- closeButton ----
        closeButton.setText("Close");
        closeButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
        closeButton.setPreferredSize(new Dimension(86, 29));
        closeButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                closeButtonActionPerformed(e);
            }
        });
        buttonPanel.add(closeButton, CC.xy(1, 2, CC.LEFT, CC.DEFAULT));

        //---- applyButton ----
        applyButton.setText("Apply");
        applyButton.setFont(new Font("Lucida Grande", Font.PLAIN, 12));
        applyButton.setPreferredSize(new Dimension(86, 29));
        applyButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                applyButtonActionPerformed(e);
            }
        });
        buttonPanel.add(applyButton, CC.xy(3, 2, CC.LEFT, CC.DEFAULT));
    }
    contentPane.add(buttonPanel, CC.xy(1, 3, CC.RIGHT, CC.TOP));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:app.ResumenFactura.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - asd asd
    label1 = new JLabel();
    label2 = new JLabel();
    dateChooser1 = new JDateChooser();
    label3 = new JLabel();
    dateChooser2 = new JDateChooser();

    //======== this ========

    // JFormDesigner evaluation mark
    setBorder(//from   w w  w.  j  av  a  2  s .co  m
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("115dlu, 200dlu, [216dlu,default]", "5*(default, $lgap), default"));

    //---- label1 ----
    label1.setText("LISTADO RESUMEN DE FACTURAS EMITIDAS");
    add(label1, CC.xy(2, 3, CC.CENTER, CC.DEFAULT));

    //---- label2 ----
    label2.setText("Periodo inicio:");
    add(label2, CC.xy(1, 7, CC.RIGHT, CC.DEFAULT));
    add(dateChooser1, CC.xy(2, 7));

    //---- label3 ----
    label3.setText("Periodo final:");
    add(label3, CC.xy(1, 9, CC.RIGHT, CC.DEFAULT));
    add(dateChooser2, CC.xy(2, 9));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:com.cs521.team7.HomePage.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Saurabh Jadhav
    DefaultComponentFactory compFactory = DefaultComponentFactory.getInstance();
    menuBar1 = new JMenuBar();
    menu_file = new JMenu();
    menuItem1 = new JMenuItem();
    menu_help = new JMenu();
    menu_faq = new JMenuItem();
    menu_about = new JMenuItem();
    menu1 = new JMenu();
    menuItem_updateProfile = new JMenuItem();
    panel1 = new JPanel();
    label_welcome = new JLabel();
    btn_account = new JButton();
    btn_cart = new JButton();
    btn_logout = new JButton();
    separator2 = new JSeparator();
    splitPane2 = new JSplitPane();
    panel2 = new JPanel();
    label2 = compFactory.createLabel("Total Cost of Cart:  ");
    label_totalCartPrice = compFactory.createLabel("            $0");
    label1 = new JLabel();
    label_totalCartItems = new JLabel();
    separator4 = new JSeparator();
    label8 = new JLabel();
    panel3 = new JPanel();
    btn_search = new JButton();
    label5 = new JLabel();
    textField_searchBox = new JTextField();
    label6 = new JLabel();
    comboBox_filter = new JComboBox();
    label7 = new JLabel();
    comboBox_sort = new JComboBox();
    separator3 = new JSeparator();
    scrollPane1 = new JScrollPane();
    table_ProductList = new JTable();
    btn_addToCart = new JButton();

    //======== this ========
    setIconImage(new ImageIcon(getClass().getResource("/logo/sonos_logo.jpg")).getImage());
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("default:grow", "2*(default, $lgap), default"));

    //======== menuBar1 ========
    {// w ww  .j  a  v  a 2s .c  o  m

        //======== menu_file ========
        {
            menu_file.setText("Files");

            //---- menuItem1 ----
            menuItem1.setText("Exit");
            menu_file.add(menuItem1);
        }
        menuBar1.add(menu_file);

        //======== menu_help ========
        {
            menu_help.setText("Help");
            menu_help.addActionListener(e -> menu_helpActionPerformed(e));

            //---- menu_faq ----
            menu_faq.setText("FAQ");
            menu_help.add(menu_faq);

            //---- menu_about ----
            menu_about.setText("About");
            menu_about.addActionListener(e -> {
                menu_aboutActionPerformed(e);
                menu_aboutActionPerformed(e);
            });
            menu_about.addMenuKeyListener(new MenuKeyListener() {
                @Override
                public void menuKeyPressed(MenuKeyEvent e) {
                    menu_aboutMenuKeyPressed(e);
                }

                @Override
                public void menuKeyReleased(MenuKeyEvent e) {
                }

                @Override
                public void menuKeyTyped(MenuKeyEvent e) {
                }
            });
            menu_help.add(menu_about);
        }
        menuBar1.add(menu_help);

        //======== menu1 ========
        {
            menu1.setText("Profile");

            //---- menuItem_updateProfile ----
            menuItem_updateProfile.setText("Update Profile");
            menuItem_updateProfile.addActionListener(e -> menuItem_updateProfileActionPerformed(e));
            menu1.add(menuItem_updateProfile);
        }
        menuBar1.add(menu1);
    }
    setJMenuBar(menuBar1);

    //======== panel1 ========
    {

        // JFormDesigner evaluation mark
        panel1.setBorder(new javax.swing.border.CompoundBorder(
                new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                        "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                        javax.swing.border.TitledBorder.BOTTOM,
                        new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                panel1.getBorder()));
        panel1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent e) {
                if ("border".equals(e.getPropertyName()))
                    throw new RuntimeException();
            }
        });

        panel1.setLayout(new FormLayout(
                "default, $lcgap, default:grow, $lcgap, default, $lcgap, default:grow, 10*($lcgap, default)",
                "default"));

        //---- label_welcome ----
        label_welcome.setText("Welcome ");
        panel1.add(label_welcome, CC.xy(1, 1, CC.CENTER, CC.DEFAULT));

        //---- btn_account ----
        btn_account.setText("My Account");
        panel1.add(btn_account, CC.xy(23, 1, CC.RIGHT, CC.TOP));

        //---- btn_cart ----
        btn_cart.setText("Cart");
        panel1.add(btn_cart, CC.xy(25, 1, CC.FILL, CC.DEFAULT));

        //---- btn_logout ----
        btn_logout.setText("Logout");
        panel1.add(btn_logout, CC.xy(27, 1));
    }
    contentPane.add(panel1, CC.xy(1, 1, CC.FILL, CC.DEFAULT));
    contentPane.add(separator2, CC.xy(1, 3, CC.FILL, CC.CENTER));

    //======== splitPane2 ========
    {

        //======== panel2 ========
        {
            panel2.setLayout(new FormLayout("min, default:grow", "4*(default, $lgap), default"));
            panel2.add(label2, CC.xy(1, 1, CC.LEFT, CC.DEFAULT));
            panel2.add(label_totalCartPrice, CC.xywh(2, 1, 1, 2, CC.LEFT, CC.TOP));

            //---- label1 ----
            label1.setText("Total Items in Cart: ");
            panel2.add(label1, CC.xy(1, 3, CC.LEFT, CC.DEFAULT));

            //---- label_totalCartItems ----
            label_totalCartItems.setText("            0");
            panel2.add(label_totalCartItems, CC.xy(2, 3, CC.LEFT, CC.DEFAULT));
            panel2.add(separator4, CC.xywh(1, 5, 2, 1, CC.FILL, CC.DEFAULT));

            //---- label8 ----
            label8.setText("Browse");
            panel2.add(label8, CC.xy(1, 7, CC.LEFT, CC.DEFAULT));
        }
        splitPane2.setLeftComponent(panel2);

        //======== panel3 ========
        {
            panel3.setLayout(new FormLayout(
                    "left:default, 2*($lcgap, default), $lcgap, default:grow, 5*($lcgap, default), $lcgap, default:grow, 6*($lcgap, default)",
                    "4*(default, $lgap), 2*(default:grow, $lgap), default, $lgap, default:grow, 2*($lgap, default), $lgap, default:grow"));

            //---- btn_search ----
            btn_search.setText("Search");
            panel3.add(btn_search, CC.xywh(31, 1, 1, 5, CC.FILL, CC.DEFAULT));

            //---- label5 ----
            label5.setText("Search Text");
            panel3.add(label5, CC.xy(1, 1));
            panel3.add(textField_searchBox, CC.xywh(3, 1, 27, 1, CC.FILL, CC.DEFAULT));

            //---- label6 ----
            label6.setText("Filter");
            panel3.add(label6, CC.xy(1, 3));
            panel3.add(comboBox_filter, CC.xywh(3, 3, 27, 1, CC.FILL, CC.DEFAULT));

            //---- label7 ----
            label7.setText("Sort");
            panel3.add(label7, CC.xy(1, 5));
            panel3.add(comboBox_sort, CC.xywh(3, 5, 27, 1));
            panel3.add(separator3, CC.xywh(1, 7, 31, 1, CC.FILL, CC.DEFAULT));

            //======== scrollPane1 ========
            {
                scrollPane1.setViewportView(table_ProductList);
            }
            panel3.add(scrollPane1, CC.xywh(1, 9, 29, 13, CC.FILL, CC.FILL));

            //---- btn_addToCart ----
            btn_addToCart.setText("Add to Cart");
            btn_addToCart.addActionListener(e -> btn_addToCartActionPerformed(e));
            panel3.add(btn_addToCart, CC.xy(31, 9));
        }
        splitPane2.setRightComponent(panel3);
    }
    contentPane.add(splitPane2, CC.xy(1, 5, CC.RIGHT, CC.DEFAULT));
    setSize(680, 360);
    setLocationRelativeTo(null);
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

}

From source file:com.main.GoaView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Anjali Shinde
    panel1 = new JPanel();
    label1 = new JLabel();
    panel2 = new JPanel();
    panel3 = new JPanel();
    label2 = new JLabel();
    label3 = new JLabel();
    label4 = new JLabel();
    panel5 = new JPanel();
    label13 = new JLabel();
    label14 = new JLabel();
    label15 = new JLabel();
    label17 = new JLabel();
    label16 = new JLabel();
    label8 = new JLabel();
    scrollPane1 = new JScrollPane();
    editorPane1 = new JEditorPane();
    scrollPane6 = new JScrollPane();
    editorPane6 = new JEditorPane();
    scrollPane11 = new JScrollPane();
    editorPane11 = new JEditorPane();
    scrollPane16 = new JScrollPane();
    editorPane16 = new JEditorPane();
    scrollPane21 = new JScrollPane();
    editorPane21 = new JEditorPane();
    label9 = new JLabel();
    scrollPane2 = new JScrollPane();
    editorPane2 = new JEditorPane();
    scrollPane7 = new JScrollPane();
    editorPane7 = new JEditorPane();
    scrollPane12 = new JScrollPane();
    editorPane12 = new JEditorPane();
    scrollPane17 = new JScrollPane();
    editorPane17 = new JEditorPane();
    scrollPane22 = new JScrollPane();
    editorPane22 = new JEditorPane();
    label10 = new JLabel();
    scrollPane3 = new JScrollPane();
    editorPane3 = new JEditorPane();
    scrollPane8 = new JScrollPane();
    editorPane8 = new JEditorPane();
    scrollPane13 = new JScrollPane();
    editorPane13 = new JEditorPane();
    scrollPane18 = new JScrollPane();
    editorPane18 = new JEditorPane();
    scrollPane23 = new JScrollPane();
    editorPane23 = new JEditorPane();
    label11 = new JLabel();
    scrollPane4 = new JScrollPane();
    editorPane4 = new JEditorPane();
    scrollPane9 = new JScrollPane();
    editorPane9 = new JEditorPane();
    scrollPane14 = new JScrollPane();
    editorPane14 = new JEditorPane();
    scrollPane19 = new JScrollPane();
    editorPane19 = new JEditorPane();
    scrollPane24 = new JScrollPane();
    editorPane24 = new JEditorPane();
    label12 = new JLabel();
    scrollPane5 = new JScrollPane();
    editorPane5 = new JEditorPane();
    scrollPane10 = new JScrollPane();
    editorPane10 = new JEditorPane();
    scrollPane15 = new JScrollPane();
    editorPane15 = new JEditorPane();
    scrollPane20 = new JScrollPane();
    editorPane20 = new JEditorPane();
    scrollPane25 = new JScrollPane();
    editorPane25 = new JEditorPane();
    panel4 = new JPanel();
    label5 = new JLabel();
    label6 = new JLabel();
    label7 = new JLabel();
    panel6 = new JPanel();
    button1 = new JButton();

    //======== this ========

    // JFormDesigner evaluation mark
    setBorder(/* w w w  .j a  va  2  s . co  m*/
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("default:grow", "2*(default), $lgap, default"));

    //======== panel1 ========
    {
        panel1.setLayout(new FormLayout("default:grow", "default"));

        //---- label1 ----
        label1.setText("Goa Tourism");
        label1.setFont(new Font("Tahoma", Font.BOLD, 24));
        panel1.add(label1, CC.xy(1, 1, CC.CENTER, CC.CENTER));
    }
    add(panel1, CC.xy(1, 1));

    //======== panel2 ========
    {
        panel2.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

        //======== panel3 ========
        {
            panel3.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label2 ----
            label2.setIcon(new ImageIcon(getClass().getResource("/com/images/goa/goa1.jpg")));
            panel3.add(label2, CC.xy(1, 1));

            //---- label3 ----
            label3.setIcon(new ImageIcon(getClass().getResource("/com/images/goa/goa2.jpg")));
            panel3.add(label3, CC.xy(1, 3));

            //---- label4 ----
            label4.setIcon(new ImageIcon(getClass().getResource("/com/images/goa/goa3.jpg")));
            panel3.add(label4, CC.xy(1, 5));
        }
        panel2.add(panel3, CC.xy(1, 1));

        //======== panel5 ========
        {
            panel5.setBorder(LineBorder.createBlackLineBorder());
            panel5.setToolTipText(
                    "Bougainvillea Guest House,Casa Candolim,Santana Beach Resort,Lemon Tree Amarantee Beach Resort,Fortune Select Regina,Aldeia Santa Rita,Aashyana Lakhanpal,The O Hotel");
            panel5.setLayout(new FormLayout("5*(default, $lcgap), default", "5*(default, $lgap), default"));

            //---- label13 ----
            label13.setText("Panaji");
            panel5.add(label13, CC.xy(3, 1));

            //---- label14 ----
            label14.setText("Calangute");
            panel5.add(label14, CC.xy(5, 1));

            //---- label15 ----
            label15.setText("Candolim");
            panel5.add(label15, CC.xy(7, 1));

            //---- label17 ----
            label17.setText("Canacona");
            panel5.add(label17, CC.xy(9, 1));

            //---- label16 ----
            label16.setText("Ponda");
            panel5.add(label16, CC.xy(11, 1));

            //---- label8 ----
            label8.setText("PLACES TO VISIT");
            panel5.add(label8, CC.xy(1, 3));

            //======== scrollPane1 ========
            {

                //---- editorPane1 ----
                editorPane1.setEditable(false);
                editorPane1.setText(
                        "Basilica of Bom Jesus,Ashwem Beach,Fontainhas,Old Goa,Se Cathedral,Tomb of St.Francis Xavier,Reis Magos Fort,Panjim Heritage Walk,Church Square,Polem Beach,Dona Paula Beach");
                scrollPane1.setViewportView(editorPane1);
            }
            panel5.add(scrollPane1, CC.xy(3, 3));

            //======== scrollPane6 ========
            {

                //---- editorPane6 ----
                editorPane6.setEditable(false);
                editorPane6.setText("Bega Beach, Casino Palms");
                scrollPane6.setViewportView(editorPane6);
            }
            panel5.add(scrollPane6, CC.xy(5, 3));

            //======== scrollPane11 ========
            {

                //---- editorPane11 ----
                editorPane11.setEditable(false);
                editorPane11.setText("Chapora Beach,Viceroy's Arch,Kegdole Beach");
                scrollPane11.setViewportView(editorPane11);
            }
            panel5.add(scrollPane11, CC.xy(7, 3));

            //======== scrollPane16 ========
            {

                //---- editorPane16 ----
                editorPane16.setEditable(false);
                editorPane16.setText("Cola Beach,Yog Nisarga,Cabo de Rama Fort,Galjibaga Beach");
                scrollPane16.setViewportView(editorPane16);
            }
            panel5.add(scrollPane16, CC.xy(9, 3));

            //======== scrollPane21 ========
            {

                //---- editorPane21 ----
                editorPane21.setEditable(false);
                editorPane21.setText(
                        "Shri Mahalasa Temple,Butterfly Conservatory of Goa,Shri Naguesh Temple,Shri Ramnath Temple,Mahalaxmi Temple,Laxmi Narasimha Temple,Sri Nagueshi Temple");
                scrollPane21.setViewportView(editorPane21);
            }
            panel5.add(scrollPane21, CC.xy(11, 3));

            //---- label9 ----
            label9.setText("HOTELS");
            panel5.add(label9, CC.xy(1, 5));

            //======== scrollPane2 ========
            {

                //---- editorPane2 ----
                editorPane2.setEditable(false);
                editorPane2.setText(
                        "Vivanta by Taj,Goa Marriott resort & Spa,Afonso Gues House,Panjim Inn,Hotel Fidalgo,Ginger Goa,Hotel Aroma Executive");
                scrollPane2.setViewportView(editorPane2);
            }
            panel5.add(scrollPane2, CC.xy(3, 5));

            //======== scrollPane7 ========
            {

                //---- editorPane7 ----
                editorPane7.setEditable(false);
                editorPane7.setText(
                        "Pousada Tauma,Kingstork Beach Resort,Casa Severina,Renzo's Inn,Ocean Palms Goa,10 Calangute,Fahrenheit Hotels & Resorts");
                scrollPane7.setViewportView(editorPane7);
            }
            panel5.add(scrollPane7, CC.xy(5, 5));

            //======== scrollPane12 ========
            {

                //---- editorPane12 ----
                editorPane12.setEditable(false);
                editorPane12.setText(
                        "Bougainvillea Guest House,Casa Candolim,Santana Beach Resort,Lemon Tree Amarantee Beach Resort,Fortune Select Regina,Aldeia Santa Rita,Aashyana Lakhanpal,The O Hotel");
                scrollPane12.setViewportView(editorPane12);
            }
            panel5.add(scrollPane12, CC.xy(7, 5));

            //======== scrollPane17 ========
            {

                //---- editorPane17 ----
                editorPane17.setEditable(false);
                editorPane17.setText(
                        "Oceanic Hotel,Manfredi's Resort,The Fern Gardenia Resort,Bhakti Kutir,Dreamcatcher Resort,Clepatra Resort");
                scrollPane17.setViewportView(editorPane17);
            }
            panel5.add(scrollPane17, CC.xy(9, 5));

            //======== scrollPane22 ========
            {

                //---- editorPane22 ----
                editorPane22.setEditable(false);
                editorPane22.setText(
                        "Vila Nova Resort,Old Goa Residency,Hotel Sun Inn,Farmagudi Residency,Mayem Residency,Hotel Jyoti Plaza,Pratham,Kirti Hotel");
                scrollPane22.setViewportView(editorPane22);
            }
            panel5.add(scrollPane22, CC.xy(11, 5));

            //---- label10 ----
            label10.setText("RESTAURANT");
            panel5.add(label10, CC.xy(1, 7));

            //======== scrollPane3 ========
            {

                //---- editorPane3 ----
                editorPane3.setEditable(false);
                editorPane3.setText(
                        "Cafe Mangii,Ritz Classic,The Upper House,Delhi Darbar,Sher-E-Punjab,Tato Cafe,Viva Panjim");
                scrollPane3.setViewportView(editorPane3);
            }
            panel5.add(scrollPane3, CC.xy(3, 7));

            //======== scrollPane8 ========
            {

                //---- editorPane8 ----
                editorPane8.setEditable(false);
                editorPane8.setText(
                        "Chef Soumyen's kitchen,Pousada by the Beach,Patio 23,I 95,Under the Star,Oriental Thai-European Restaurant,The Spice Rac");
                scrollPane8.setViewportView(editorPane8);
            }
            panel5.add(scrollPane8, CC.xy(5, 7));

            //======== scrollPane13 ========
            {

                //---- editorPane13 ----
                editorPane13.setEditable(false);
                editorPane13.setText(
                        "Victor's,Bobby's Shack,Choclatti,Riverside Restaurant,Tuscany Gardens,Vivenda Kafe,Coyote,Shivers,Bomras,Palmland");
                scrollPane13.setViewportView(editorPane13);
            }
            panel5.add(scrollPane13, CC.xy(7, 7));

            //======== scrollPane18 ========
            {

                //---- editorPane18 ----
                editorPane18.setEditable(false);
                editorPane18.setText(
                        "Cafe Inn,Manveer's kitchen at Anant Residency,Magic Italy,Ourem 88,Little World,Ciarans,Dropadi Restaurant,Crunch");
                scrollPane18.setViewportView(editorPane18);
            }
            panel5.add(scrollPane18, CC.xy(9, 7));

            //======== scrollPane23 ========
            {

                //---- editorPane23 ----
                editorPane23.setEditable(false);
                editorPane23.setText("Hill Breeze");
                scrollPane23.setViewportView(editorPane23);
            }
            panel5.add(scrollPane23, CC.xy(11, 7));

            //---- label11 ----
            label11.setText("CLIMATE");
            panel5.add(label11, CC.xy(1, 9));

            //======== scrollPane4 ========
            {

                //---- editorPane4 ----
                editorPane4.setEditable(false);
                editorPane4.setText("Hot");
                scrollPane4.setViewportView(editorPane4);
            }
            panel5.add(scrollPane4, CC.xy(3, 9));

            //======== scrollPane9 ========
            {

                //---- editorPane9 ----
                editorPane9.setEditable(false);
                editorPane9.setText("Humid");
                scrollPane9.setViewportView(editorPane9);
            }
            panel5.add(scrollPane9, CC.xy(5, 9));

            //======== scrollPane14 ========
            {

                //---- editorPane14 ----
                editorPane14.setEditable(false);
                editorPane14.setText("Hot and Humid");
                scrollPane14.setViewportView(editorPane14);
            }
            panel5.add(scrollPane14, CC.xy(7, 9));

            //======== scrollPane19 ========
            {

                //---- editorPane19 ----
                editorPane19.setEditable(false);
                editorPane19.setText("Hot");
                scrollPane19.setViewportView(editorPane19);
            }
            panel5.add(scrollPane19, CC.xy(9, 9));

            //======== scrollPane24 ========
            {

                //---- editorPane24 ----
                editorPane24.setEditable(false);
                editorPane24.setText("Hot and Humid");
                scrollPane24.setViewportView(editorPane24);
            }
            panel5.add(scrollPane24, CC.xy(11, 9));

            //---- label12 ----
            label12.setText("SPECIALITY");
            panel5.add(label12, CC.xy(1, 11));

            //======== scrollPane5 ========
            {

                //---- editorPane5 ----
                editorPane5.setEditable(false);
                editorPane5.setText("Ship Building");
                scrollPane5.setViewportView(editorPane5);
            }
            panel5.add(scrollPane5, CC.xy(3, 11));

            //======== scrollPane10 ========
            {

                //---- editorPane10 ----
                editorPane10.setEditable(false);
                editorPane10.setText("Fish,Beach");
                scrollPane10.setViewportView(editorPane10);
            }
            panel5.add(scrollPane10, CC.xy(5, 11));

            //======== scrollPane15 ========
            {

                //---- editorPane15 ----
                editorPane15.setEditable(false);
                editorPane15.setText("Fish,Rice,Beach");
                scrollPane15.setViewportView(editorPane15);
            }
            panel5.add(scrollPane15, CC.xy(7, 11));

            //======== scrollPane20 ========
            {

                //---- editorPane20 ----
                editorPane20.setEditable(false);
                editorPane20.setText("Church,Beach");
                scrollPane20.setViewportView(editorPane20);
            }
            panel5.add(scrollPane20, CC.xy(9, 11));

            //======== scrollPane25 ========
            {

                //---- editorPane25 ----
                editorPane25.setEditable(false);
                editorPane25.setText("Fish,Temples");
                scrollPane25.setViewportView(editorPane25);
            }
            panel5.add(scrollPane25, CC.xy(11, 11));
        }
        panel2.add(panel5, CC.xy(3, 1));

        //======== panel4 ========
        {
            panel4.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label5 ----
            label5.setIcon(new ImageIcon(getClass().getResource("/com/images/goa/goamap.jpg")));
            panel4.add(label5, CC.xy(1, 1));

            //---- label6 ----
            label6.setIcon(new ImageIcon(getClass().getResource("/com/images/goa/goa4.jpg")));
            panel4.add(label6, CC.xy(1, 3));

            //---- label7 ----
            label7.setIcon(new ImageIcon(getClass().getResource("/com/images/goa/goa6.jpg")));
            panel4.add(label7, CC.xy(1, 5));
        }
        panel2.add(panel4, CC.xy(5, 1));
    }
    add(panel2, CC.xy(1, 2));

    //======== panel6 ========
    {
        panel6.setLayout(new FormLayout("default, $lcgap, default", "default"));

        //---- button1 ----
        button1.setText("Go Back To Main Menu");
        panel6.add(button1, CC.xy(1, 1));
    }
    add(panel6, CC.xy(1, 4));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
    button1.addActionListener(new ActionListener() {

        @Override
        public void actionPerformed(ActionEvent arg0) {
            MainPageView page = new MainPageView();
            page.createAndShowGUI();
        }
    });
}

From source file:com.main.Gurajat.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Anjali Shinde
    panel1 = new JPanel();
    label1 = new JLabel();
    panel2 = new JPanel();
    panel3 = new JPanel();
    label2 = new JLabel();
    label3 = new JLabel();
    label4 = new JLabel();
    panel6 = new JPanel();
    label13 = new JLabel();
    label14 = new JLabel();
    label15 = new JLabel();
    label16 = new JLabel();
    label17 = new JLabel();
    label8 = new JLabel();
    scrollPane1 = new JScrollPane();
    editorPane1 = new JEditorPane();
    scrollPane6 = new JScrollPane();
    editorPane6 = new JEditorPane();
    scrollPane11 = new JScrollPane();
    editorPane11 = new JEditorPane();
    scrollPane16 = new JScrollPane();
    editorPane16 = new JEditorPane();
    scrollPane21 = new JScrollPane();
    editorPane21 = new JEditorPane();
    label9 = new JLabel();
    scrollPane2 = new JScrollPane();
    editorPane2 = new JEditorPane();
    scrollPane7 = new JScrollPane();
    editorPane7 = new JEditorPane();
    scrollPane12 = new JScrollPane();
    editorPane12 = new JEditorPane();
    scrollPane17 = new JScrollPane();
    editorPane17 = new JEditorPane();
    scrollPane22 = new JScrollPane();
    editorPane22 = new JEditorPane();
    label10 = new JLabel();
    scrollPane3 = new JScrollPane();
    editorPane3 = new JEditorPane();
    scrollPane8 = new JScrollPane();
    editorPane8 = new JEditorPane();
    scrollPane13 = new JScrollPane();
    editorPane13 = new JEditorPane();
    scrollPane18 = new JScrollPane();
    editorPane18 = new JEditorPane();
    scrollPane23 = new JScrollPane();
    editorPane23 = new JEditorPane();
    label11 = new JLabel();
    scrollPane4 = new JScrollPane();
    editorPane4 = new JEditorPane();
    scrollPane9 = new JScrollPane();
    editorPane9 = new JEditorPane();
    scrollPane14 = new JScrollPane();
    editorPane14 = new JEditorPane();
    scrollPane19 = new JScrollPane();
    editorPane19 = new JEditorPane();
    scrollPane24 = new JScrollPane();
    editorPane24 = new JEditorPane();
    label12 = new JLabel();
    scrollPane5 = new JScrollPane();
    editorPane5 = new JEditorPane();
    scrollPane10 = new JScrollPane();
    editorPane10 = new JEditorPane();
    scrollPane15 = new JScrollPane();
    editorPane15 = new JEditorPane();
    scrollPane20 = new JScrollPane();
    editorPane20 = new JEditorPane();
    scrollPane25 = new JScrollPane();
    editorPane25 = new JEditorPane();
    panel4 = new JPanel();
    label5 = new JLabel();
    label6 = new JLabel();
    label7 = new JLabel();
    panel5 = new JPanel();
    button1 = new JButton();

    //======== this ========

    // JFormDesigner evaluation mark
    setBorder(//from   ww  w .j  a va2  s. com
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("default:grow", "2*(default), $lgap, default"));

    //======== panel1 ========
    {
        panel1.setLayout(new FormLayout("default:grow", "default"));

        //---- label1 ----
        label1.setText("Gurajat Tourism");
        label1.setFont(new Font("Tahoma", Font.BOLD, 24));
        panel1.add(label1, CC.xy(1, 1, CC.CENTER, CC.CENTER));
    }
    add(panel1, CC.xy(1, 1));

    //======== panel2 ========
    {
        panel2.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

        //======== panel3 ========
        {
            panel3.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label2 ----
            label2.setIcon(new ImageIcon(getClass().getResource("/com/images/gujarat/guj1.jpg")));
            panel3.add(label2, CC.xy(1, 1));

            //---- label3 ----
            label3.setIcon(new ImageIcon(getClass().getResource("/com/images/gujarat/guj2.jpg")));
            panel3.add(label3, CC.xy(1, 3));

            //---- label4 ----
            label4.setIcon(new ImageIcon(getClass().getResource("/com/images/gujarat/guj3.jpg")));
            panel3.add(label4, CC.xy(1, 5));
        }
        panel2.add(panel3, CC.xy(1, 1));

        //======== panel6 ========
        {
            panel6.setBorder(LineBorder.createBlackLineBorder());
            panel6.setLayout(new FormLayout("5*(default, $lcgap), default", "5*(default, $lgap), default"));

            //---- label13 ----
            label13.setText("Ahmedabad");
            panel6.add(label13, CC.xy(3, 1));

            //---- label14 ----
            label14.setText("Vadodara");
            panel6.add(label14, CC.xy(5, 1));

            //---- label15 ----
            label15.setText("Porbandar");
            panel6.add(label15, CC.xy(7, 1));

            //---- label16 ----
            label16.setText("Junagadh");
            panel6.add(label16, CC.xy(9, 1));

            //---- label17 ----
            label17.setText("Saputara");
            panel6.add(label17, CC.xy(11, 1));

            //---- label8 ----
            label8.setText("PLACES TO VISIT");
            panel6.add(label8, CC.xy(1, 3));

            //======== scrollPane1 ========
            {

                //---- editorPane1 ----
                editorPane1.setEditable(false);
                editorPane1.setText(
                        "Sabarmati Ashram,Adalaj Step-well,Auto World vintage Car Museum,Akshardham Temple,Kankaria Lake,Jama Masjiddada Hari,Rauza,Thor");
                scrollPane1.setViewportView(editorPane1);
            }
            panel6.add(scrollPane1, CC.xy(3, 3));

            //======== scrollPane6 ========
            {

                //---- editorPane6 ----
                editorPane6.setEditable(false);
                editorPane6.setText(
                        "Laxmi Vilas Palace,Baps Swaminarayan Mandir,Mahajan Palace,Maharaja Fatesingh Museum,Kabirvad,Narmada Canal,Kirti Stambh,Jubilee Baug");
                scrollPane6.setViewportView(editorPane6);
            }
            panel6.add(scrollPane6, CC.xy(5, 3));

            //======== scrollPane11 ========
            {

                //---- editorPane11 ----
                editorPane11.setEditable(false);
                editorPane11.setText(
                        "Kirti Mandir Temple,Pirbandar Beach,Krishna-Sudama Temple,Rani Baug Park,Tara mandir,Sartanji Choro,Ghumli,Huzoor Palace");
                scrollPane11.setViewportView(editorPane11);
            }
            panel6.add(scrollPane11, CC.xy(7, 3));

            //======== scrollPane16 ========
            {

                //---- editorPane16 ----
                editorPane16.setEditable(false);
                editorPane16.setText(
                        "Gir National Park Wildlife Sanctuary,Darbar Hall Museun,Sakkarbaug Zoo,Ashok Shilalekh,Uperkot Fort,Jain DerasarDataar Hills,Dattatreya Tempe,Wellington DamPatan Gate");
                scrollPane16.setViewportView(editorPane16);
            }
            panel6.add(scrollPane16, CC.xy(9, 3));

            //======== scrollPane21 ========
            {

                //---- editorPane21 ----
                editorPane21.setEditable(false);
                editorPane21.setText(
                        "Saputara Lake,Gira Waterfalls,Sunset Point,Tribal Museum,Lake Garden,Pandava Gufa,Hatgadh Fort");
                scrollPane21.setViewportView(editorPane21);
            }
            panel6.add(scrollPane21, CC.xy(11, 3));

            //---- label9 ----
            label9.setText("HOTELS");
            panel6.add(label9, CC.xy(1, 5));

            //======== scrollPane2 ========
            {
                scrollPane2.setAutoscrolls(true);

                //---- editorPane2 ----
                editorPane2.setEditable(false);
                editorPane2.setText(
                        "Hotel Grand Ambience,Royal Orchid Central,The House of MG,Ista,The Fern,Park Plaza,Lemon Tree Hotel");
                scrollPane2.setViewportView(editorPane2);
            }
            panel6.add(scrollPane2, CC.xy(3, 5));

            //======== scrollPane7 ========
            {
                scrollPane7.setAutoscrolls(true);

                //---- editorPane7 ----
                editorPane7.setEditable(false);
                editorPane7.setText(
                        "Royal Orchid  Central,Surya Palace Hotel,Gateay Hotel at Akota Gardens,Welcom hotel,Tansha Comfort Residency,The Oasis");
                scrollPane7.setViewportView(editorPane7);
            }
            panel6.add(scrollPane7, CC.xy(5, 5));

            //======== scrollPane12 ========
            {
                scrollPane12.setAutoscrolls(true);

                //---- editorPane12 ----
                editorPane12.setEditable(false);
                editorPane12.setText(
                        "Hotel Lila,Hotel Kuber,Indraprasth,Hotel Harmony,Moon Palace,Natraj Hotel,Hotel President,Hotel Sheetal");
                scrollPane12.setViewportView(editorPane12);
            }
            panel6.add(scrollPane12, CC.xy(7, 5));

            //======== scrollPane17 ========
            {
                scrollPane17.setAutoscrolls(true);

                //---- editorPane17 ----
                editorPane17.setEditable(false);
                editorPane17.setText(
                        "Lotus Hotel,Magico Do Mar,Hotel Vishala,Leo Resorts,Bhagyoday Palace Hotel,Hotel platinum");
                scrollPane17.setViewportView(editorPane17);
            }
            panel6.add(scrollPane17, CC.xy(9, 5));

            //======== scrollPane22 ========
            {
                scrollPane22.setAutoscrolls(true);

                //---- editorPane22 ----
                editorPane22.setEditable(false);
                editorPane22.setText(
                        "Patang Lords Eco Inn,Chitrakoot Hill Resort,Toran Hill Resort,Vaity Ropeway Resort");
                scrollPane22.setViewportView(editorPane22);
            }
            panel6.add(scrollPane22, CC.xy(11, 5));

            //---- label10 ----
            label10.setText("RESTAURANT");
            panel6.add(label10, CC.xy(1, 7));

            //======== scrollPane3 ========
            {

                //---- editorPane3 ----
                editorPane3.setEditable(false);
                editorPane3.setText(
                        "Agashiye,Vishalla,Swati Snacks,Awadh Puri,Zen Cafe,Havmor,Atithi,Seva Caf\u00e9");
                scrollPane3.setViewportView(editorPane3);
            }
            panel6.add(scrollPane3, CC.xy(3, 7));

            //======== scrollPane8 ========
            {

                //---- editorPane8 ----
                editorPane8.setEditable(false);
                editorPane8
                        .setText("Kai Asia,Offside Lounge,22nd Parallel,Peshawri,Little Italy,Barbeque Nation");
                scrollPane8.setViewportView(editorPane8);
            }
            panel6.add(scrollPane8, CC.xy(5, 7));

            //======== scrollPane13 ========
            {

                //---- editorPane13 ----
                editorPane13.setEditable(false);
                editorPane13.setText("Swagat Restaurant");
                scrollPane13.setViewportView(editorPane13);
            }
            panel6.add(scrollPane13, CC.xy(7, 7));

            //======== scrollPane18 ========
            {

                //---- editorPane18 ----
                editorPane18.setEditable(false);
                editorPane18.setText("Geeta Lodge,Rajbhog Restaurant");
                scrollPane18.setViewportView(editorPane18);
            }
            panel6.add(scrollPane18, CC.xy(9, 7));

            //======== scrollPane23 ========
            {

                //---- editorPane23 ----
                editorPane23.setEditable(false);
                editorPane23.setText("Uday Hill Resto-Bar,");
                scrollPane23.setViewportView(editorPane23);
            }
            panel6.add(scrollPane23, CC.xy(11, 7));

            //---- label11 ----
            label11.setText("CLIMATE");
            panel6.add(label11, CC.xy(1, 9));

            //======== scrollPane4 ========
            {

                //---- editorPane4 ----
                editorPane4.setEditable(false);
                editorPane4.setText("Semi-arid");
                scrollPane4.setViewportView(editorPane4);
            }
            panel6.add(scrollPane4, CC.xy(3, 9));

            //======== scrollPane9 ========
            {

                //---- editorPane9 ----
                editorPane9.setEditable(false);
                editorPane9.setText("Dry");
                scrollPane9.setViewportView(editorPane9);
            }
            panel6.add(scrollPane9, CC.xy(5, 9));

            //======== scrollPane14 ========
            {

                //---- editorPane14 ----
                editorPane14.setEditable(false);
                editorPane14.setText("Moderate");
                scrollPane14.setViewportView(editorPane14);
            }
            panel6.add(scrollPane14, CC.xy(7, 9));

            //======== scrollPane19 ========
            {

                //---- editorPane19 ----
                editorPane19.setEditable(false);
                editorPane19.setText("Dry and Scanty Rainfall");
                scrollPane19.setViewportView(editorPane19);
            }
            panel6.add(scrollPane19, CC.xy(9, 9));

            //======== scrollPane24 ========
            {

                //---- editorPane24 ----
                editorPane24.setEditable(false);
                editorPane24.setText("Pleasant");
                scrollPane24.setViewportView(editorPane24);
            }
            panel6.add(scrollPane24, CC.xy(11, 9));

            //---- label12 ----
            label12.setText("SPECIALITY");
            panel6.add(label12, CC.xy(1, 11));

            //======== scrollPane5 ========
            {

                //---- editorPane5 ----
                editorPane5.setEditable(false);
                editorPane5.setText("Museums,Hospitals");
                scrollPane5.setViewportView(editorPane5);
            }
            panel6.add(scrollPane5, CC.xy(3, 11));

            //======== scrollPane10 ========
            {

                //---- editorPane10 ----
                editorPane10.setEditable(false);
                editorPane10.setText("Textiles,Dhokla");
                scrollPane10.setViewportView(editorPane10);
            }
            panel6.add(scrollPane10, CC.xy(5, 11));

            //======== scrollPane15 ========
            {

                //---- editorPane15 ----
                editorPane15.setEditable(false);
                editorPane15.setText("Khajali,Sweets");
                scrollPane15.setViewportView(editorPane15);
            }
            panel6.add(scrollPane15, CC.xy(7, 11));

            //======== scrollPane20 ========
            {

                //---- editorPane20 ----
                editorPane20.setEditable(false);
                editorPane20.setText("Parks,Museums");
                scrollPane20.setViewportView(editorPane20);
            }
            panel6.add(scrollPane20, CC.xy(9, 11));

            //======== scrollPane25 ========
            {

                //---- editorPane25 ----
                editorPane25.setText("Hill Station,Park");
                scrollPane25.setViewportView(editorPane25);
            }
            panel6.add(scrollPane25, CC.xy(11, 11));
        }
        panel2.add(panel6, CC.xy(3, 1));

        //======== panel4 ========
        {
            panel4.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label5 ----
            label5.setIcon(new ImageIcon(getClass().getResource("/com/images/gujarat/gujmap.jpg")));
            panel4.add(label5, CC.xy(1, 1));

            //---- label6 ----
            label6.setIcon(new ImageIcon(getClass().getResource("/com/images/gujarat/guj4.jpg")));
            panel4.add(label6, CC.xy(1, 3));

            //---- label7 ----
            label7.setIcon(new ImageIcon(getClass().getResource("/com/images/gujarat/guj5.jpg")));
            panel4.add(label7, CC.xy(1, 5));
        }
        panel2.add(panel4, CC.xy(5, 1));
    }
    add(panel2, CC.xy(1, 2));

    //======== panel5 ========
    {
        panel5.setLayout(new FormLayout("default, $lcgap, default", "default"));

        //---- button1 ----
        button1.setText("Go Back To Main Menu");
        panel5.add(button1, CC.xy(1, 1));
    }
    add(panel5, CC.xy(1, 4));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

    button1.addActionListener(new ActionListener() {

        @Override
        public void actionPerformed(ActionEvent arg0) {
            MainPageView page = new MainPageView();
            page.createAndShowGUI();
        }
    });
}

From source file:com.main.JKView.java

private void initComponents() {

    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Anjali Shinde
    panel1 = new JPanel();
    label1 = new JLabel();
    panel2 = new JPanel();
    panel3 = new JPanel();
    label2 = new JLabel();
    label3 = new JLabel();
    label4 = new JLabel();
    panel5 = new JPanel();
    label13 = new JLabel();
    label14 = new JLabel();
    label15 = new JLabel();
    label16 = new JLabel();
    label17 = new JLabel();
    label8 = new JLabel();
    scrollPane1 = new JScrollPane();
    editorPane1 = new JEditorPane();
    scrollPane6 = new JScrollPane();
    editorPane6 = new JEditorPane();
    scrollPane11 = new JScrollPane();
    editorPane11 = new JEditorPane();
    scrollPane16 = new JScrollPane();
    editorPane16 = new JEditorPane();
    scrollPane21 = new JScrollPane();
    editorPane21 = new JEditorPane();
    label9 = new JLabel();
    scrollPane2 = new JScrollPane();
    editorPane2 = new JEditorPane();
    scrollPane7 = new JScrollPane();
    editorPane7 = new JEditorPane();
    scrollPane12 = new JScrollPane();
    editorPane12 = new JEditorPane();
    scrollPane17 = new JScrollPane();
    editorPane17 = new JEditorPane();
    scrollPane22 = new JScrollPane();
    editorPane22 = new JEditorPane();
    label10 = new JLabel();
    scrollPane3 = new JScrollPane();
    editorPane3 = new JEditorPane();
    scrollPane8 = new JScrollPane();
    editorPane8 = new JEditorPane();
    scrollPane13 = new JScrollPane();
    editorPane13 = new JEditorPane();
    scrollPane18 = new JScrollPane();
    editorPane18 = new JEditorPane();
    scrollPane23 = new JScrollPane();
    editorPane23 = new JEditorPane();
    label11 = new JLabel();
    scrollPane4 = new JScrollPane();
    editorPane4 = new JEditorPane();
    scrollPane9 = new JScrollPane();
    editorPane9 = new JEditorPane();
    scrollPane14 = new JScrollPane();
    editorPane14 = new JEditorPane();
    scrollPane19 = new JScrollPane();
    editorPane19 = new JEditorPane();
    scrollPane24 = new JScrollPane();
    editorPane24 = new JEditorPane();
    label12 = new JLabel();
    scrollPane5 = new JScrollPane();
    editorPane5 = new JEditorPane();
    scrollPane10 = new JScrollPane();
    editorPane10 = new JEditorPane();
    scrollPane15 = new JScrollPane();
    editorPane15 = new JEditorPane();
    scrollPane20 = new JScrollPane();
    editorPane20 = new JEditorPane();
    scrollPane25 = new JScrollPane();
    editorPane25 = new JEditorPane();
    panel4 = new JPanel();
    label5 = new JLabel();
    label6 = new JLabel();
    label7 = new JLabel();
    panel6 = new JPanel();
    button1 = new JButton();

    //======== this ========

    // JFormDesigner evaluation mark
    setBorder(/* w ww.j  av  a2 s  .com*/
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("default:grow", "2*(default), $lgap, default"));

    //======== panel1 ========
    {
        panel1.setLayout(new FormLayout("default:grow", "default"));

        //---- label1 ----
        label1.setText("Jammu and Kashmir Tourism");
        label1.setFont(new Font("Tahoma", Font.BOLD, 24));
        panel1.add(label1, CC.xy(1, 1, CC.CENTER, CC.CENTER));
    }
    add(panel1, CC.xy(1, 1));

    //======== panel2 ========
    {
        panel2.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

        //======== panel3 ========
        {
            panel3.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label2 ----
            label2.setIcon(new ImageIcon(getClass().getResource("/com/images/jk/jk1.jpg")));
            panel3.add(label2, CC.xy(1, 1));

            //---- label3 ----
            label3.setIcon(new ImageIcon(getClass().getResource("/com/images/jk/jk2.jpg")));
            panel3.add(label3, CC.xy(1, 3));

            //---- label4 ----
            label4.setIcon(new ImageIcon(getClass().getResource("/com/images/jk/jk3.jpg")));
            panel3.add(label4, CC.xy(1, 5));
        }
        panel2.add(panel3, CC.xy(1, 1));

        //======== panel5 ========
        {
            panel5.setBorder(LineBorder.createBlackLineBorder());
            panel5.setLayout(new FormLayout("5*(default, $lcgap), default", "5*(default, $lgap), default"));

            //---- label13 ----
            label13.setText("Srinagar");
            panel5.add(label13, CC.xy(3, 1));

            //---- label14 ----
            label14.setText("Leh");
            panel5.add(label14, CC.xy(5, 1));

            //---- label15 ----
            label15.setText("Gulmarg");
            panel5.add(label15, CC.xy(7, 1));

            //---- label16 ----
            label16.setText("Jammu City");
            panel5.add(label16, CC.xy(9, 1));

            //---- label17 ----
            label17.setText("Udhampur");
            panel5.add(label17, CC.xy(11, 1));

            //---- label8 ----
            label8.setText("PLACES TO VISIT");
            panel5.add(label8, CC.xy(1, 3));

            //======== scrollPane1 ========
            {

                //---- editorPane1 ----
                editorPane1.setEditable(false);
                editorPane1.setText(
                        "Dal Lake,Nagin Lake,Nishat Garden,Shalimar Bagh,Mughal garden,Yousmarg,Pari Mahal");
                scrollPane1.setViewportView(editorPane1);
            }
            panel5.add(scrollPane1, CC.xy(3, 3));

            //======== scrollPane6 ========
            {

                //---- editorPane6 ----
                editorPane6.setEditable(false);
                editorPane6.setText(
                        "Nubra Valley,Monastero Likir,Thiksey Monastery,Monastero Spituk,Leh Royal Palace");
                scrollPane6.setViewportView(editorPane6);
            }
            panel5.add(scrollPane6, CC.xy(5, 3));

            //======== scrollPane11 ========
            {

                //---- editorPane11 ----
                editorPane11.setEditable(false);
                editorPane11.setText("Apharwat Peak,Gondola,Ski Area,Ningle nallah,Alpather Lake");
                scrollPane11.setViewportView(editorPane11);
            }
            panel5.add(scrollPane11, CC.xy(7, 3));

            //======== scrollPane16 ========
            {

                //---- editorPane16 ----
                editorPane16.setEditable(false);
                editorPane16.setText(
                        "Vaishno Devi Mandir,Mahamaya Temple,Akhnoor Fort,Panch Peer,Rani Charak Mahal,Surinsar Lake");
                scrollPane16.setViewportView(editorPane16);
            }
            panel5.add(scrollPane16, CC.xy(9, 3));

            //======== scrollPane21 ========
            {

                //---- editorPane21 ----
                editorPane21.setEditable(false);
                editorPane21.setText(
                        "Baba Dhansar,ISKCON Udhampur,Bhimgarh Fort,Krimchi Temple,Kalika Temple,Siar Baba");
                scrollPane21.setViewportView(editorPane21);
            }
            panel5.add(scrollPane21, CC.xy(11, 3));

            //---- label9 ----
            label9.setText("HOTELS");
            panel5.add(label9, CC.xy(1, 5));

            //======== scrollPane2 ========
            {

                //---- editorPane2 ----
                editorPane2.setEditable(false);
                editorPane2.setText(
                        "Hotel Dar-Es-Salam,Hotel Centre Point,Gurkha Houseboats,Hotel brown Palace,Heevan Resort");
                scrollPane2.setViewportView(editorPane2);
            }
            panel5.add(scrollPane2, CC.xy(3, 5));

            //======== scrollPane7 ========
            {

                //---- editorPane7 ----
                editorPane7.setEditable(false);
                editorPane7.setText(
                        "Ladakh Sarai,Grand Dragon Ladakh,Hotel Lasermo,Hotel Caravan Center,Lotus Hotel,Hotel Omasila,Ladakh residency");
                scrollPane7.setViewportView(editorPane7);
            }
            panel5.add(scrollPane7, CC.xy(5, 5));

            //======== scrollPane12 ========
            {

                //---- editorPane12 ----
                editorPane12.setEditable(false);
                editorPane12.setText(
                        "The Vintage gulmarg,Heevan retreat Gulmarg,The Pine Palace Resort,Hotel Affarwat");
                scrollPane12.setViewportView(editorPane12);
            }
            panel5.add(scrollPane12, CC.xy(7, 5));

            //======== scrollPane17 ========
            {

                //---- editorPane17 ----
                editorPane17.setEditable(false);
                editorPane17.setText(
                        "Fortune Inn Riviera,K.C.Residency,Katra Continental,Jehlum Resort,Jammu Ashok,Samrat Hotel");
                scrollPane17.setViewportView(editorPane17);
            }
            panel5.add(scrollPane17, CC.xy(9, 5));

            //======== scrollPane22 ========
            {

                //---- editorPane22 ----
                editorPane22.setEditable(false);
                editorPane22.setText("Pine Villa Guest House,Hotel Parveen,JKTDC Tourist Bungalow Kud");
                scrollPane22.setViewportView(editorPane22);
            }
            panel5.add(scrollPane22, CC.xy(11, 5));

            //---- label10 ----
            label10.setText("RESTAURANT");
            panel5.add(label10, CC.xy(1, 7));

            //======== scrollPane3 ========
            {

                //---- editorPane3 ----
                editorPane3.setEditable(false);
                editorPane3.setText(
                        "Ahdoos,Strean,Shamyana,Alka Salka,Cofffea Arabica,Lhasa,Mughal Darbar,Latitude");
                scrollPane3.setViewportView(editorPane3);
            }
            panel5.add(scrollPane3, CC.xy(3, 7));

            //======== scrollPane8 ========
            {

                //---- editorPane8 ----
                editorPane8.setEditable(false);
                editorPane8.setText(
                        "Himalaya Caf\u00e9,La Pizzeria,Wonderland,Dreamland,Gesmo,LamayuruBon Appetit");
                scrollPane8.setViewportView(editorPane8);
            }
            panel5.add(scrollPane8, CC.xy(5, 7));

            //======== scrollPane13 ========
            {

                //---- editorPane13 ----
                editorPane13.setEditable(false);
                editorPane13.setText(
                        "Hotel Highland park,Hilltop Hotel,Bakshi Restaurant,Gulmarg Ski Resort,Sahara Hotel");
                scrollPane13.setViewportView(editorPane13);
            }
            panel5.add(scrollPane13, CC.xy(7, 7));

            //======== scrollPane18 ========
            {

                //---- editorPane18 ----
                editorPane18.setEditable(false);
                editorPane18.setText(
                        "Falak Revolving,Yangtse,Moti Mahal,Mcdonald's,Yo China,Earthen Oven,Hotel Taj Restaurant");
                scrollPane18.setViewportView(editorPane18);
            }
            panel5.add(scrollPane18, CC.xy(9, 7));

            //======== scrollPane23 ========
            {

                //---- editorPane23 ----
                editorPane23.setEditable(false);
                editorPane23.setText(
                        "Hotel Indira,Hotel New Ashok,Hotel Divya Palace,Pratap Resort,Hotel Ashiana,Shiv Dham Hotel");
                scrollPane23.setViewportView(editorPane23);
            }
            panel5.add(scrollPane23, CC.xy(11, 7));

            //---- label11 ----
            label11.setText("CLIMATE");
            panel5.add(label11, CC.xy(1, 9));

            //======== scrollPane4 ========
            {

                //---- editorPane4 ----
                editorPane4.setEditable(false);
                editorPane4.setText("Very Cold");
                scrollPane4.setViewportView(editorPane4);
            }
            panel5.add(scrollPane4, CC.xy(3, 9));

            //======== scrollPane9 ========
            {

                //---- editorPane9 ----
                editorPane9.setEditable(false);
                editorPane9.setText("Very Cold");
                scrollPane9.setViewportView(editorPane9);
            }
            panel5.add(scrollPane9, CC.xy(5, 9));

            //======== scrollPane14 ========
            {

                //---- editorPane14 ----
                editorPane14.setEditable(false);
                editorPane14.setText("Very Cold");
                scrollPane14.setViewportView(editorPane14);
            }
            panel5.add(scrollPane14, CC.xy(7, 9));

            //======== scrollPane19 ========
            {

                //---- editorPane19 ----
                editorPane19.setEditable(false);
                editorPane19.setText("Very Cold");
                scrollPane19.setViewportView(editorPane19);
            }
            panel5.add(scrollPane19, CC.xy(9, 9));

            //======== scrollPane24 ========
            {

                //---- editorPane24 ----
                editorPane24.setEditable(false);
                editorPane24.setText("Very Cold");
                scrollPane24.setViewportView(editorPane24);
            }
            panel5.add(scrollPane24, CC.xy(11, 9));

            //---- label12 ----
            label12.setText("SPECIALITY");
            panel5.add(label12, CC.xy(1, 11));

            //======== scrollPane5 ========
            {

                //---- editorPane5 ----
                editorPane5.setEditable(false);
                editorPane5.setText("Apples, Lake,Anjir fruit");
                scrollPane5.setViewportView(editorPane5);
            }
            panel5.add(scrollPane5, CC.xy(3, 11));

            //======== scrollPane10 ========
            {

                //---- editorPane10 ----
                editorPane10.setEditable(false);
                editorPane10.setText("Beauty,Apples,Keshar");
                scrollPane10.setViewportView(editorPane10);
            }
            panel5.add(scrollPane10, CC.xy(5, 11));

            //======== scrollPane15 ========
            {

                //---- editorPane15 ----
                editorPane15.setEditable(false);
                editorPane15.setText("Woollen Clothes");
                scrollPane15.setViewportView(editorPane15);
            }
            panel5.add(scrollPane15, CC.xy(7, 11));

            //======== scrollPane20 ========
            {

                //---- editorPane20 ----
                editorPane20.setEditable(false);
                editorPane20.setText("Beauty,Apples,Keshar");
                scrollPane20.setViewportView(editorPane20);
            }
            panel5.add(scrollPane20, CC.xy(9, 11));

            //======== scrollPane25 ========
            {

                //---- editorPane25 ----
                editorPane25.setEditable(false);
                editorPane25.setText("Keshar,Apples,Anjir fruit");
                scrollPane25.setViewportView(editorPane25);
            }
            panel5.add(scrollPane25, CC.xy(11, 11));
        }
        panel2.add(panel5, CC.xy(3, 1));

        //======== panel4 ========
        {
            panel4.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label5 ----
            label5.setIcon(new ImageIcon(getClass().getResource("/com/images/jk/jkmap.jpg")));
            panel4.add(label5, CC.xy(1, 1));

            //---- label6 ----
            label6.setIcon(new ImageIcon(getClass().getResource("/com/images/jk/jk4.jpg")));
            panel4.add(label6, CC.xy(1, 3));

            //---- label7 ----
            label7.setIcon(new ImageIcon(getClass().getResource("/com/images/jk/jk5.jpg")));
            panel4.add(label7, CC.xy(1, 5));
        }
        panel2.add(panel4, CC.xy(5, 1));
    }
    add(panel2, CC.xy(1, 2));

    //======== panel6 ========
    {
        panel6.setLayout(new FormLayout("default, $lcgap, default", "default"));

        //---- button1 ----
        button1.setText("Go Back To Main Menu");
        panel6.add(button1, CC.xy(1, 1));
    }
    add(panel6, CC.xy(1, 4));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

    button1.addActionListener(new ActionListener() {

        @Override
        public void actionPerformed(ActionEvent arg0) {
            MainPageView page = new MainPageView();
            page.createAndShowGUI();
        }
    });
}

From source file:com.main.KeralaPage.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Anjali Shinde
    panel1 = new JPanel();
    label1 = new JLabel();
    panel5 = new JPanel();
    panel6 = new JPanel();
    label10 = new JLabel();
    label11 = new JLabel();
    label12 = new JLabel();
    panel9 = new JPanel();
    label22 = new JLabel();
    label23 = new JLabel();
    label24 = new JLabel();
    label25 = new JLabel();
    label21 = new JLabel();
    label16 = new JLabel();
    scrollPane1 = new JScrollPane();
    editorPane1 = new JEditorPane();
    scrollPane6 = new JScrollPane();
    editorPane6 = new JEditorPane();
    scrollPane11 = new JScrollPane();
    editorPane11 = new JEditorPane();
    scrollPane16 = new JScrollPane();
    editorPane16 = new JEditorPane();
    scrollPane21 = new JScrollPane();
    editorPane21 = new JEditorPane();
    label17 = new JLabel();
    scrollPane2 = new JScrollPane();
    editorPane2 = new JEditorPane();
    scrollPane7 = new JScrollPane();
    editorPane7 = new JEditorPane();
    scrollPane12 = new JScrollPane();
    editorPane12 = new JEditorPane();
    scrollPane17 = new JScrollPane();
    editorPane17 = new JEditorPane();
    scrollPane22 = new JScrollPane();
    editorPane22 = new JEditorPane();
    label18 = new JLabel();
    scrollPane3 = new JScrollPane();
    editorPane3 = new JEditorPane();
    scrollPane8 = new JScrollPane();
    editorPane8 = new JEditorPane();
    scrollPane13 = new JScrollPane();
    editorPane13 = new JEditorPane();
    scrollPane18 = new JScrollPane();
    editorPane18 = new JEditorPane();
    scrollPane23 = new JScrollPane();
    editorPane23 = new JEditorPane();
    label19 = new JLabel();
    scrollPane4 = new JScrollPane();
    editorPane4 = new JEditorPane();
    scrollPane9 = new JScrollPane();
    editorPane9 = new JEditorPane();
    scrollPane14 = new JScrollPane();
    editorPane14 = new JEditorPane();
    scrollPane19 = new JScrollPane();
    editorPane19 = new JEditorPane();
    scrollPane24 = new JScrollPane();
    editorPane24 = new JEditorPane();
    label20 = new JLabel();
    scrollPane5 = new JScrollPane();
    editorPane5 = new JEditorPane();
    scrollPane10 = new JScrollPane();
    editorPane10 = new JEditorPane();
    scrollPane15 = new JScrollPane();
    editorPane15 = new JEditorPane();
    scrollPane20 = new JScrollPane();
    editorPane20 = new JEditorPane();
    scrollPane25 = new JScrollPane();
    editorPane25 = new JEditorPane();
    panel7 = new JPanel();
    label13 = new JLabel();
    label14 = new JLabel();
    label15 = new JLabel();
    panel8 = new JPanel();
    button1 = new JButton();

    //======== this ========

    // JFormDesigner evaluation mark
    setBorder(/*  w  ww  . j a va 2s . c o  m*/
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("default:grow", "2*(default, $lgap), default"));

    //======== panel1 ========
    {
        panel1.setLayout(new FormLayout("default:grow", "pref"));

        //---- label1 ----
        label1.setText("Kerala Tourism");
        label1.setFont(new Font("Tahoma", Font.BOLD, 24));
        panel1.add(label1, CC.xy(1, 1, CC.CENTER, CC.CENTER));
    }
    add(panel1, CC.xy(1, 1));

    //======== panel5 ========
    {
        panel5.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

        //======== panel6 ========
        {
            panel6.setLayout(new FormLayout("default:grow", "2*(default, $lgap), default"));

            //---- label10 ----
            label10.setIcon(new ImageIcon(getClass().getResource("/com/images/kerala/ker2.jpg")));
            panel6.add(label10, CC.xy(1, 1));

            //---- label11 ----
            label11.setIcon(new ImageIcon(getClass().getResource("/com/images/kerala/ker1.jpg")));
            panel6.add(label11, CC.xy(1, 3));

            //---- label12 ----
            label12.setIcon(new ImageIcon(getClass().getResource("/com/images/kerala/ker3.jpg")));
            panel6.add(label12, CC.xy(1, 5));
        }
        panel5.add(panel6, CC.xy(1, 1));

        //======== panel9 ========
        {
            panel9.setBorder(LineBorder.createBlackLineBorder());
            panel9.setLayout(new FormLayout("5*(default:grow, $lcgap), 57dlu:grow",
                    "5*(fill:default:grow, $lgap), fill:default:grow"));

            //---- label22 ----
            label22.setText("Kochi(Cochin)");
            panel9.add(label22, CC.xy(3, 1));

            //---- label23 ----
            label23.setText("Trivandrum");
            panel9.add(label23, CC.xy(5, 1));

            //---- label24 ----
            label24.setText("Munnar");
            panel9.add(label24, CC.xy(7, 1));

            //---- label25 ----
            label25.setText("Thrissur");
            panel9.add(label25, CC.xy(9, 1));

            //---- label21 ----
            label21.setText("Alappuzha");
            panel9.add(label21, CC.xy(11, 1));

            //---- label16 ----
            label16.setText("PLACES TO VISIT");
            panel9.add(label16, CC.xy(1, 3));

            //======== scrollPane1 ========
            {

                //---- editorPane1 ----
                editorPane1.setEditable(false);
                editorPane1.setText(
                        "Wonderla Amusement Park,Folklore Theatre & Museum,Kerala Backwaters,Fort Kochi,Mattancherry,Santa Cruz Basilica,Jew Town,Princess Street,Cherai Beach");
                scrollPane1.setViewportView(editorPane1);
            }
            panel9.add(scrollPane1, CC.xy(3, 3));

            //======== scrollPane6 ========
            {

                //---- editorPane6 ----
                editorPane6.setEditable(false);
                editorPane6.setText(
                        "Poonar Island,Shri Padmanabhaswamy Temple,Museum Complex,Thiruvanthapuram Zoo,Napier Art Museum & gallery,Vizhinjam Lighthouse,Samudra Beach");
                scrollPane6.setViewportView(editorPane6);
            }
            panel9.add(scrollPane6, CC.xy(5, 3));

            //======== scrollPane11 ========
            {

                //---- editorPane11 ----
                editorPane11.setEditable(false);
                editorPane11.setText(
                        "Tea Gardens,Fun Forest Adventure Park,Top Station,CSI Christ Church,Attukal Waterfals,Anamudi Peak,Mattupetty Dam,Rajamalai National Park,Lakkam Waterfalls");
                scrollPane11.setViewportView(editorPane11);
            }
            panel9.add(scrollPane11, CC.xy(7, 3));

            //======== scrollPane16 ========
            {

                //---- editorPane16 ----
                editorPane16.setEditable(false);
                editorPane16.setText(
                        "Athirampally Waterfalls,Vadakkunnathan Temple,Kauthuka Park,Koodalmanikyam temple,Poomala Dam,Vilagan Hills");
                scrollPane16.setViewportView(editorPane16);
            }
            panel9.add(scrollPane16, CC.xy(9, 3));

            //======== scrollPane21 ========
            {

                //---- editorPane21 ----
                editorPane21.setEditable(false);
                editorPane21.setText(
                        "Kerala Backwaters,Marari Beach,St.Mary's Forane Church,Secretbeach,Revi Karunakaran museum,Alappuzha Beach,Edathua Church");
                scrollPane21.setViewportView(editorPane21);
            }
            panel9.add(scrollPane21, CC.xy(11, 3));

            //---- label17 ----
            label17.setText("HOTELS");
            panel9.add(label17, CC.xy(1, 5));

            //======== scrollPane2 ========
            {

                //---- editorPane2 ----
                editorPane2.setEditable(false);
                editorPane2.setText(
                        "Old Harbour Hotel,Sajhome,Vivanta By Taj,Green Woods,Ann's Residency,Le Colonial,Hotel Arches,Brunton Boatyard,Fort House");
                scrollPane2.setViewportView(editorPane2);
            }
            panel9.add(scrollPane2, CC.xy(3, 5));

            //======== scrollPane7 ========
            {

                //---- editorPane7 ----
                editorPane7.setEditable(false);
                editorPane7.setText(
                        "Amrutham,Vivanta by Taj,Coconut Bay Beach Resort,Windsor Rajadhani,SP Grand Days,Sea Shore");
                scrollPane7.setViewportView(editorPane7);
            }
            panel9.add(scrollPane7, CC.xy(5, 5));

            //======== scrollPane12 ========
            {

                //---- editorPane12 ----
                editorPane12.setEditable(false);
                editorPane12.setText(
                        "Grand Plaza,camp Noel,Aranyaka Resort,Elysium Garden Hill Resorts,Windermere Estate,The Tall Trees");
                scrollPane12.setViewportView(editorPane12);
            }
            panel9.add(scrollPane12, CC.xy(7, 5));

            //======== scrollPane17 ========
            {

                //---- editorPane17 ----
                editorPane17.setEditable(false);
                editorPane17.setText(
                        "Nattika Beach Resort,niya regency,River Retreat,Joys Palace,Ashoka Inn,Ayuryogashram,Hotel Peninsula");
                scrollPane17.setViewportView(editorPane17);
            }
            panel9.add(scrollPane17, CC.xy(9, 5));

            //======== scrollPane22 ========
            {

                //---- editorPane22 ----
                editorPane22.setEditable(false);
                editorPane22.setText(
                        "Motty's Homestay,Citrus Retreats Alleppey,Ashtamudi homestay,Punnamada Resort,Pooppallys Heritage Home,Casamaria beach Resort");
                scrollPane22.setViewportView(editorPane22);
            }
            panel9.add(scrollPane22, CC.xy(11, 5));

            //---- label18 ----
            label18.setText("RESTAURANT");
            panel9.add(label18, CC.xy(1, 7));

            //======== scrollPane3 ========
            {

                //---- editorPane3 ----
                editorPane3.setEditable(false);
                editorPane3.setText(
                        "Kashi,Oceanos Restaurant,Krishna Caf\u00e9,Tokyo Bay,Solar Caf\u00e9,Fort house Restaurant");
                scrollPane3.setViewportView(editorPane3);
            }
            panel9.add(scrollPane3, CC.xy(3, 7));

            //======== scrollPane8 ========
            {

                //---- editorPane8 ----
                editorPane8.setEditable(false);
                editorPane8.setText(
                        "Cherries & Berries,Bait,Villa maya,Arul Jyothi,Jasmin Bay,Third Rock Caf\u00e9,Indian Coffee House,Zam Zam");
                scrollPane8.setViewportView(editorPane8);
            }
            panel9.add(scrollPane8, CC.xy(5, 7));

            //======== scrollPane13 ========
            {
                scrollPane13.setEnabled(false);

                //---- editorPane13 ----
                editorPane13.setEditable(false);
                editorPane13.setText(
                        "Saravana Bhavan,Mayabazar,Copper castle restaurant,Rapsy Restaurant,Sarath Inn,Farmyard,Galaxy Reataurant");
                scrollPane13.setViewportView(editorPane13);
            }
            panel9.add(scrollPane13, CC.xy(7, 7));

            //======== scrollPane18 ========
            {

                //---- editorPane18 ----
                editorPane18.setEditable(false);
                editorPane18.setText(
                        "Hotel Bharat,Indian Wok,Annalakshmi,Reach Us Hotels,Copper Spoon,Pathans,Joy Palace");
                scrollPane18.setViewportView(editorPane18);
            }
            panel9.add(scrollPane18, CC.xy(9, 7));

            //======== scrollPane23 ========
            {

                //---- editorPane23 ----
                editorPane23.setEditable(false);
                editorPane23.setText(
                        "Dreamers Cafe and Restaurant,Thaff,Indian Coffee House,Kream Korner,Hot Dishes,Royel Park Hotel,Chakara Restaurant");
                scrollPane23.setViewportView(editorPane23);
            }
            panel9.add(scrollPane23, CC.xy(11, 7));

            //---- label19 ----
            label19.setText("CLIMATE");
            panel9.add(label19, CC.xy(1, 9));

            //======== scrollPane4 ========
            {

                //---- editorPane4 ----
                editorPane4.setEditable(false);
                editorPane4.setText("Hot and Humid");
                scrollPane4.setViewportView(editorPane4);
            }
            panel9.add(scrollPane4, CC.xy(3, 9));

            //======== scrollPane9 ========
            {

                //---- editorPane9 ----
                editorPane9.setEditable(false);
                editorPane9.setText("Hot and Humid");
                scrollPane9.setViewportView(editorPane9);
            }
            panel9.add(scrollPane9, CC.xy(5, 9));

            //======== scrollPane14 ========
            {

                //---- editorPane14 ----
                editorPane14.setEditable(false);
                editorPane14.setText("Cold");
                scrollPane14.setViewportView(editorPane14);
            }
            panel9.add(scrollPane14, CC.xy(7, 9));

            //======== scrollPane19 ========
            {

                //---- editorPane19 ----
                editorPane19.setEditable(false);
                editorPane19.setText("Cold");
                scrollPane19.setViewportView(editorPane19);
            }
            panel9.add(scrollPane19, CC.xy(9, 9));

            //======== scrollPane24 ========
            {

                //---- editorPane24 ----
                editorPane24.setEditable(false);
                editorPane24.setText("Hot");
                scrollPane24.setViewportView(editorPane24);
            }
            panel9.add(scrollPane24, CC.xy(11, 9));

            //---- label20 ----
            label20.setText("SPECIALITY");
            panel9.add(label20, CC.xy(1, 11));

            //======== scrollPane5 ========
            {

                //---- editorPane5 ----
                editorPane5.setEditable(false);
                editorPane5.setText("Ship Building");
                scrollPane5.setViewportView(editorPane5);
            }
            panel9.add(scrollPane5, CC.xy(3, 11));

            //======== scrollPane10 ========
            {

                //---- editorPane10 ----
                editorPane10.setEditable(false);
                editorPane10.setText("Temples, Beaches");
                scrollPane10.setViewportView(editorPane10);
            }
            panel9.add(scrollPane10, CC.xy(5, 11));

            //======== scrollPane15 ========
            {

                //---- editorPane15 ----
                editorPane15.setEditable(false);
                editorPane15.setText("Tea Gardens");
                scrollPane15.setViewportView(editorPane15);
            }
            panel9.add(scrollPane15, CC.xy(7, 11));

            //======== scrollPane20 ========
            {

                //---- editorPane20 ----
                editorPane20.setEditable(false);
                editorPane20.setText("Elephant Rides, Spice Garden");
                scrollPane20.setViewportView(editorPane20);
            }
            panel9.add(scrollPane20, CC.xy(9, 11));

            //======== scrollPane25 ========
            {

                //---- editorPane25 ----
                editorPane25.setEditable(false);
                editorPane25.setText("Fish,Houseboats,Backwaters");
                scrollPane25.setViewportView(editorPane25);
            }
            panel9.add(scrollPane25, CC.xy(11, 11));
        }
        panel5.add(panel9, CC.xy(3, 1, CC.CENTER, CC.CENTER));

        //======== panel7 ========
        {
            panel7.setLayout(new FormLayout("default:grow", "2*(default, $lgap), default"));

            //---- label13 ----
            label13.setIcon(new ImageIcon(getClass().getResource("/com/images/kerala/ker4.jpg")));
            panel7.add(label13, CC.xy(1, 1));

            //---- label14 ----
            label14.setIcon(new ImageIcon(getClass().getResource("/com/images/kerala/ker5.jpg")));
            panel7.add(label14, CC.xy(1, 3));

            //---- label15 ----
            label15.setIcon(new ImageIcon(getClass().getResource("/com/images/kerala/kermap.jpg")));
            panel7.add(label15, CC.xy(1, 5));
        }
        panel5.add(panel7, CC.xy(5, 1));
    }
    add(panel5, CC.xy(1, 3));

    //======== panel8 ========
    {
        panel8.setLayout(new FormLayout("default, $lcgap, default", "default"));

        //---- button1 ----
        button1.setText("Go Back To Main Menu");
        panel8.add(button1, CC.xy(3, 1));
    }
    add(panel8, CC.xy(1, 5));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

    button1.addActionListener(new ActionListener() {

        @Override
        public void actionPerformed(ActionEvent arg0) {
            MainPageView page = new MainPageView();
            page.createAndShowGUI();
        }
    });
}

From source file:com.main.MaharashtraView.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Anjali Shinde
    panel1 = new JPanel();
    label1 = new JLabel();
    panel2 = new JPanel();
    panel3 = new JPanel();
    label2 = new JLabel();
    label3 = new JLabel();
    label4 = new JLabel();
    panel5 = new JPanel();
    label13 = new JLabel();
    label14 = new JLabel();
    label15 = new JLabel();
    label16 = new JLabel();
    label17 = new JLabel();
    label8 = new JLabel();
    scrollPane1 = new JScrollPane();
    editorPane1 = new JEditorPane();
    scrollPane6 = new JScrollPane();
    editorPane6 = new JEditorPane();
    scrollPane11 = new JScrollPane();
    editorPane11 = new JEditorPane();
    scrollPane16 = new JScrollPane();
    editorPane16 = new JEditorPane();
    scrollPane21 = new JScrollPane();
    editorPane21 = new JEditorPane();
    label9 = new JLabel();
    scrollPane2 = new JScrollPane();
    editorPane2 = new JEditorPane();
    scrollPane7 = new JScrollPane();
    editorPane7 = new JEditorPane();
    scrollPane12 = new JScrollPane();
    editorPane12 = new JEditorPane();
    scrollPane17 = new JScrollPane();
    editorPane17 = new JEditorPane();
    scrollPane22 = new JScrollPane();
    editorPane22 = new JEditorPane();
    label10 = new JLabel();
    scrollPane3 = new JScrollPane();
    editorPane3 = new JEditorPane();
    scrollPane8 = new JScrollPane();
    editorPane8 = new JEditorPane();
    scrollPane13 = new JScrollPane();
    editorPane13 = new JEditorPane();
    scrollPane18 = new JScrollPane();
    editorPane18 = new JEditorPane();
    scrollPane23 = new JScrollPane();
    editorPane23 = new JEditorPane();
    label11 = new JLabel();
    scrollPane4 = new JScrollPane();
    editorPane4 = new JEditorPane();
    scrollPane9 = new JScrollPane();
    editorPane9 = new JEditorPane();
    scrollPane14 = new JScrollPane();
    editorPane14 = new JEditorPane();
    scrollPane19 = new JScrollPane();
    editorPane19 = new JEditorPane();
    scrollPane24 = new JScrollPane();
    editorPane24 = new JEditorPane();
    label12 = new JLabel();
    scrollPane5 = new JScrollPane();
    editorPane5 = new JEditorPane();
    scrollPane10 = new JScrollPane();
    editorPane10 = new JEditorPane();
    scrollPane15 = new JScrollPane();
    editorPane15 = new JEditorPane();
    scrollPane20 = new JScrollPane();
    editorPane20 = new JEditorPane();
    scrollPane25 = new JScrollPane();
    editorPane25 = new JEditorPane();
    panel4 = new JPanel();
    label5 = new JLabel();
    label6 = new JLabel();
    label7 = new JLabel();
    panel6 = new JPanel();
    button1 = new JButton();

    //======== this ========

    // JFormDesigner evaluation mark
    setBorder(/*from   w  w w . ja  v a 2 s.co m*/
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("default:grow", "2*(default), $lgap, default"));

    //======== panel1 ========
    {
        panel1.setLayout(new FormLayout("default:grow", "default"));

        //---- label1 ----
        label1.setText("Maharashtra Tourism");
        label1.setFont(new Font("Tahoma", Font.BOLD, 24));
        panel1.add(label1, CC.xy(1, 1, CC.CENTER, CC.CENTER));
    }
    add(panel1, CC.xy(1, 1));

    //======== panel2 ========
    {
        panel2.setLayout(new FormLayout("2*(default, $lcgap), default", "default"));

        //======== panel3 ========
        {
            panel3.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label2 ----
            label2.setIcon(new ImageIcon(getClass().getResource("/com/images/maharashtra/maha1.jpg")));
            panel3.add(label2, CC.xy(1, 1));

            //---- label3 ----
            label3.setIcon(new ImageIcon(getClass().getResource("/com/images/maharashtra/maha2.jpg")));
            panel3.add(label3, CC.xy(1, 3));

            //---- label4 ----
            label4.setIcon(new ImageIcon(getClass().getResource("/com/images/maharashtra/maha3.jpg")));
            panel3.add(label4, CC.xy(1, 5));
        }
        panel2.add(panel3, CC.xy(1, 1));

        //======== panel5 ========
        {
            panel5.setBorder(LineBorder.createBlackLineBorder());
            panel5.setLayout(new FormLayout("5*(default:grow, $lcgap), default:grow",
                    "default, 5*($lgap, fill:default:grow)"));

            //---- label13 ----
            label13.setText("Pune");
            panel5.add(label13, CC.xy(3, 1));

            //---- label14 ----
            label14.setText("Aurangabad");
            panel5.add(label14, CC.xy(5, 1));

            //---- label15 ----
            label15.setText("Mumbai");
            panel5.add(label15, CC.xy(7, 1));

            //---- label16 ----
            label16.setText("Shirdi");
            panel5.add(label16, CC.xy(9, 1));

            //---- label17 ----
            label17.setText("Mahabaleshwar");
            panel5.add(label17, CC.xy(11, 1));

            //---- label8 ----
            label8.setText("PLACES TO VISIT");
            panel5.add(label8, CC.xy(1, 3));

            //======== scrollPane1 ========
            {

                //---- editorPane1 ----
                editorPane1.setEditable(false);
                editorPane1.setText(
                        "Shreemant Dagdusheth Halwai,Sri Balaji mandir,Darshan Museum,Sinhagad Fort,Chaturshrungi Temple,Bhimashankar temple,Panshet Dam,Malshej ghats,Jain Temple,Aga Khan Palace,Rajiv Gandhi Zoological Park");
                scrollPane1.setViewportView(editorPane1);
            }
            panel5.add(scrollPane1, CC.xy(3, 3));

            //======== scrollPane6 ========
            {

                //---- editorPane6 ----
                editorPane6.setEditable(false);
                editorPane6.setText(
                        "Ajanta & Ellora Caves,Daulatabad Fort,Bibi Ka Maqbara,Bhadra Maruti,Aurangabad Caves,Chand Minar,Chini Mahal");
                scrollPane6.setViewportView(editorPane6);
            }
            panel5.add(scrollPane6, CC.xy(5, 3));

            //======== scrollPane11 ========
            {

                //---- editorPane11 ----
                editorPane11.setEditable(false);
                editorPane11.setText(
                        "Shree Siddhivinayak,Bandra-Worli Sea Link,Mount Mary Church,Mahalakshmi Temple,Marine Drive,Kanheri Caves,Gateway of India,Colaba Causeway");
                scrollPane11.setViewportView(editorPane11);
            }
            panel5.add(scrollPane11, CC.xy(7, 3));

            //======== scrollPane16 ========
            {

                //---- editorPane16 ----
                editorPane16.setEditable(false);
                editorPane16.setText(
                        "Baba's Chavadi,Shri Saibaba Sansthan Temple,Dixit Wada Museum,Wet N Joy Water Park,Khandoba Mandir,Sri Sai Baba Samadi Mandir");
                scrollPane16.setViewportView(editorPane16);
            }
            panel5.add(scrollPane16, CC.xy(9, 3));

            //======== scrollPane21 ========
            {

                //---- editorPane21 ----
                editorPane21.setEditable(false);
                editorPane21.setText(
                        "Connaught Peak,Hill Station,Mahabaleshwar Temple,Mapro Garden,Venna Lake,Elphinstone Point,On Wheelz,Arthur's Seat,Krishnabai Temple");
                scrollPane21.setViewportView(editorPane21);
            }
            panel5.add(scrollPane21, CC.xy(11, 3));

            //---- label9 ----
            label9.setText("HOTELS");
            panel5.add(label9, CC.xy(1, 5));

            //======== scrollPane2 ========
            {

                //---- editorPane2 ----
                editorPane2.setEditable(false);
                editorPane2.setText(
                        "Oakwood Premier,The Western Pune Koregaon Park,Sayaji Hotel,Royal Orchid Central,Ista Hotel,Lemon Tree Hotel");
                scrollPane2.setViewportView(editorPane2);
            }
            panel5.add(scrollPane2, CC.xy(3, 5));

            //======== scrollPane7 ========
            {

                //---- editorPane7 ----
                editorPane7.setEditable(false);
                editorPane7.setText(
                        "Lemon Tree Hotel,Taj Residency,Keys Hotel the Aures,WelcomHotel Rama International,Hotel Oberoi,Hotel Panchavati");
                scrollPane7.setViewportView(editorPane7);
            }
            panel5.add(scrollPane7, CC.xy(5, 5));

            //======== scrollPane12 ========
            {

                //---- editorPane12 ----
                editorPane12.setEditable(false);
                editorPane12.setText(
                        "The Oberoi,The Taj Mahal Palace,Taj Lands End,ITC Maratha,The Leela,The Waterstones Hotel");
                scrollPane12.setViewportView(editorPane12);
            }
            panel5.add(scrollPane12, CC.xy(7, 5));

            //======== scrollPane17 ========
            {

                //---- editorPane17 ----
                editorPane17.setEditable(false);
                editorPane17.setText(
                        "Marigold Regency,Shradha Saburi Palace,Matrix Inn Shridi,Sai Sanjivani Hotel,Hotel Bhagyalaxmi,Hotel Kalpataru");
                scrollPane17.setViewportView(editorPane17);
            }
            panel5.add(scrollPane17, CC.xy(9, 5));

            //======== scrollPane22 ========
            {

                //---- editorPane22 ----
                editorPane22.setEditable(false);
                editorPane22.setText(
                        "Saj Resort,Hotel Shreyas,Saket Plaza,Ramsukh Resorts & Spa,Hotel Dreamland,Hotel Mayfair,Hotel Gautam,White House");
                scrollPane22.setViewportView(editorPane22);
            }
            panel5.add(scrollPane22, CC.xy(11, 5));

            //---- label10 ----
            label10.setText("RESTAURANT");
            panel5.add(label10, CC.xy(1, 7));

            //======== scrollPane3 ========
            {

                //---- editorPane3 ----
                editorPane3.setEditable(false);
                editorPane3.setText(
                        "Zaffran,Barbeque Nation,Kalyani Bakery,ABC Farms,Bohemian,Spice Kitchen,Burger King,Copa Cabana,Ramkrishna");
                scrollPane3.setViewportView(editorPane3);
            }
            panel5.add(scrollPane3, CC.xy(3, 7));

            //======== scrollPane8 ========
            {

                //---- editorPane8 ----
                editorPane8.setEditable(false);
                editorPane8.setText(
                        "Kream m Krunch,Madhuban Garden Restaurant,Naivedya,Hotel Kailash,Bhoj,Indiana,Swad,Flame & Grill,Citrus Caf\u00e9");
                scrollPane8.setViewportView(editorPane8);
            }
            panel5.add(scrollPane8, CC.xy(5, 7));

            //======== scrollPane13 ========
            {

                //---- editorPane13 ----
                editorPane13.setEditable(false);
                editorPane13.setText(
                        "Seasonal Tastes,Konkan Caf\u00e9,Shree Thakar Bhojanalay,Britannia & Co.,Trishna,Peshawri,Global Fusion,Caf\u00e9 Madras");
                scrollPane13.setViewportView(editorPane13);
            }
            panel5.add(scrollPane13, CC.xy(7, 7));

            //======== scrollPane18 ========
            {

                //---- editorPane18 ----
                editorPane18.setEditable(false);
                editorPane18.setText(
                        "The Tulip,Rajdhani Restaurant,Sai Swad Restaurant & Dining,Woodlands Restaurant");
                scrollPane18.setViewportView(editorPane18);
            }
            panel5.add(scrollPane18, CC.xy(9, 7));

            //======== scrollPane23 ========
            {

                //---- editorPane23 ----
                editorPane23.setEditable(false);
                editorPane23.setText("Mapro,Olive Garden,Treacher & Company");
                scrollPane23.setViewportView(editorPane23);
            }
            panel5.add(scrollPane23, CC.xy(11, 7));

            //---- label11 ----
            label11.setText("CLIMATE");
            panel5.add(label11, CC.xy(1, 9));

            //======== scrollPane4 ========
            {

                //---- editorPane4 ----
                editorPane4.setEditable(false);
                editorPane4.setText("Cold");
                scrollPane4.setViewportView(editorPane4);
            }
            panel5.add(scrollPane4, CC.xy(3, 9));

            //======== scrollPane9 ========
            {

                //---- editorPane9 ----
                editorPane9.setEditable(false);
                editorPane9.setText("Hot and Humid");
                scrollPane9.setViewportView(editorPane9);
            }
            panel5.add(scrollPane9, CC.xy(5, 9));

            //======== scrollPane14 ========
            {

                //---- editorPane14 ----
                editorPane14.setEditable(false);
                editorPane14.setText("Hot and Humid");
                scrollPane14.setViewportView(editorPane14);
            }
            panel5.add(scrollPane14, CC.xy(7, 9));

            //======== scrollPane19 ========
            {

                //---- editorPane19 ----
                editorPane19.setEditable(false);
                editorPane19.setText("Cold only in Winter");
                scrollPane19.setViewportView(editorPane19);
            }
            panel5.add(scrollPane19, CC.xy(9, 9));

            //======== scrollPane24 ========
            {

                //---- editorPane24 ----
                editorPane24.setEditable(false);
                editorPane24.setText("Very Cold");
                scrollPane24.setViewportView(editorPane24);
            }
            panel5.add(scrollPane24, CC.xy(11, 9));

            //---- label12 ----
            label12.setText("SPECIALITY");
            panel5.add(label12, CC.xy(1, 11));

            //======== scrollPane5 ========
            {

                //---- editorPane5 ----
                editorPane5.setEditable(false);
                editorPane5.setText("Temples,Educational Institutes");
                scrollPane5.setViewportView(editorPane5);
            }
            panel5.add(scrollPane5, CC.xy(3, 11));

            //======== scrollPane10 ========
            {

                //---- editorPane10 ----
                editorPane10.setEditable(false);
                editorPane10.setText("Caves,Mosque");
                scrollPane10.setViewportView(editorPane10);
            }
            panel5.add(scrollPane10, CC.xy(5, 11));

            //======== scrollPane15 ========
            {

                //---- editorPane15 ----
                editorPane15.setEditable(false);
                editorPane15.setText("IT Parks,Beaches");
                scrollPane15.setViewportView(editorPane15);
            }
            panel5.add(scrollPane15, CC.xy(7, 11));

            //======== scrollPane20 ========
            {

                //---- editorPane20 ----
                editorPane20.setEditable(false);
                editorPane20.setText("Temples,Museum");
                scrollPane20.setViewportView(editorPane20);
            }
            panel5.add(scrollPane20, CC.xy(9, 11));

            //======== scrollPane25 ========
            {

                //---- editorPane25 ----
                editorPane25.setEditable(false);
                editorPane25.setText("Weather,Strawberry,Jelly Chocolates");
                scrollPane25.setViewportView(editorPane25);
            }
            panel5.add(scrollPane25, CC.xy(11, 11));
        }
        panel2.add(panel5, CC.xy(3, 1));

        //======== panel4 ========
        {
            panel4.setLayout(new FormLayout("default", "2*(default, $lgap), default"));

            //---- label5 ----
            label5.setIcon(new ImageIcon(getClass().getResource("/com/images/maharashtra/mahamap.jpg")));
            panel4.add(label5, CC.xy(1, 1));

            //---- label6 ----
            label6.setIcon(new ImageIcon(getClass().getResource("/com/images/maharashtra/maha4.jpg")));
            panel4.add(label6, CC.xy(1, 3));

            //---- label7 ----
            label7.setIcon(new ImageIcon(getClass().getResource("/com/images/maharashtra/maha5.jpg")));
            panel4.add(label7, CC.xy(1, 5));
        }
        panel2.add(panel4, CC.xy(5, 1));
    }
    add(panel2, CC.xy(1, 2));

    //======== panel6 ========
    {
        panel6.setLayout(new FormLayout("default, $lcgap, default", "default"));

        //---- button1 ----
        button1.setText("Go Back To Main Menu");
        panel6.add(button1, CC.xy(1, 1));
    }
    add(panel6, CC.xy(1, 4));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

    button1.addActionListener(new ActionListener() {

        @Override
        public void actionPerformed(ActionEvent arg0) {
            MainPageView.createAndShowGUI();
        }
    });
}