Please help in coding

Hi in my scenario i have to code with the following logic.Please tell me the coding.Its urgent.Am new to abap.
Have to fill the fields E_RBKPV-MWSKZ_BNK
E_RBKPV-TXJCD_BNK in the user exit EXIT_SAPLMRMH_014 using E1EDP04 or E1EDK04.For filling one field the logic is this or if you have any idea please tell me.
1. If the field TXJCD is blank in the idoc and if the tax code for the unplanned delivery cost is same in invoice item and in the refered PO item, then you can fill E_RBKPV-TXJCD_BNK from the PO item in the FM 'EXIT_SAPLMRMH_014'.
2. If the tax code for the unplanned delivery cost is not same as the tax code in invoice item or in the refered PO item, you can find the TXJCD from the tax condition's data for the tax code and copy it to E_RBKPV-TXJCD_BNK within the user exit.
3. If the field TXJCD is filled in the idoc, you can fill the E_RBKPV-TXJCD_BNK in the user exit from here.

So in other words you want us to do your job !!!
I don't think you will ever learn ABAP if you try it this way ..
Why dont you try yourself !!
And then when you are stuck at some point then we can help you out ...

Similar Messages

  • Can ANYONE please help with coding query?

    Hi
    Im currently setting a website up in Adobe Muse/BC - Im not a developer at all!..but a designer and really like this software. However ive come across whats probably quite a simple problem - i just need to put some the module output from my web app over an image on template page but i dont know how to do it.
    The page is here:
    latest
    The text and image im moving (this is web app outputt) is inserted into the page coding as:
    {tag_pagecontent}
    This is a module that Adobe BC is placing on the page from my web app.
    Ive done images to explain this far more clearly:
    http://www.paulsuttontestsite.co.uk/test.SHOT1.png
    http://www.paulsuttontestsite.co.uk/test.SHOT2.png
    Many thanks in advance to anyone who is kind enough to offer their time in helping me.
    Paul

    Have a look at this and check your version number see if its listed
    http://forum.xda-developers.com/showthread.php?t=1186045
    As for generic roms you have probable read about custom roms
    See this thread it is a stock SE rom not a custom rom and will give you just that a stock SE rom if you want
    http://talk.sonyericsson.com/thread/19762

  • Urgent please help me coding

    Hi SDN Team,
    I urgently required to develop a function module in CRM Billing order for rejecting the item line and creating a new line while copying the contents of the old line item into new one.
    We need to do this because, we need to handle the situation where, there was wrong date entered for the leasing contract period and at a later stage we will come to know the first entered date was wrong so we need to change the dates for the lease contract period for that particular item.
    With this creation of new line item, it generates a new billing plan for that particular line item.
    I need to perform this task by developing a function module. I'm given <b>crm_order_maintain & crm_order_read function modules</b> but i'm unable to create a new line item with those 2 function modules.
    Any one, kindly send me the coding and steps aswell please.
    If you need further clarification please email to [email protected]
    Thanks in Advance.
    Sincerely.
    KK

    Hi Tomasz,
    Thanks for the reply.  I'm new to this ABAP programming.  Could you please send me the coding and guide me the steps.
    Your earliest reply will be appreciated.
    Best Regards!
    KK

  • Please help with Coding

    Hi, I have to develop a Java applications that converts a positive number from base 10 to another base. It has to prompt the user to enter the number to be converted an the base to be converted into. After conversion is completed, the program should ask for another conversion. The program would run in a loop until the user would decide to end it. In case of an error entry as a base less than 2, the program should warn the user about the type of error and ask the user to re-enter the values. At the nd of the program, provide a statistic with how many conversions the user has done.
    Use a loop instruction to calculate multiple conversions. Use control loop statements to end the loop when the user wants to finish the program. Also use loop control statements to restart the loop when the user enters a wrong value and yo ask him/her to re-enter the value.
    Any help would be greatly appreciated

    Integer.toString(int, int) does the hard work. Now write some code and ask for help if it doesn't work.

  • Help me  coding

    Hi all,
    Please help me coding.
    Hi,
    Iam working one user exit COPA0005 function module EXIT_SAPLKEII_002.
    Data would be looked up from the following tables and parameters:
    CE100 : Operating Concern table for generated line items.
    T_ITEM : Available table used for transfer parameter.
    I_ERKRS : Import parameter in function module.
    Conditions is :
    1. Check if operating concern (I_ERKRS) is 0001 than go to step 2 else go to step
    4.
    2. Read CE100 table and verify value for Item Category (CE100-PSTYV).
    3. If Item Category(CE100-PSTYV) is TAS Than change Warehouse cost value
    field(CE100-VV504) value to 0.00 irrespective of its current value.
    else don’t change value of warhouse cost value field(CE100-VV504) .
    4. exit from function module.
    This logic should be implemented for all line items in each billing document. E.g. if 5 line items are generated into COPA for one billing document step 1-4 need to be execute 5 times. Number of line items can be determined from T_ITEM table.
    Any body helping the code?
    Thanks & Regads
    sudhakar

    Hi Sudhakar,
    Please check the modifed code below and let me know your further concerns.
    data: lv_no_of_lines type i,
            count type i.
    constant: c_0001(4) type c value '0001'. " Constant having value 1
    clear: lv_no_of_lines,
             count.
    Initializating the count to 1
    count = 1.
    Coping the no lines the code needs to be executed for each line item
    assuming T_ITEM is an internal table
    describe table t_item lines lv_no_of_lines.
    while count le lv_no_of_lines.
    count = count + 1.
      if I_erkrs eq 0001.
        if CE100-pstyv eq 'TAS'.
           CE100-VV504 = '0.00''.
        endif.
      else.
       exit.  " Exit from the code
      endif.
    endwhile.
    Thanks,
    Samantak.
    Rewards points for useful answers.

  • Please help regarding PLSQL coding standards

    Hi,
    Can you please send any document for PL/SQL coding standards,
    Please help.. I did nt find any good resources on net regarding..
    Pleease help me if any pdf regarding are exitst to my mail id
    [email protected]
    Thanks and Regards
    asp

    I did nt find any good resources on net regarding..Here is a list from the net for you to start with (courtesy of many of the fellow posters here in these forums), and there will be plenty more. Just need to search correctly.
    http://www.redhat.com/docs/manuals/waf/rhea-dg-waf-en-6.0/ap-sql-standards.html
    http://www.orafaq.com/faqplsql.htm
    http://www.williamrobertson.pwp.blueyonder.co.uk/documents/plsqlcodingstandards.html
    http://www.orafaq.com/node/48
    http://apex.oracle.com/pls/otn/f?p=2853:4:11598658413321972351::NO::P4_QA_ID:3262
    http://www.bbc.co.uk/guidelines/newmedia/technical/databases.shtml
    Message was edited by:
    Kamal Kishore
    Message was edited by:
    Kamal Kishore

  • When we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/828024]''
    when we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    See:
    *https://developer.mozilla.org/en/Firefox_4_for_developers#Miscellaneous_DOM_changes
    *http://www.cssplay.co.uk/menu/tablescroll.html
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • SRM Shopping Cart Problem in coding.please help

    Hi SAPGURUS,
    Please help me with this code,its fetching me no result in SRM for these conditions.This code is not changing anything and not giving the desired result.
    I am using BBP_DOC_SAVE_BADI
    Please see the doc for CONDITIONS
    [http://www.2shared.com/document/dXlymF0Y/rules.html]
    Please see the code here.
    [http://www.2shared.com/document/bMWByy1f/code.html]

    First you might want to describe what you are trying to achieve. In case you intend to change or validate the changed document, one common BADI to implement is BBP_DOC_CHANGE_BADI.

  • PLEASE HELP: Need some help with coding a next page button.

    so ok, in details, I'm trying to code a next page button and can't really figure out how and tried to look for them over the net but can't find the kind I am looking for. So ok, the kind of next page button I'm looking for is the kind where you have like << 1 2 3 4 5 ... (Next page button) >> not just a button where I need to hyperlink it to the next page url cuz I have like 35 pages to put... so I'm trying to figure it out yet no cigar so can someone please help me with this? Thanks!

    What I've seen done a lot (on forums with upwards of 1000 pages on some threads) is to add a "pagination" block of code that has:
    two or three pages before the current page
    two or three pages after the current page
    a drop down with ALL pages listed
    The "next" link or button is then just a copy  of the final link in the inline list.
    Something like this:
    <table>
    <tr>
    <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>Goto page <select name="generate_pagination" onchange="if(this.options[this.selectedIndex].value != -1){ window.location = this.options[this.selectedIndex].value; }"><option value="forum-page-26.html" selected="selected">1</option><option value="forum-page-26-45.html">2</option><option value="forum-page-26-90.html">3</option><option value="forum-page-26-135.html">4</option><option value="forum-page-26-180.html">5</option><option value="forum-page-26-225.html">6</option><option value="forum-page-26-270.html">7</option><option value="forum-page-26-315.html">8</option><option value="forum-page-26-360.html">9</option><option value="forum-page-26-405.html">10</option><option value="forum-page-26-450.html">11</option><option value="forum-page-26-495.html">12</option><option value="forum-page-26-540.html">13</option><option value="forum-page-26-585.html">14</option><option value="forum-page-26-630.html">15</option><option value="forum-page-26-675.html">16</option><option value="forum-page-26-720.html">17</option><option value="forum-page-26-765.html">18</option><option value="forum-page-26-810.html">19</option><option value="forum-page-26-855.html">20</option><option value="forum-page-26-900.html">21</option><option value="forum-page-26-945.html">22</option><option value="forum-page-26-990.html">23</option><option value="forum-page-26-1035.html">24</option><option value="forum-page-26-1080.html">25</option><option value="forum-page-26-1125.html">26</option><option value="forum-page-26-1170.html">27</option><option value="forum-page-26-1215.html">28</option><option value="forum-page-26-1260.html">29</option><option value="forum-page-26-1305.html">30</option><option value="forum-page-26-1350.html">31</option><option value="forum-page-26-1395.html">32</option><option value="forum-page-26-1440.html">33</option><option value="forum-page-26-1485.html">34</option><option value="forum-page-26-1530.html">35</option><option value="forum-page-26-1575.html">36</option><option value="forum-page-26-1620.html">37</option><option value="forum-page-26-1665.html">38</option><option value="forum-page-26-1710.html">39</option><option value="forum-page-26-1755.html">40</option><option value="forum-page-26-1800.html">41</option><option value="forum-page-26-1845.html">42</option><option value="forum-page-26-1890.html">43</option><option value="forum-page-26-1935.html">44</option><option value="forum-page-26-1980.html">45</option><option value="forum-page-26-2025.html">46</option><option value="forum-page-26-2070.html">47</option><option value="forum-page-26-2115.html">48</option><option value="forum-page-26-2160.html">49</option><option value="forum-page-26-2205.html">50</option></select>  <b>1</b>, <a href="forum-page-26-45.html">2</a>, <a href="forum-page-26-90.html">3</a> ... <a href="forum-page-26-2250.html">51</a>, <a href="forum-page-26-2295.html">52</a>, <a href="forum-page-26-2340.html">53</a>  <a href="forum-page-26-45.html">Next</a></b></span></td>
    </tr>
    </table>

  • How to install windows 7 on my macbook pro mid 2009 using usb. right now aim using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me

    how to install windows 7 on my macbook pro mid 2009 using usb. right now iam using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me.
    Iam new to coding. please help me.

    try the solution posted by kunu here and report back
    https://discussions.apple.com/thread/5105056?tstart=0

  • Please help me in creating a form using Swing.

    (I m sorry if I've posted similar post in some other thread.I am new to this forum..:))
    There are several problems which I am facing while coding a form.
    1. In the form I have one JComboBox
    of Country and other of State. Now I want it in such a way that when
    I select a country from the Country JComboBox ,the corresponding states
    automatically appears in the State JComboBox.
    2. I need to add picture frame in the 6th tab so that the picture shows up when clicked browse and open.
    3.I need to add tables in 1st and 5th tab which shows up the details through database when added through several textboxes and combo boxes.
    so please help me!
    Here's my code
    ==========================================================
    import javax.swing.JFrame;
    import javax.swing.JTabbedPane;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JCheckBox;
    import javax.swing.border.*;
    import javax.swing.table.*;
    import javax.swing.Box;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Design extends JFrame
    public Design()
    super("Tenant Form");
    setLayout(new BorderLayout());
    JTabbedPane tabbedPane=new JTabbedPane(); //creating tabbed buttons
    //<--------coding for first tab--------->
    JPanel panel1=new JPanel();
    tabbedPane.addTab("Detail of Landlord",null,panel1,"first tab"); //here panel1 is created for tab1
    GridBagConstraints gbc=new GridBagConstraints();
    gbc.insets=new Insets(2,2,2,2);
    gbc.anchor=GridBagConstraints.WEST;
    JPanel jp11 = new JPanel(); //1st panel in 1st tab for top labels and buttons
    jp11.setLayout(new GridBagLayout());
    JLabel l241 = new JLabel("Name Of LandLord");
    jp11.add(l241,gbc);
    JComboBox jc01=new JComboBox();
    jc01.addItem("Select");
    jc01.addItem("Mr.");
    jc01.addItem("Mrs.");
    gbc.gridx=1;
    jp11.add(jc01,gbc);
    JTextField f01=new JTextField(10);
    gbc.gridx=2;
    jp11.add(f01,gbc);
    JLabel l251 = new JLabel("Sex");
    gbc.gridx=5;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l251,gbc);
    JComboBox jc11=new JComboBox();
    jc11.addItem("Select");
    jc11.addItem("Male");
    jc11.addItem("Female");
    gbc.gridx=6;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(jc11,gbc);
    JLabel l261 = new JLabel("Age(Yrs)");
    gbc.gridx=8;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l261,gbc);
    JTextField f11=new JTextField(3);
    gbc.gridx=9;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(f11,gbc);
    JLabel l271 = new JLabel("Occupation");
    gbc.gridx= 11;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l271,gbc);
    JComboBox jc21=new JComboBox();
    jc21.addItem("Select");
    jc21.addItem("Engineer");
    jc21.addItem("Business");
    gbc.gridx=12;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(jc21,gbc);
    JButton ab1=new JButton("ADD");
    gbc.gridx=14;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(ab1,gbc);
    panel1.add(jp11);
    //<--coding for adding table with scroll pane #yet to be coded#-->
    JTable jtab1=new JTable();
    //start of p21 panel. 1st of two titledborder panels in tab 1
    JPanel jp21=new JPanel();
    jp21.setBorder(new TitledBorder("Address Of Landlord Property"));
    jp21.setLayout(new GridBagLayout());
    JLabel l11=new JLabel("Property/House/Building Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp21.add(l11,gbc);
    JTextArea ta11=new JTextArea(3,15);
    ta11.setLineWrap(true);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER;
    JScrollPane scroll11=new JScrollPane(ta11,v,h);
    gbc.gridx=1;
    jp21.add(scroll11);
    jp21.add(ta11,gbc);
    JLabel l21=new JLabel("Land Mark");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.ipady=0;
    gbc.gridheight=1;
    jp21.add(l21,gbc);
    JTextField tf21=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=1;
    jp21.add(tf21,gbc);
    JLabel l31=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=2;
    jp21.add(l31,gbc);
    JComboBox c11=new JComboBox();
    c11.addItem("India");
    c11.addItem("US");
    c11.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=2;
    jp21.add(c11,gbc);
    JLabel l41=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=3;
    jp21.add(l41,gbc);
    JComboBox c21=new JComboBox();
    c21.addItem("Rajasthan");
    c21.addItem("Delhi");
    c21.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=3;
    jp21.add(c21,gbc);
    JLabel l51=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=4;
    jp21.add(l51,gbc);
    JComboBox c31=new JComboBox();
    c31.addItem("jaipur");
    c31.addItem("ajmer");
    c31.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=4;
    jp21.add(c31,gbc);
    JLabel l61=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=5;
    jp21.add(l61,gbc);
    JTextField tf31=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=5;
    jp21.add(tf31,gbc);
    JLabel l71=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=6;
    jp21.add(l71,gbc);
    JComboBox c41=new JComboBox();
    c41.addItem("Jaipur");
    c41.addItem("Alwar");
    c41.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=6;
    jp21.add(c41,gbc);
    JLabel l81=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=7;
    jp21.add(l81,gbc);
    JComboBox c51=new JComboBox();
    c51.addItem("India");
    c51.addItem("US");
    c51.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=7;
    jp21.add(c51,gbc);
    JLabel l91=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=8;
    jp21.add(l91,gbc);
    JComboBox c61=new JComboBox();
    c61.addItem("Bani Park");
    c61.addItem("Raja Park");
    c61.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=8;
    jp21.add(c61,gbc);
    JLabel l101=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=9;
    jp21.add(l101,gbc);
    JTextField tf41=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=9;
    jp21.add(tf41,gbc);
    JLabel l111=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=10;
    jp21.add(l111,gbc);
    JTextField tf51=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=10;
    jp21.add(tf51,gbc);
    //start of p31.2nd of two titledborder panels in tab 1
    JPanel jp31=new JPanel();
    jp31.setBorder(new TitledBorder("Address Of Landlord Office"));
    jp31.setLayout(new GridBagLayout());
    JLabel l121=new JLabel("Office Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp31.add(l121,gbc);
    JTextArea ta61=new JTextArea(3,15);
    ta61.setLineWrap(true);
    JScrollPane scroll2=new JScrollPane(ta61);
    gbc.gridx=1;
    gbc.gridy=0;
    jp31.add(ta61,gbc);
    JLabel l131=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp31.add(l131,gbc);
    JComboBox c12=new JComboBox();
    c12.addItem("India");
    c12.addItem("US");
    c12.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp31.add(c12,gbc);
    JLabel l141=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp31.add(l141,gbc);
    JComboBox c22=new JComboBox();
    c22.addItem("Rajasthan");
    c22.addItem("Delhi");
    c22.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp31.add(c22,gbc);
    JLabel l151=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp31.add(l151,gbc);
    JComboBox c32=new JComboBox();
    c32.addItem("jaipur");
    c32.addItem("ajmer");
    c32.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp31.add(c32,gbc);
    JLabel l161=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp31.add(l161,gbc);
    JTextField tf71=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=4;
    jp31.add(tf71,gbc);
    JLabel l171=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp31.add(l171,gbc);
    JComboBox c42=new JComboBox();
    c42.addItem("Jaipur");
    c42.addItem("Alwar");
    c42.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp31.add(c42,gbc);
    JLabel l181=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp31.add(l181,gbc);
    JComboBox c52=new JComboBox();
    c52.addItem("India");
    c52.addItem("US");
    c52.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp31.add(c52,gbc);
    JLabel l191=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp31.add(l191,gbc);
    JComboBox c62=new JComboBox();
    c62.addItem("Bani Park");
    c62.addItem("Raja Park");
    c62.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp31.add(c62,gbc);
    JLabel l201=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp31.add(l201,gbc);
    JTextField tf81=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=8;
    jp31.add(tf81,gbc);
    JLabel l211=new JLabel("Phone No.(O)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp31.add(l211,gbc);
    JTextField tf91=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=9;
    jp31.add(tf91,gbc);
    JLabel l221=new JLabel("Phone No.(M)");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp31.add(l221,gbc);
    JTextField tf101=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=10;
    jp31.add(tf101,gbc);
    JLabel l231=new JLabel("E-mail");
    gbc.gridx=0;
    gbc.gridy=11;
    gbc.gridheight=1;
    jp31.add(l231,gbc);
    JTextField tf111=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=11;
    jp31.add(tf111,gbc);
    JPanel jp41=new JPanel(); //adding above two panels p21 and p31 to p41 panel.
    jp41.setLayout(new BoxLayout(jp41,BoxLayout.X_AXIS));
    jp41.add(jp21);
    jp41.add(Box.createHorizontalStrut(50));
    jp41.add(jp31);
    panel1.add(jp41); //adding p41 panel to panel1
    //<--------coding for second tab--------->
    JPanel panel2 = new JPanel();
    tabbedPane.addTab("Id of Landlord",null,panel2,"second tab");
    panel2.setLayout(new FlowLayout());
    //adding radiobutton above TitledBorder panel
    JPanel jp02=new JPanel();
    JLabel l12=new JLabel("Identity Known");
    JRadioButton jrb12=new JRadioButton("Yes");
    JRadioButton jrb22=new JRadioButton("No");
    ButtonGroup bg12=new ButtonGroup();
    bg12.add(jrb12);
    bg12.add(jrb22);
    jp02.add(l12);
    jp02.add(jrb12);
    jp02.add(jrb22);
    //adding TitledBorder panel
    JPanel jp12=new JPanel();
    jp12.setBorder(new TitledBorder("Identity Detail"));
    jp12.setLayout(new GridBagLayout());
    gbc.insets=new Insets(5,5,5,5);
    JLabel l22=new JLabel("Identity Card");
    gbc.gridx=0;
    gbc.gridy=0;
    jp12.add(l22,gbc);
    JTextField jtf12=new JTextField(10);
    gbc.gridx=1;
    jp12.add(jtf12,gbc);
    JLabel l32=new JLabel("Date of Issue");
    gbc.gridx=0;
    gbc.gridy=1;
    jp12.add(l32,gbc);
    JTextField jtf22=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp12.add(jtf22,gbc);
    JLabel l42=new JLabel("Identity Number");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp12.add(l42,gbc);
    JTextField jtf32=new JTextField(10);
    gbc.gridx=3;
    jp12.add(jtf32,gbc);
    JLabel l52=new JLabel("Name Of Issuer");
    gbc.gridx=0;
    gbc.gridy=2;
    jp12.add(l52,gbc);
    JTextField jtf42=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp12.add(jtf42,gbc);
    JLabel l62= new JLabel("Place Of Issuer");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp12.add(l62,gbc);
    JTextField jtf52=new JTextField(10);
    gbc.gridx=3;
    jp12.add(jtf52,gbc);
    gbc.gridx=0;
    gbc.gridy=2;
    Box b12 =Box.createVerticalBox(); //adding both panels to vertica box and adding it to panel2
    b12.add(jp02);
    b12.add(jp12);
    panel2.add(b12);
    //<--------coding for third tab--------->
    JPanel panel3 = new JPanel();
    tabbedPane.addTab("Detail of Tenant",null,panel3,"third tab");
    //adding panel for top data
    JPanel jp13=new JPanel(); //jp13 panel for details above 3 TitledBorder panels
    jp13.setLayout(new GridBagLayout());
    JLabel l13=new JLabel("Name");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=0;
    gbc.gridy=0;
    jp13.add(l13,gbc);
    JComboBox c13=new JComboBox();
    c13.addItem("Select");
    c13.addItem("Mr.");
    c13.addItem("Mrs.");
    gbc.gridx=1;
    jp13.add(c13,gbc);
    JTextField jtf13=new JTextField(16);
    gbc.gridx=2;
    gbc.gridwidth=2;
    jp13.add(jtf13,gbc);
    JLabel l23=new JLabel("Sex");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    gbc.gridwidth=1;
    jp13.add(l23,gbc);
    JComboBox c23=new JComboBox();
    c23.addItem("Select");
    c23.addItem("Male");
    c23.addItem("Female");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(c23,gbc);
    JLabel l33=new JLabel("Father/Mother/Husband's Name");
    gbc.gridy=1;
    gbc.gridx=0;
    jp13.add(l33,gbc);
    JComboBox c33=new JComboBox();
    c33.addItem("Select");
    c33.addItem("Mr.");
    c33.addItem("Mrs.");
    gbc.gridx=1;
    jp13.add(c33,gbc);
    JComboBox c43=new JComboBox();
    c43.addItem("Select");
    c43.addItem("Mr.");
    c43.addItem("Mrs.");
    gbc.gridx=2;
    jp13.add(c43,gbc);
    JTextField jtf23=new JTextField(10);
    gbc.gridx=3;
    jp13.add(jtf23,gbc);
    JLabel l43=new JLabel("Age(Yrs)");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    jp13.add(l43,gbc);
    JTextField jtf33=new JTextField(3);
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(jtf33,gbc);
    JLabel l53=new JLabel("Citizenship");
    gbc.gridy=2;
    gbc.gridx=0;
    jp13.add(l53,gbc);
    JComboBox c53=new JComboBox();
    c53.addItem("Select");
    c53.addItem("Indian");
    c53.addItem("Australian");
    gbc.gridx=1;
    gbc.gridwidth=2;
    jp13.add(c53,gbc);
    JLabel l63=new JLabel("Occupation");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    gbc.gridwidth=1;
    jp13.add(l63,gbc);
    JComboBox c63=new JComboBox();
    c63.addItem("Select");
    c63.addItem("Engineer");
    c63.addItem("Doctor");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(c63,gbc);
    panel3.add(jp13);
    JPanel jp23=new JPanel(); //first of 3 TitledBorder panels
    jp23.setBorder(new TitledBorder("Local Address"));
    jp23.setLayout(new GridBagLayout());
    JLabel l73=new JLabel("Local Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp23.add(l73,gbc);
    JTextArea ta43=new JTextArea(3,10);
    ta43.setLineWrap(true);
    JScrollPane scroll13=new JScrollPane(ta43);
    gbc.gridx=1;
    gbc.gridy=0;
    jp23.add(ta43,gbc);
    JLabel l83=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp23.add(l83,gbc);
    JComboBox c73=new JComboBox();
    c73.addItem("India");
    c73.addItem("US");
    c73.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp23.add(c73,gbc);
    JLabel l93=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp23.add(l93,gbc);
    JComboBox c83=new JComboBox();
    c83.addItem("Rajasthan");
    c83.addItem("Delhi");
    c83.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp23.add(c83,gbc);
    JLabel l103=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp23.add(l103,gbc);
    JComboBox c93=new JComboBox();
    c93.addItem("jaipur");
    c93.addItem("ajmer");
    c93.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp23.add(c93,gbc);
    JLabel l113=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp23.add(l113,gbc);
    JTextField tf53=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp23.add(tf53,gbc);
    JLabel l123=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp23.add(l123,gbc);
    JComboBox c103=new JComboBox();
    c103.addItem("Jaipur");
    c103.addItem("Alwar");
    c103.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp23.add(c103,gbc);
    JLabel l133=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp23.add(l133,gbc);
    JComboBox c113=new JComboBox();
    c113.addItem("India");
    c113.addItem("US");
    c113.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp23.add(c113,gbc);
    JLabel l143=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp23.add(l143,gbc);
    JComboBox c123=new JComboBox();
    c123.addItem("Bani Park");
    c123.addItem("Raja Park");
    c123.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp23.add(c123,gbc);
    JLabel l153=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp23.add(l153,gbc);
    JTextField tf63=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp23.add(tf63,gbc);
    JLabel l163=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp23.add(l163,gbc);
    JTextField tf73=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp23.add(tf73,gbc);
    JLabel l173=new JLabel("E-mail");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp23.add(l173,gbc);
    JTextField tf83=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp23.add(tf83,gbc);
    JPanel jp33=new JPanel(); //second of 3 TitledBorder panels
    jp33.setBorder(new TitledBorder("Permanent Address"));
    jp33.setLayout(new GridBagLayout());
    JLabel l183=new JLabel("Perm. Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp33.add(l183,gbc);
    JTextArea ta93=new JTextArea(5,10);
    JScrollPane scroll23=new JScrollPane(ta43);
    ta93.setLineWrap(true);
    gbc.gridx=1;
    gbc.gridy=0;
    jp33.add(ta43,gbc);
    JLabel l193=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp33.add(l193,gbc);
    JComboBox c133=new JComboBox();
    c133.addItem("India");
    c133.addItem("US");
    c133.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp33.add(c133,gbc);
    JLabel l203=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp33.add(l203,gbc);
    JComboBox c143=new JComboBox();
    c143.addItem("Rajasthan");
    c143.addItem("Delhi");
    c143.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp33.add(c143,gbc);
    JLabel l213=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp33.add(l213,gbc);
    JComboBox c153=new JComboBox();
    c153.addItem("jaipur");
    c153.addItem("ajmer");
    c153.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp33.add(c153,gbc);
    JLabel l223=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp33.add(l223,gbc);
    JTextField tf103=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp33.add(tf103,gbc);
    JLabel l233=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp33.add(l233,gbc);
    JComboBox c163=new JComboBox();
    c163.addItem("Jaipur");
    c163.addItem("Alwar");
    c163.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp33.add(c163,gbc);
    JLabel l243=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp33.add(l243,gbc);
    JComboBox c173=new JComboBox();
    c173.addItem("India");
    c173.addItem("US");
    c173.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp33.add(c173,gbc);
    JLabel l253=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp33.add(l253,gbc);
    JComboBox c183=new JComboBox();
    c183.addItem("Bani Park");
    c183.addItem("Raja Park");
    c183.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp33.add(c183,gbc);
    JLabel l263=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp33.add(l263,gbc);
    JTextField tf113=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp33.add(tf113,gbc);
    JLabel l273=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp33.add(l273,gbc);
    JTextField tf123=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp33.add(tf123,gbc);
    JLabel l283=new JLabel("phone No.(M)");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp33.add(l283,gbc);
    JTextField tf133=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp33.add(tf133,gbc);
    JPanel jp43=new JPanel(); //third of 3 TitledBorder panels
    jp43.setBorder(new TitledBorder("Ex-Home Address"));
    jp43.setLayout(new GridBagLayout());
    JLabel l293=new JLabel("Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp43.add(l293,gbc);
    JTextArea ta143=new JTextArea(3,10);
    ta143.setLineWrap(true);
    JScrollPane scroll33=new JScrollPane(ta143);
    gbc.gridx=1;
    gbc.gridy=0;
    jp43.add(ta143,gbc);
    JLabel l303=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp43.add(l303,gbc);
    JComboBox c193=new JComboBox();
    c193.addItem("India");
    c193.addItem("US");
    c193.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp43.add(c193,gbc);
    JLabel l313=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp43.add(l313,gbc);
    JComboBox c203=new JComboBox();
    c203.addItem("Rajasthan");
    c203.addItem("Delhi");
    c203.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp43.add(c203,gbc);
    JLabel l323=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp43.add(l323,gbc);
    JComboBox c213=new JComboBox();
    c213.addItem("jaipur");
    c213.addItem("ajmer");
    c213.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp43.add(c213,gbc);
    JLabel l333=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp43.add(l333,gbc);
    JTextField tf153=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp43.add(tf153,gbc);
    JLabel l343=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp43.add(l343,gbc);
    JComboBox c223=new JComboBox();
    c223.addItem("Jaipur");
    c223.addItem("Alwar");
    c223.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp43.add(c223,gbc);
    JLabel l353=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp43.add(l353,gbc);
    JComboBox c233=new JComboBox();
    c233.addItem("India");
    c233.addItem("US");
    c233.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp43.add(c233,gbc);
    JLabel l363=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp43.add(l363,gbc);
    JComboBox c243=new JComboBox();
    c243.addItem("Bani Park");
    c243.addItem("Raja Park");
    c243.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp43.add(c123,gbc);
    JLabel l373=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp43.add(l373,gbc);
    JTextField tf163=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp43.add(tf163,gbc);
    JLabel l383=new JLabel("Phone");
    gbc.gridx=0;
    gbc.gridy=9;
    jp43.add(l383,gbc);
    JTextField tf173=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp43.add(tf173,gbc);
    JLabel l393=new JLabel("Leaving Date");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp43.add(l393,gbc);
    JTextField tf183=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp43.add(tf183,gbc);
    /*JCheckBox cb13=new JCheckBox("Approx");
    gbc.gridx=2;
    gbc.gridy=10;
    jp43.add(cb13);*/
    JPanel jp53=new JPanel(); //panel for addin all 3 TitledBorder panels
    jp53.setLayout(new BoxLayout(jp53,BoxLayout.X_AXIS));
    jp53.add(jp23);
    jp53.add(Box.createHorizontalStrut(30)); //giving space between each TitledBorder panel
    jp53.add(jp33);
    jp53.add(Box.createHorizontalStrut(30));
    jp53.add(jp43);
    panel3.add(jp53); //adding panel which contains all 3 TitledBorder panels to panel3
    JPanel jp63=new JPanel(); //jp63 panel for bottom data
    jp63.setBorder(new TitledBorder("Tennancy Start/End"));
    JLabel l403=new JLabel("From Date");
    jp63.add(l403);
    JTextField jtf193=new JTextField(12);
    jp63.add(jtf193);
    JCheckBox jcb23=new JCheckBox("Approx");
    jp63.add(jcb23);
    JLabel l413=new JLabel("To Date");
    jp63.add(l413);
    JTextField jtf203=new JTextField(12);
    jp63.add(jtf203);
    JCheckBox jcb33=new JCheckBox("Approx");
    jp63.add(jcb33);
    panel3.add(jp63); //adding bottom details panel jp63 to panel3
    //<--------coding for fourth tab--------->
    JPanel panel4 = new JPanel();
    tabbedPane.addTab("Id of Tenant",null,panel4,"fourth tab");
    panel4.setLayout(new FlowLayout());
    //adding radiobutton above TitledBorder panel jp14
    JPanel jp04=new JPanel();
    JLabel l14=new JLabel("Identity Known");
    JRadioButton jrb14=new JRadioButton("Yes");
    JRadioButton jrb24=new JRadioButton("No");
    ButtonGroup bg14=new ButtonGroup();
    bg14.add(jrb14);
    bg14.add(jrb24);
    jp04.add(l14);
    jp04.add(jrb14);
    jp04.add(jrb24);
    //adding TitledBorder panel jp14
    JPanel jp14=new JPanel();
    jp14.setBorder(new TitledBorder("Identity Detail"));
    jp14.setLayout(new GridBagLayout());
    gbc.insets=new Insets(5,5,5,5);
    JLabel l24=new JLabel("Identity Card");
    gbc.gridx=0;
    gbc.gridy=0;
    jp14.add(l24,gbc);
    JTextField jtf14=new JTextField(10);
    gbc.gridx=1;
    jp14.add(jtf14,gbc);
    JLabel l34=new JLabel("Date of Issue");
    gbc.gridx=0;
    gbc.gridy=1;
    jp14.add(l34,gbc);
    JTextField jtf24=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp14.add(jtf24,gbc);
    JLabel l44=new JLabel("Identity Number");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp14.add(l44,gbc);
    JTextField jtf34=new JTextField(10);
    gbc.gridx=3;
    jp14.add(jtf34,gbc);
    JLabel l54=new JLabel("Name Of Issuer");
    gbc.gridx=0;
    gbc.gridy=2;
    jp14.add(l54,gbc);
    JTextField jtf44=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp14.add(jtf44,gbc);
    JLabel l64=new JLabel("Place Of Issuer");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp14.add(l64,gbc);
    JTextField jtf54=new JTextField(10);
    gbc.gridx=3;
    jp14.add(jtf54,gbc);
    gbc.gridx=0;
    gbc.gridy=2;
    Box b14=Box.createVerticalBox(); //adding both panels to panel4 in vertical box
    b14.add(jp04);
    b14.add(jp14);
    panel4.add(b14);
    //<--------coding for fifth tab--------->
    JPanel panel5 = new JPanel();
    tabbedPane.addTab("Info Of Other Members",null,panel5,"fifth tab");
    JPanel jp15=new JPanel(); //top panel jp15 for details above add delete buttons
    jp15.setLayout(new GridBagLayout());
    JLabel l15=new JLabel("Name");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.insets=new Insets(10,10,10,10);
    jp15.add(l15,gbc);
    JTextField jtf15=new JTextField(10);
    gbc.gridx=1;
    jp15.add(jtf15,gbc);
    JLabel l25=new JLabel("Sex");
    gbc.gridx=2;
    gbc.insets=new Insets(10,80,10,10);
    jp15.add(l25,gbc);
    JComboBox jcb15=new JComboBox();
    jcb15.addItem("Male");
    jcb15.addItem("Female");
    gbc.gridx=3;
    gbc.insets=new Insets(10,10,10,10);
    jp15.add(jcb15,gbc);
    JLabel l35=new JLabel("Relation");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.insets=new Insets(10,10,40,10);
    jp15.add(l35,gbc);
    JTextField jtf25=new JTextField(10);
    gbc.gridx=1;
    jp15.add(jtf25,gbc);
    JLabel l45=new JLabel("Age");
    gbc.gridx=2;
    gbc.insets=new Insets(10,80,40,10);
    jp15.add(l45,gbc);
    JTextField jtf35 =new JTextField(10);
    gbc.gridx=3;
    gbc.insets=new Insets(10,10,40,10);
    jp15.add(jtf35,gbc);
    JPanel jp25=new JPanel(); //middle panel jp25 for adding "add" and "delete" buttons
    JButton jb15=new JButton("Add");
    JButton jb25=new JButton("Delete");
    jp25.add(jb15);
    jp25.add(jb25);
    //adding table #yet to be coded#
    Box b15=Box.createVerticalBox();
    b15.add(jp15);
    b15.add(jp25);
    panel5.add(b15); //adding jp15 and jp25 to panel5 in vertical box
    //<--------coding for sixth tab--------->
    JPanel panel6 = new JPanel();
    tabbedPane.addTab("Related To Office",null,panel6,"sixth tab");
    panel6.setLayout(new GridBagLayout());
    //adding 4 labels and textfields vertically
    JLabel l16=new JLabel("Investigation Officer");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.insets=new Insets(40,40,20,10);
    panel6.add(l16,gbc);
    JTextField jtf16 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(40,20,20,40);
    panel6.add(jtf16,gbc);
    JLabel l26=new JLabel("S.No.");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l26,gbc);
    JTextField jtf26 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf26,gbc);
    JLabel l36=new JLabel("Page No.");
    gbc.gridx=0;
    gbc.gridy=2;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l36,gbc);
    JTextField jtf36 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf36,gbc);
    JLabel l46=new JLabel("Date");
    gbc.gridx=0;
    gbc.gridy=3;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l46,gbc);
    JTextField jtf46=new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf46,gbc);
    /* Canvas c16=new Canvas(); //creating a rectangle frame for adding image
    Image i16=c.createImage(200,100);
    gbc.gridx=2;
    gbc.gridy=0;
    gbc.insets=new Insets(40,20,20,40);
    gbc.gridheight=3;
    panel6.add(i16,gbc);*/
    JButton jb16=new JButton("Browse"); //adding "browse" and "save" buttons
    gbc.insets=new Insets(10,20,20,40);
    gbc.gridy=3;
    panel6.add(jb16,gbc);
    JButton jb26=new JButton("Save");
    gbc.insets=new Insets(50,20,20,40);
    gbc.gridy=4;
    panel6.add(jb26,gbc);
    //<-------end of sixth tab------->
    add(tabbedPane);
    //lower panel for cancel button
    JPanel jp1=new JPanel();
    jp1.setLayout(new FlowLayout(FlowLayout.RIGHT));
    JButton can=new JButton("Cancel"); //initialising cancel button
    jp1.add(can);
    add(jp1,BorderLayout.SOUTH);
    class Blistener implements ActionListener // class for action listener
    public void actionPerformed(ActionEvent ae)
    Object obj=ae.getSource();
    try{
    if(obj == can) //condition for cancel button
    System.exit(0);
    }catch(Exception e)
    {System.out.println(e);
    public class Project
    public static void main(String args[]) //main method for the program
    Design tabbedwin= new Design();
    tabbedwin.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    tabbedwin.setSize(900,700);
    tab

    First things first. Next time please use the code formating tags when posting your code.
    Secondly, we cant help you do your entire project or more specifically we cant do it for you. We can probably help you with one section at a time.
    Thirdly, do not post your entire code. Create a Short, Self Contained, Compilable Example (SSCCE) that demonstrates the problem section, and that is independent of any third party libraries and can compiled instantly and tested.
    Now, lets see if we can answer one problem here.
    Ques 1. In the form I have one JComboBox of Country and other of State. Now I want it in such a way that whenI select a country from the Country JComboBox ,the corresponding states automatically appears in the State JComboBox.
    Ans 1: Use an ItemListener or an ActionListener (javax.swing.event) for this. Once an item is selected, the event will be fired and then you populate your ComboBox with the requried data.
    Ques 2. I need to add picture frame in the 6th tab so that the picture shows up when clicked browse and open.
    Ans 2: You haven't created the JButton for the browse action, nor have you created the JLabel to show the picture in. Create the JButton, then the JLabel, attach an ActionListener to the button to listen for the button click, open a JFileChooser, select the image file, create an ImageIcon and pass the File object returned to it. Then call the JLabel.setIcon( the ImageIcon) to display the picture. You'll have to store the picture File information some where so can reference it when saving.
    Ques 3.I need to add tables in 1st and 5th tab which shows up the details through database when added through several textboxes and combo boxes.
    You need to do some reading. The Swing Tutorial has everything you need, from How to use Tables to How to connect to databases. There are also some examples in your JDK installation folder, ie, jdk/demos/jfc/tableExample. Here is the link to the swing tutorial on how to use Tables: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html. You find other useful links there.
    ICE

  • Please help me for peculiar error in Dbms_sql.

    Hi im using form 6i
    Send query and display output that is my work
    sqltext = 'Select a.vendcode,vendname,ap_documentno,ap_documentdate,b.grinno,sum(nvl(landed_cost,0))+sum(nvl(net_rate,0))+sum(nvl(c.cessamount,0))+sum(nvl(vatamount,0)) apGrinval
    from billmain a,Billitem b,grinitem c,vendmast d
    where a.unitid = :Unit_id
    and ap_documentdate between :From_dt and :To_dt
    and a.unitid = b.unitid
    and a.documentno = b.documentno
    and substr(ap_documentno,1,1) <> substr(b.grinno,1,1)
    and b.unitid = c.unitid
    and b.grinno = c.grinno
    and a.vendcode = d.vendcode
    and b.partnumber = c.partnumber
    group by a.vendcode,ap_documentno,ap_documentdate,b.grinno,vendname';
    and i have procedure
    PROCEDURE Display_Records(BlockName Varchar2,Sqltext Varchar2) IS
    c integer := dbms_sql.open_cursor;
    cnt integer;
    desctab dbms_sql.desc_tab;
    colval varchar(4000);
    stat integer;
    pitem varchar2(100);
    BEGIN
    dbms_sql.parse(c,sqltext,1);
    Go_Block('Param');
    next_item;
    Loop
    Exit When Upper(Get_item_property(:System.Current_Item,Prompt_Text)) like 'PARAMETER%';      
    If Substr(:System.Current_value,-5,1) in ('/','.','-') Then
         dbms_sql.bind_variable(c,RTrim(Get_item_property(:System.Current_Item,Prompt_Text)),To_date(:System.Current_Value,'dd/mm/yyyy'));      
    Else
         dbms_sql.bind_variable(c,RTrim(Get_item_property(:System.Current_Item,Prompt_Text)),Rtrim(:System.Current_Value));
         End If;
         next_item;
    End Loop;
    dbms_sql.describe_columns(c,cnt,desctab);
    Go_Block('Data');
    First_Record;
    For i in 1..cnt Loop
         dbms_sql.define_column(c,i,colval,4000);
    End Loop;
    stat:=dbms_sql.execute(c);
    While (dbms_sql.Fetch_rows(c)>0) Loop
         pitem := Get_block_property(:System.Current_block,First_item);
    For i in 1..cnt Loop
         dbms_sql.column_value(c,i,colval);
         If colval = '0' Then
              colval := null;
         End If;
         copy(colval,pitem);
         Next_Item;
         Pitem := :System.Current_Item;
    End Loop;
    Next_Record;
    pause;
    End Loop;
    Delete_Record;
    END;
    all th queries r working perfectly but the above query. why i dont know, even the same query without the bold area
    its working but result working so I want to include bold creteria.
    Nothing error displayed, it is hanging on the area while (dbms_sql.Fetch_rows(c)>0)
    but with the same query when i tried in isql*plus it display 70 rows, but here it is hanging.
    Please help me what is the error.
    kanish

    Who told dbms_sql only for database. I had send lot of queries using this coding that is working perfectly except which i post.
    Yes, I solved it myself just i changed
    rtrim(b.partnumber) = rtrim(c.partnumber)
    Thank to all
    kanish
    Edited by: Kanish on May 1, 2009 11:03 PM

  • Please help me with my problem, urgently worried and tired. Cant seem to find a solution!

    I was just doing my website and doing my css stylings. Suddenly, when i create a css rule, it stopped showing in my live view or browser. It still appears the way i want in design view. I have no idea why, i am only a beginner and i am struggling with this. My assignment is due soon and i have not finished, I am feeling so stressed now i have resort to asking here. Please please help me, this means so much to me...i know its really messy i just need all my css to work. The textarea and form parts are not working. any new css created from this stage doesnt work too.
    Here is my html code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/lightbox-2.6.min.js"></script>
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <link href="css/lightbox.css" rel="stylesheet" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="css/gallerystyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    #apDiv1 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 1;
              left: -9px;
              top: 75px;
    #apDiv2 {
              position: absolute;
              width: 754px;
              height: 115px;
              z-index: 1;
              left: 262px;
              top: 28px;
    a {
              font-weight: bold;
    a:link {
              text-decoration: none;
    a:visited {
              text-decoration: none;
    a:hover {
              text-decoration: none;
    a:active {
              text-decoration: none;
              font-weight: bold;
              color: #000;
    body,td,th {
              color: #000;
    #apDiv3 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 2;
              left: 31px;
              top: 27px;
    #apDiv4 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 21;
              top: 199px;
              left: 35px;
    #apDiv5 {
              position: absolute;
              width: px;
              height: 150px;
              z-index: 21;
              top: 145px;
              left: 8px;
    #apDiv6 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 22;
    #apDiv7 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 22;
    #apDiv8 {
              position: absolute;
              width: 269px;
              height: 332px;
              z-index: 22;
              left: 285px;
              top: 175px;
    #apDiv9 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 22;
              left: 271px;
              top: 107px;
    #apDiv10 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 23;
              left: 588px;
              top: 106px;
    #apDiv11 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 24;
              left: 909px;
              top: 105px;
    #apDiv12 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 25;
              left: 273px;
              top: 497px;
    #apDiv13 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 26;
              left: 590px;
              top: 494px;
    #apDiv14 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 27;
              left: 910px;
              top: 498px;
    #apDiv15 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 28;
              left: 275px;
              top: 886px;
    #apDiv16 {
              position: absolute;
              width: 200px;
              height: 115px;
              z-index: 22;
              left: 435px;
              top: 145px;
    #apDiv17 {
              position: absolute;
              width: 439px;
              height: 115px;
              z-index: 22;
              left: 267px;
              top: 156px;
    </style>
    <script type="text/javascript">
    function MM_effectAppearFade(targetElement, duration, from, to, toggle)
              Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    <body onload="MM_preloadImages('images/GalleryTOPS/STRIPEY/3.jpg','images/GalleryTOPS/LONG/3.jp g','images/GalleryTOPS/vneck/3.jpg','images/GalleryTOPS/pink/3.jpg','images/GalleryTOPS/ss /3.jpg')">
    <div id="apDiv5">
       <section class="ac-container">
                                            <div>
                                                      <input id="ac-1" name="accordion-1" type="checkbox" />
                                              <label for="ac-1">New Arrivals</label></li>
                                            <div>
                                                      <input id="ac-2" name="accordion-1" type="checkbox" />
                                              <label for="ac-2">Tops</label>
                                                      <article class="ac-medium"><a href="blouse.html" class="linkstyle"><span class="linkk"> <span class="ac-medium">Blouse
                                                      </span><br />
    <a href="#" class="linkk">Printed Tops</a><br />
    <a href="#" class="linkk"> Basics</a></article>
                                            </div>
                                            <div>
                                                      <input id="ac-3" name="accordion-1" type="checkbox" />
    <label for="ac-3">Bottoms</label>
                                                      <article class="ac-small">
                          <a href="#" class="linkk">Pants</a>
                      <a href="#"> <li class="linkk" id="active">Skirts</li></a>
                      <span class="linkk"></span></article>
                                                      <div>
                                                      <input id="ac-4" name="accordion-1" type="checkbox" />
                                                      <label for="ac-4">Dresses</label>
                                            </div>
                                                            <div>
                                                      <input id="ac-5" name="accordion-1" type="checkbox" />
                                                      <label for="ac-5">Bags & Accessories</label>
                                                      <article class="ac-large">
                          <span class="linkk"><a href="#" class="linkk"><span class="ac-large">Bags </span></a><span class="ac-large"><br />
                          <a href="#" class="linkk">Clutches</a>
    <br />
    <a href="#" class="linkk">Necklaces & Bracelets</a><br />
    <a href="#" class="linkk">Eyewear</a></span></span> </article>
                        </div>
                                                                <div>
                                                      <input id="ac-6" name="accordion-1" type="checkbox" />
                                                      <label for="ac-6">Shoes</label>
                                                      <article class="ac-large">
                          <span class="linkk"><a href="#" class="linkk"><span class="ac-large">Flats</span></a>          <span class="ac-large"><br />
                          <a href="#" class="linkk">Heels</a>
    <br />
    <a href="#" class="linkk">Boots</a></span></span></article>                   
    </section>
    </div>
    <div id="apDiv2">
    <ul id="menu">
      <li><a href="#">Home</a></li>
      <li id="active"><a href="#">Shop</a></li>
              <li><a href="#">Blog</a></li>
              <li><a href="#">About</a></li>
              <li><a href="#">FAQ</a></li>
        <li><a href="#">Contact</a></li>
    </ul>
    </div>
    <div id="apDiv3"><img src="images/images/images/dolce_03.png" width="172" height="62" /></div>
    </body>
    </html>
    HERE IS MY CSS CODE:
    @charset "utf-8";
    /* CSS Document */
    #menu{
              width: 100%;
              margin: 0;
              padding: 10px 0 0 0;
              list-style: none; 
              background: none;
    #menu li{
              float: left;
              padding: 0 0 10px 0;
              position: relative;
              font-weight: bold;
    #menu a{
              float: left;
              height: 25px;
              padding: 0 34px;
              color: #CCC;
              text-transform: uppercase;
              font: bold 14px/27px Arial, Helvetica;
              text-decoration: none;
    #active a{float: left;
              height: 25px;
              padding: 0 34px;
              color: #000;
              text-transform: uppercase;
              font: bold 14px/27px Arial, Helvetica;
              text-decoration: none;}
    #menu li:hover > a{
              color: #000;
              transition:.30s ease-in-out;
              -moz-transition: .30s ease-in-out;
              -webkit-transition: .30s ease-in-out;
    /* Sub-menu */
    /* Clear floated elements */
    #menu:after{
              visibility: hidden;
              display: block;
              font-size: 0;
              content: " ";
              clear: both;
              height: 0;
    * html #menu             { zoom: 1; } /* IE6 */
    *:first-child+html #menu { zoom: 1; } /* IE7 */
    .ac-container{
              width: 200px;
              margin: 10px auto 30px auto;
              text-align: left;
    .ac-container label{
              font-family: Arial, Helvetica, sans-serif;
              padding: 5px 20px;
              position: relative;
              z-index: 20;
              display: block;
              height: 30px;
              cursor: pointer;
              color: #000;
              line-height: 33px;
              font-size: 13px;
              box-shadow: 1px  0px #333;
              filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
              font-weight: bold;
    .ac-container label:hover{
              color: #ccc;
              background-image:
    .ac-container input:checked + label,
    .ac-container input:checked + label:hover{
              background: #FFF;
              color: #F1C97E;
              text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
    .ac-container label:hover:after,
    .ac-container input:checked + label:hover:after{
              content: '';
              position: absolute;
              width: 24px;
              height: 24px;
              right: 13px;
              top: 7px;
    .ac-container input:checked + label:hover:after{
    .ac-container input{
              display: none;
    .ac-container article{
              margin-top: -1px;
              overflow: hidden;
              height: 0px;
              position: relative;
              z-index: 10;
              -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
              -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
              -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
              -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
              transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
              padding-left:60px;
    .ac-container input:checked ~ article{
              -webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
              -moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
              -o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
              -ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
              transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    .ac-container input:checked ~ article.ac-small{
              height: 30px;
              padding-left:60px;
    .ac-container input:checked ~ article.ac-medium{
              height: 50px;
              padding-left:60px;
    .ac-container input:checked ~ article.ac-large{
              height: 90px;
              padding-left:60px;
    .linkk {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #000;
    .linktext {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 13px;
              color: #333;
    .accordion {  
         width:830px; 
         overflow:hidden;  
         margin:10px auto;  
         color:#;  
         padding:10px;  
    .accordion section{  
          float:left; 
          overflow:hidden;  
          color:#;  
          cursor:pointer;  
          margin:3px;  
    .accordion section:hover { 
          background:; 
    .accordion section p {  
          display:none;  
    .accordion section:after{ 
          position:relative; 
          font-size:24px; 
          color:#000; 
          font-weight:bold; 
    .accordion section:nth-child(1):after{ content:'1'; } 
    .accordion section:nth-child(2):after{ content:'2'; } 
    .accordion section:nth-child(3):after{ content:'3'; } 
    .accordion section:nth-child(4):after{ content:'4'; } 
    .accordion section:nth-child(5):after{ content:'5'; } 
    .accordion section:target {  
          background:#FFF;  
          padding:10px; 
    .accordion section:target:hover {  
          background:#FFF;  
    .accordion section:target h2 { 
          width:100%; 
    .accordion section:target h2 a{  
          color:;  
          padding:0; 
    .accordion section:target p { 
          display:block; 
    .accordion section h2 a{ 
          padding:8px 10px; 
          display:block;  
          font-size:16px;  
          font-weight:normal; 
          color:  
          text-decoration:none;  
    .vertical section{  
         width:100%;  
         height:40px;  
         -webkit-transition:height 0.2s ease-out; 
         -moz-transition:height 0.2s ease-out; 
         -o-transition:height 0.2s ease-out; 
         transition:height 0.2s ease-out; 
    /*Set height of the slide*/ 
    .vertical :target{  
         height:250px;  
         width:97%; 
    .vertical section h2 {  
         position:relative;  
         left:0;  
         top:-15px;  
    /*Set position of the number on the slide*/ 
    .vertical section:after{  
          top:-50px; 
          left:810px; 
    .vertical section:target:after{  
          left:-9999px; 
    .item {
              width: 490px;
              height: 30px;
              /* height = total height of A child element */
              overflow: hidden;
              margin-bottom: 3px;
              transition: height ease-in-out 500ms; /* css3 transition */
              -o-transition: height ease-in-out 500ms;
              -moz-transition: height ease-in-out 500ms;
              -webkit-transition: height ease-in-out 500ms;
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #000;
              padding-bottom:1px;
    #accordion div:target {
              height: 150px;
              transition: background .30s ease-in-out;
              -moz-transition: background .30s ease-in-out;
              -webkit-transition: background .30s ease-in-out; /* height = total height of A and P child elements */
    #accordion a {
        display: block;
        height: 20px;
        background: #fff;
              -webkit-transition: height ease-in-out 500ms;
              font-family: Georgia, "Times New Roman", Times, serif;
              font-size: 24px;
              font-style: italic;
              font-weight: bold;
              color: #333;
              text-decoration: underline;
        padding: 1px;
    #accordion a:hover {
        display: block;
        height: 20px;
        background: #fff;
              -webkit-transition: height ease-in-out 500ms;
              font-family: Georgia, "Times New Roman", Times, serif;
              font-size: 24px;
              font-style: italic;
              font-weight: bold;
              color: #f1c97e;
              text-decoration: underline;
        padding: 1px;
              transition:.30s ease-in-out;
              -moz-transition:  .30s ease-in-out;
              -webkit-transition:.30s ease-in-out;}
    #accordion div:hover a:before {    color: #F1c97e;
              content:url(../images/images/aa_03.png)
    #accordion p {
        height: 380px;
        padding: 5px;
    .enqhead {
              font-family: "Arial Black", Gadget, sans-serif;
              font-size: 16px;
              font-style: normal;}
    .enquhead {
              font-family: Georgia, "Times New Roman", Times, serif;
              font-size: 18px;
              font-weight: bold;
              color: #333;
              border: 3px solid #333;
              position: absolute;
    .embox {
              border-top-color: #000;
    .enqq {
              font-family: Georgia, "Times New Roman", Times, serif;
              font-weight: bold;
              font-style: italic;

    I'll 2nd Chris's comments about position:absolute.  It is definitely not needed for 98% of page layouts and in most cases should be avoided because it makes a complete mess of things. 
    You also have quite a few coding errors which mucks things up in browsers.  While I'm not certain what all you're trying to do with those labels, But I think you can simplify things enormously by using a very basic CSS layout and simple jQuery Accordion panels. 
    Copy & paste the following code into a new, blank document.  SaveAs test.html and preview in browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document with Accordion Panels</title>
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <script src="http://code.jquery.com/jquery-latest.min.js"> </script>
    <style>
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    img { vertical-align: baseline }
    body {
        width: 960px; /**adjust width as needed**/
        margin: 0 auto; /**with width, this is centered**/
        padding:0;
        background: #69F;
        font: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
        font-size: 100%;
        color: #000;
    /**global text links**/
    a img { border: none }
    a {
        font-weight: bold;
        text-decoration: none
    a:link { color: #069; }
    a:visited { color: #69F }
    a:hover, a:active, a:focus {
        text-decoration: underline;
        color: #000;
        outline: none;
    header {
        margin:0;
        padding:0;
        overflow: hidden;/*float containment**/
        width: 100%;
    header:after {
        /**clear floats**/
        content: '';
        visibility: hidden;
        display: block;
        clear: both;
    footer {
        margin:0;
        padding:0;
        width: 100%;
        color: #FFF;
        text-align: center
    article {
        margin:0;
        background: #FFF;
        padding: 2%;
    /**top navigation**/
    nav {
        margin:0;
        padding:0;
        float: right;
        width: 75%;
        overflow:hidden;
    #menu {
        width: 100%;
        margin: 0;
        padding: 10px 0 0 0;
        list-style: none;
    #menu li {
        float: left;
        padding: 0 0 10px 0;
        position: relative;
        font-weight: bold;
    #menu li a {
        display: block;
        padding: 0 34px;
        color: #CCC;
        text-transform: uppercase;
        font: bold 14px/27px Arial, Helvetica;
        text-decoration: none;
    #menu li:hover > a {
        color: #000;
        transition: .30s ease-in-out;
        -moz-transition: .30s ease-in-out;
        -webkit-transition: .30s ease-in-out;
    /* Clear floated elements */
    #menu:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    * html #menu { zoom: 1; } /* IE6 */
    *:first-child+html #menu { zoom: 1; } /* IE7 */
    /**accordion panels**/
    .accordion { margin: 50px; }
    .accordion dt {
        background: #DDD;
        line-height: 50px;
        padding: 10px;
        border: 1px solid #000;
        border-bottom: 0;
    .accordion dd {
        min-height: 100px;
        margin-left: 0;
        padding: 20px;
        border: 1px solid #ccc;
    .accordion dd &:last-of-type {
    border-top: 1px solid white;
    position: relative;
    top: -1px;
    .accordion dt a {
        display: block;
        font-weight: bold;
    </style>
    </head>
    <body>
    <header> <img src="http://placehold.it/172x62" height="62" width="172" alt="logo" >
    <nav>
    <ul id="menu">
    <li><a href="#">Home</a></li>
    <li><a href="#">Shop</a></li>
    <li><a href="#">Blog</a></li>
    <li><a href="#">About</a></li>
    <li><a href="#">FAQ</a></li>
    <li><a href="#">Contact</a></li>
    </ul>
    </nav>
    </header>
    <article> <h2>New Arrivals &gt; Tops</h2>
    <dl class="accordion">
    <dt><a href="">Blouses</a></dt>
    <dd><a href="#">Printed Tops</a>  |  <a href="#" >Basics</a></dd>
    <dt><a href="">Bottoms</a></dt>
    <dd><a href="#">Pants</a> |   <a href="#">Skirts</a></dd>
    <dt><a href="">Dresses</a></dt>
    <dd>Something here... |   something here... |  something here...</dd>
    <dt><a href="">Bags &amp; Accessories</a></dt>
    <dd>Bags  |   Clutches  |   Necklaces &amp; Bracelets |  
    Eyewear</dd>
    <dt><a href="">Shoes</a></dt>
    <dd><a href="#">Flats</a> |   <a href="#">Heels</a> |   <a href="#">Boots</a></dd>
    </dl>
    <!--end accordion panels-->
    </article>
    <footer> <small>© 2013 XYZ Company. All rights reserved. </small> </footer>
    <script>
    //jQuery Accordion Panels//
    (function($) {
      var allPanels = $('.accordion > dd').hide();
      $('.accordion > dt > a').click(function() {
          $this = $(this);
          $target =  $this.parent().next();
          if(!$target.hasClass('active')){
             allPanels.removeClass('active').slideUp();
             $target.addClass('active').slideDown();
        return false;
    })(jQuery);
    </script>
    </body>
    </html>
    ❄  ☃  ❄Nancy O.

  • Trying to understand OIM - Please help

    Hello All,
    I am pretty new to OIM, just trying to understand how OIM works. For the past 4 years I was in Sun IdM and planning to switch over to OIM.
    I read some documentation, I think OIM will perform basic provisioning and it contains out of box connectors to do basic provisoning. I have some questions can anybody please help
    - Sun IdM uses Express language to develop custom workflows or forms, in OIM to develop workflows which language did you use, is it Java or any other language?
    - If I want to provision users on AS/400, HP Open VMS or AIX systems, how can I do that I don't see any out of box connectors for these resources, so in order to integrate these resources do we need to write our own custom connectors?
    - If the out of box connector does not support a specific function on a resource what are the options do we have? for example if the AD connector does not support to delete the exchange mailbox, how your going to perform this in OIM? Do we need to write a Java code for this?
    - How much Java coding is necessary in OIM?
    - Is OIM supports role based provisioning?
    Please share any information.
    Thanks in advance.

    Sun IdM uses Express language to develop custom workflows or forms, in OIM to develop workflows which language did you use, is it Java or any other language?
    - JAVA
    If I want to provision users on AS/400, HP Open VMS or AIX systems, how can I do that I don't see any out of box connectors for these resources, so in order to integrate these resources do we need to write our own custom connectors?
    - If OOTB connectors are not available then you'll have build you own connector as per Target Resource.
    If the out of box connector does not support a specific function on a resource what are the options do we have?
    - You'll have customize their connector as per your requirements or write your own
    How much Java coding is necessary in OIM?
    - We can't calculate how much java. It's totally depends on requirements how much code you'll ahve to write. But everything will be done using Java only.
    - Is OIM supports role based provisioning?
    Here Group represent Role. At a small scale it supports. But for large scale you'll have to use Oracle Role Manager as you do in Sun Role Manager.

  • My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help?

    My macbook pro is stuck on grey screen with apple symbol in center with the progress circle under it continusly spinning. After I had turned it on. Prior to turning it on I had to force close and shut down a few hours prior. Please Help I have tried everything I know to do

    Unfortunately this means that there is a problem in the boot sector of your hard drive. It might be indicative of a fundamental corruption in the coding that allows your computer to boot your operating system from your hard drive. I had this problem twice and it resulted in me having to get a new hard drive and restore my data.
    In other words, your computer can't talk to your operating system so you can't access your data.
    Here is my advice: DON'T CALL APPLE TECH SUPPORT though they are kind and usually helpful it will take you an hour just to explain the situation and they will only tell you to do what I'm gonna say here.
    First: Shut down your computer completely
    Two: boot up while holding down the following keys: command, option, p, and r. The computer will reboot 3 times. This solution will likely fail so if you're frustrated skip to the next step.
    Three: Boot up while holding down the option key. Select recovery drive. Select your default language. Select disk utility, click on Macintosh HD, and select "verify and repair volume." Likely the verification will produce some line like "unused node not erased." Or something like that. If anything using the words "node structure" comes up, you need a new hard drive.
    If after verification and repairs you still can't boot I sincerely hope you have apple care because you will need a new hard drive. Set up an appointment to come in to the apple store, they will tell you to go and get data recovery, just ask them to give you the old hard drive. Unless you have an up to date backup in which case you can just restore from that. If you're lucky the only issue is with the boot sector which means that if you ask them to give you the old hard drive, you can buy an enclosure and you have effectively been given a free external hard drive. It still works to store data just not to load an operating system.
    If you have a back up drive bring it to the apple store and they'll do the whole thing right there, it should take around an hour and a half but may take longer.
    Hope this helps, it's annoying but it's your safest bet.
    All the best.

Maybe you are looking for