Plz Help...It is URGENT.JTREE

Hi All:
I am developing a Application where I am populating my Jtree from the database.Now the Problem is when I click on one of the Nodes of the Jtree,I am unable to populate the Jtree-window(along with the Jtree) with my JInternalFrame in one the Split Windows(SPlitPane is used).[i.e the left pane consists of Jtree & the right pane consists of JInternalFrame].
How to activate and properly set the window.
Help is urgent.Provide me some pointers plz/Source COde.
Thanking you.
Sincere
Regards
Ritesh

Dear DrCLap:
Thanks for the reply.
Let me explain my problem.Deadline is there.
Well I am having a Jtree(dynamically updated from Database) added to 1 Split Pane.
I am having a Popup-Menu with items namely Add,View and close with the ActionListener Interface.
When I click the LastNode of the JTree,I am firing a Popup Menu and the Add Event when I click Add.
But after clicking the "Add",the Layout is completely occupying the Window and destroying the Jtree.,i.e.I am unable to see the JTree.And when I finally add a new node ,I am unable to refresh the JTree.
Help me.
Regards
Ritesh

Similar Messages

  • I want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent, i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent

    i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent, i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent

    Welcome to the Apple Community.
    You can only wipe your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

  • Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Jailbroken phones cannot be discussed in an Apple forum. If you synced your phone with your computer the texts will be in the backup, so if you restore the backup you may get them back, but with a jailbroken phone it's anybody's guess what will happen.

  • Error while opening a module. plz help me, very urgent.

    when i try to open a module, the following error message appears on my screen.
              " no j2ee component found in d:\krisp\programs\servlets".
              i've installed bea in c: drive and my servlet program is in d: drive.
              plz help me, it's very urgent.

    Can you provide some more information? What were you doing when this happened?
              Can you post the entire error message?
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • How to write code for this logic, plz help me very urgent

    Hi All,
    i am new to sap-abap, i got this work and i m working on this can any body help me in writing code, plz help me, this is very very urgent.
    here  i m giving my logic, can anybody send me the code related to this logic.
    this is very urgent .
    this program o/p should be in ALV format and need to create one commond 'SAVE" on this o/t list  if  user clicks save processedon and processedby fields in ZFIBUE should be updated automatically.
    i am creating one custom table zfibue having fields: (serialno, bukrs, matnr,prdha,hkont,gsber,wrbtr,budat, credate, cretime,processed, processedon, processedby,mapped)
    fields of zfibue:
    serailno = numc
    bukrs = char
    matnr = char
    prdha = char
    hkont = char
    gsber = char
    wrbtr = char
    budat = date
    credate = date
    cretime = time
    processed= char
    processedon = date
    processedby = char
    mapped = char      are   belongs to above type data types
    and seelct-optionfields:  s_bukrs for bseg-bukrs
                                        s_hkont for bseg-hkont,
                                         s_budat for bkpf-budat,
                                         s_processed for zfibue-processed,
                                          s_processedon for zfibue-processedon,
                                          s_mapped. for zfibue-mapped
    parameters: p_chk1 as checkbox,
                      p_chk2 as checkbox.
                      p_filepath type rlgrap-filename.
    1.1 Validate the user inputs (S_BUKRS and S_HKONT) against respective check tables (T001 and SKB1). If the validation fails, provide respective error message. Eg: “Invalid input for Company Code”.
    1.2 Fetch SERIALNO, BUKRS, MATNR, PRDHA, HKONT, GSBER, WRBTR, BUDAT, CREDATE, CRETIME, PROCESSED, PROCESSEDON, PROCESSEDBY, MAPPED from table ZFIBUE into internal table GT_ZFIBUE where BUKRS IN S_BUKRS, HKONT IN S_HKONT, BUDAT IN S_BUDAT, PROCESSED IN S_PROCESSED, PROCESSEDON IN S_PROCESSEDON, and MAPPED IN S_MAPPED.
    1.3 If P_CHK2 = ‘X’, go to step 1.11. Else continue.
    1.4 If P_CHK1 = ‘X’, continue. Else go to step 1.9
    1.5 Fetch MATNR, PRDHA from MARA into GT_MARA for all entries in GT_ZFIBUE where MATNR = GT_ZFIBUE-MATNR.
    1.6 Sort and delete adjacent duplicates from GT_MARA based on MATNR.
    1.7 Loop through GT_ZFIBUE where PRDHA = blank.
              Read Table GT_MARA based on MATNR = GT_ZFIBUE-MATNR.
              IF sy-subrc = 0.
                     Move GT_MARA-PRDHA to GT_ZFIBUE-PRDHA.
                  Modify Table GT_ZFIBUE. “Update Product Hierarchy
                 Endif.
        Fetch PRDHA, GSBER from ZFIBU into GT_ZFIBU for all entries in GT_ZFIBUE where PRDHA = GT_ZFIBUE-PRDHA.
        Read Table GT_ZFIBU based on PRDHA = GT_ZFIBUE-PRDHA.
              IF sy-subrc = 0.
                     Move GT_ZFIBU-GSBER to GT_ZFIBUE-GSBER.
                  Move “X” to GT_ZFIBUE-MAPPED.      
                  Modify Table GT_ZFIBUE.
                 Endif.   
    Endloop.
    1.8 Modify database table ZFIBUE from GT_ZFIBUE.
    1.9 Fill the field catalog table GT_FIELDCAT using the details of output fields listed in section “Inputs/Outputs” (above).
       Eg:                 LWA_ FIELDCAT -SELTEXT_L = 'Serial Number’.
                              LWA_ FIELDCAT -DATATYPE = ‘NUMC’.
                              LWA_ FIELDCAT -OUTPUTLEN = 9.
                              LWA_ FIELDCAT -TABNAME = 'GT_ZFIBUE'.
                              LWA_ FIELDCAT-FIELDNAME = 'SERIALNO'.
              Append LWA_FIELDCAT to GT_FIELDCAT
    Note: a) The output field GT_ZFIBUE-PROCESSED will be editable marking INPUT = “X” in field catalog (GT_FIELDCAT).
             b) The standard ALV functionality will be used to give the user option for selecting all or blocks of entries at a time.
             c) The PF-STATUS STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN will be copied to the program and modified to include a “SAVE” button.
    1.10 Call the function module REUSE_ALV_GRID_DISPLAY passing output table GT_ZFIBUE and field catalog GT_FIELDCAT. Additional parameters like I_CALLBACK_PF_STATUS_SET (= ‘ZFIBUESTAT’) and I_CALLBACK_USER_COMMAND (=’HANDLE_USER_ACTION’) will also be passed to handle user events. Go to 2.14.
    1.11 Download the file to P_FILEPATH using function module GUI_DOWNLOAD passing GT_ZFIBUE.
    1.12 Exit Program.
    Logic to be implemented in  routine “Handle_User_Action”
    This routine will have the following interface:
    FORM Handle_User_Action  USING r_ucomm LIKE sy-ucomm
                                                               rs_selfield TYPE slis_selfield.
    ENDFORM.
    Following logic will be implemented in this routine:
    1.     If r_ucomm = ‘SAVE’, continue. Else exit.
    2.     Loop through GT_ZFIBUE where SEL_ROW = ‘X’. “Row is selected
    a.     IF GT_ZFIBUE-PROCESSED = ‘X’.
    i.     GT_ZFIBUE-PROCESSEDON = SY-DATUM.
    ii.     GT_ZFIBUE-PROCESSEDBY = SY-UNAME.
    iii.     MODIFY ZFIBUE FROM work area GT_ZFIBUE.
    Endif.
    Endloop.

    Hi Swathi,
    If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop.

  • Experts plz help its very urgent

    hi expert
    plz help- me
    previously i was getting dump in this statement
    TRANSFER v_tab TO p_file.
    FYI:
    here v_tab is a table which hav som records
    and p_file contains the path of a file like c:\new\ggg.txt
    DATA: v_tab TYPE STANDARD TABLE OF t_line WITH HEADER LINE,
    TYPES: BEGIN OF t_line,
           pspid(9) TYPE c,
           tab1 TYPE x,
           post1 TYPE proj-post1,
           tab2 TYPE x,
           vernr TYPE prps-vernr,
           tab3 TYPE x,
    END OF t_line.
    DUMP I WAS GETTIN :
    For the statement
       "TRANSFER f TO ..."
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "T_LINE". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    to avoid this dump i used feild symbol
    assign V_TAB to <IN> casting.
          p_file = <in>.
          unassign <IN>.
    nw there is no dump
    but problem is p_file contains the contents of v_tab not the file path .
    plz help me its very urgent
    thanx in advance

    Hey, no probs,
    after your initial declaration, do this.
    TYPES: BEGIN OF n_line,
    pspid(9) TYPE c,
    tab1(15) TYPE c,        "check the length you want
    post1 TYPE proj-post1,
    tab2(15) TYPE c,         "check the length you want
    vernr TYPE prps-vernr,
    tab3(15) TYPE c,         "check the length you want
    END OF t_line.
    DATA: n_tab TYPE STANDARD TABLE OF n_line WITH HEADER LINE.
    now after you fetch data into v_tab,
    move it to n_tab.
    using a loop at v_tab and move corresponding fields to n_tab's work area
    append to n_tab.
    once you have populated n_tab and are ready to TRANSFER.
    OPEN your file using
    open dataset <file> for output in text mode encoding default.
    now
    loop at n_tab.
    TRANSFER n_tab to p_file.
    endloop.
    CLOSE DATASET.

  • Plz Help me.Very urgent

    Hi Frds,
    When i am creating generic data source for master data table KNKK, getting following error : Invalid extract structure template KNKK of data source ZRF_KNKK_CRDMNGT. why I am getting error?
    In the table/view  entered  KNKK. may be this is wrong. So i have to create View compulsory to master data generic data source.
    Plz Help me . Very urgent

    Hi,
    Check your table knkk...does that table have any currency or weight units?
    if it have any of the above units then those units might be referring to some
    fields.
    Currency and weight unit fields should always refer to fields in its own table.
    In your case,it should refer to some field in KKNK table.
    If your currency or weight field is referring to some other table then while
    creating the datasource you will get the error mentioned by you.
    Regards,
    Senoy

  • PLz Help me its urgent, how to add new field in mm01 basic data screen

    Hi everyone,
         plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
    Thanks,
    murali.

    Hi Murali,
    when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
    reward if useful.
    thanks
    abdulsamee.

  • How to provide h ref dynamically plz help me its urgent

    Hello all
    String fno=null;
    ServletContext context=getServletContext();
    context.setAttribute("fno","");
    PreparedStatement st=dbcon.prepareStatement("select * from student where name=?");
    st.setString(1,name);
    ResultSet rs=st.executeQuery();
    while(rs.next())
    out.println("<a href=/jj.jsp>");
    fno=rs.getString(1);
    context.setAttribute("fno",fno);
    out.println(rs.getString(2));
    out.println(rs.getString(3));
    }in jj.jsp i have written as:
    ServletContext context=getServletContext();
    Object obj=context.getAttribute("fno");
    String fno=obj.toString();
    out.println(fno);
    PreparedStatement st=dbcon.prepareStatement("select * from student where fno=?");
    st.setString(1,fno);
    ResultSet rs=st.executeQuery();
    while(rs.next())
    out.println(rs.getString(1));
    out.println(rs.getString(2));
    out.println(rs.getString(3));
    }this code works only for one record if there are for eg:if there r 3 records like
    1 vin
    2 vinp
    4 vik then it will take only last record i,e 4 and dispay its corresponding things
    but i want if i will click on any id it should display me detalils of it in jsp as i have written above.
    how to do it.
    plz send me.,
    vidya.

    >
    iam using servlet context set and get attributes in
    ordder to pass the value through the forms this works
    but not with multuple records
    sir plz hgelp me.Don't use ServletContext for this. If there are multiple users of your server ServletContext will be shared between them which would be disasterous.
    To pass attributes between Servlets and JSPs use the request attributes. Each attribute is one object, but that object can be, for example, an ArrayList containing multiple row objects.
    You'd do somthing in your JSP like:
    <jsp:useBean id="dataTable" class="java.util.ArrayList" scope="request"/>
    <table>
    <%
       for(Iterator it = dataTable.iterator; it.hasNext();) {
           MyRowBean bean = (MyRowBean)it.next(); %>
    <tr><td><a href="<%= bean.getURL() %>"><%= myBean.getName() %></a></td>
    .......</tr>
    <% } %>
    </table>

  • I am getting error!!!..Plz help! its urgent!!!

    Hi Experts,
    I am getting following error.
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.progmodel.context.ContextException: DataNodeInfo(LoginView): unknown child node Frage
    Please help me with this.
    Cheers,
    Darshna.

    Hi Darshana,
    In the case of characteristics with attributes from the attribute names, the application generates corresponding context nodes in the Web screen application. No special characters are allowed here. In the case of attribute names with special characters, the error message com.sap.tc.webdynpro.progmodel.context.ContextException is issued when you call the F4 input help.
    The error is corrected in SAP Netweaver 2004s BI Support Package 8 Java. For Support Package 7 Java, you must import Support Package 7 Java Patch 1.
    Check this links.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115">Why to use the Common Model Interface (CMI)?</a>
    Sap Note
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_pla/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393339333237%7d">939327</a>
    SapNote
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_pla/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31303038333535%7d">1008355</a>
    Regards,
    Mithu

  • Plz Help Me its Urgent

    Hi Gurus
    Please help me related to the following issue....
    How can i get all the standard program names in SAP related to some perticular functional area(eg. FI or FM)? Is there any direct method to identify the report programs only? please help me with some example..

    Hi,
    Go to SE11 --> table name --> TRDIR --> Field name APPL , in this field input any one of the characters based on the module.
    A Assets accounting
    D DASS control station
    E RIVA
    F Financial accounting
    G General Ledger
    H Human resources planning
    I Maintenance
    J RK projects
    K Cost accounting
    L Warehouse management
    M Materials management
    N Hospital
    P Human resources
    Q QSS
    S System
    V Sales
    Y Customer head office
    Z Customer branch
    And in the field SUBC input 1 for executable program etc.
    And in the filed RSTAT input P for standard SAP Programs.
    Thanks,
    Sriram Ponna.

  • Problem with Table.getSelectedColumn() method plz help its so urgent

    Hi,
    I need to display a input msg box while the given icode( coloumn name) is not there in database and the the input value should goto the product( 3rd column in my table) column in table. my code is bellow.
    private void TablePropertyChange(java.beans.PropertyChangeEvent evt) {
    // ss
    i=0;
    int s=1;
    String icde=new String();
    String Prdct=new String();
    String result=new String();
    // String CODE=new String();
    String ICDE=new String();
    String prd=new String();
    int Colselected=Table.getSelectedColumn();
    //column.getPreferredWidth();
    try
    TableColumn ICode = Table.getColumnModel().getColumn(1);
    TableColumn product = Table.getColumnModel().getColumn(2);
    TableColumn unit = Table.getColumnModel().getColumn(3);
    TableColumn rate = Table.getColumnModel().getColumn(4);
    TableColumn Amount = Table.getColumnModel().getColumn(5);
    for(;i<s;++i)
    //For loop starts
    ICode.setPreferredWidth(76);
    product.setPreferredWidth(157);
    unit.setPreferredWidth(75);
    rate.setPreferredWidth(85);
    Amount.setPreferredWidth(95);
    Table.setValueAt(i+1,i,0);
    float gr=0,//Gross amt
    qt=0,//Qty
    rt=0,//Rate;
    dcp=0,//Disc%
    dcam=0,//Disc Amt
    edrt=0,//EDrate
    edrt1=0,
    edam=0,//EDGross
    taxrt=0,//TaxRate
    taxam=0,//TaxAmt
    netam=0;//netamt
    try
    Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
    Connection con1 = DriverManager.getConnection(url1,"suresh", "special");
    Statement stmt1 = con1.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
                        ResultSet.CONCUR_READ_ONLY);
    Prdct=Table.getValueAt(i,1).toString();
    Statement stmti= con1.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
                        ResultSet.CONCUR_READ_ONLY);
    ResultSet rsi = stmti.executeQuery("select * from prd where ICODE='"+Prdct+"'");
    java.util.Vector <String> prdct = new java.util.Vector <String>();
    if(rsi.next())
    String prodct=rsi.getString("ITEM");
    prdct.add(prodct);
    Table.setValueAt(prdct,i,1);
    Double RT=rsi.getDouble("saleprice");
    String RTS=RT.toString();
    Table.setValueAt(RTS,i,4);
    // int ColValue=Colselected==1;
    else if(Colselected==1)
    result = (String)JOptionPane.showInputDialog(this,
    "Enter the new Item", "S-appsys's INFO",JOptionPane.INFORMATION_MESSAGE);
    System.out.println("asdrf "+i);
    Table.setValueAt(result,i,2);
    // Colselected=0;
    // Table.setV
    // System.out.println("asdrf "+i);
    }// Table.setValueAt(result,i,2);
    }catch ( java.lang.ClassNotFoundException cl)
    System.out.println("Error"+cl);
    catch(java.sql.SQLException sq)
    System.out.println("Error"+sq);
    qt=Float.parseFloat(Table.getValueAt(i, 3).toString());
    rt=Float.parseFloat(Table.getValueAt(i, 4).toString());
    gr=qt*rt;
    Table.setValueAt(gr,i,5);
    s=Table.getRowCount();
    }catch(java.lang.NullPointerException e){}
    my problem is i can get the msg box while i am giving value in 1st time. but if i am giving the value in second row it will show the msgbox 4 times and it will change previous rows product column value twise and then it will change current row value. i need solution for this
    plzzz help me
    Thanks in advance
    Suresh.

    Your description of the problem makes no sense to me.
    The code you posted in not formatted or executable so I'm not going to waste time trying to understand it.
    If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • SAP Router Status is Cancel!! ???? Plz Help!! Urgent!!

    Hi,
    I am trying to open a connection for one of my systems, but the status of router is showing cancel... for that, my other opened connections are showing in gray color. what should I do 1st step?
    Thanks,
    I will post Points for sure!!
    Thanks,

    You might want to start by turning on both the logging and the trace features for saprouter. Here is a quick example from the docs (and a link below):
    For logging:
    saprouter -r -G <log file>
    http://help.sap.com/saphelp_nw70/helpdata/en/4f/992e2a446d11d189700000e8322d00/frameset.htm
    For setting up the trace:
    saprouter -r -T <tracefile>
    http://help.sap.com/saphelp_nw70/helpdata/en/4f/992e2a446d11d189700000e8322d00/frameset.htm
    Hope that helps.
    J. Haynes
    Denver, CO

  • Looking for bios version 1.7 for K8N Neo4 FI - plz help, it's urgent

    i bought myself a new K8N Neo4 FI yesterday together with a msi nx6600gt and an A64 3200+ Venice e6 and when i booted up the bios said i had 1gb of ram @ ddr266 in single channel mode. i tried to set it to 200mhz ddr but it wouldn't go so i installed win xp anyway and when i tried to run 3dmark i got artifacts all over. someone suggested that i downgrade to 1.8 so i did and my artifact probs went away so now i still have to deal with my memory and for that someone else suggested to me that i downgrade to 1.7 until the next bios comes out so i tried looking for version 1.7 and after about 4 hours of searching i still have nothing to show for it. can someone plz plz plz tell me where i can find it???

    Not to mention if you're gonna buy a 2nd power supply, why not buy one good enough to feed all of that hardware.  Good reliable brand name PSUs aren't as costly as some might think, it's actually a rather cheap price to pay for peace of mind.
    As for knowing if it will solve your problem or not, we can't garantee, you might have more than one problem in your system.  The PSU is definitely a problem, but there is no garantee everything will suddenly fall into place after you change it.

  • SOMEONE PLZ HELP ME, ITS URGENT

    I cant make the script for the button to play the movie, can
    anyone please help, I put this scripted in
    on(press) {
    _root.gotoAndPlay('1','scene2');
    and it dosnt work, and im really new at this and the lessons
    on flash doesnt even explain it proparly

    MusicBabe wrote:
    > I cant make the script for the button to play the movie,
    can anyone please
    > help, I put this scripted in
    >
    > on(press) {
    > _root.gotoAndPlay('1','scene2');
    > }
    >
    > and it dosnt work, and im really new at this and the
    lessons on flash doesnt
    > even explain it proparly
    First, DO NOT use scene name in your action.
    Select th frame you like to target and hit CTRL F3 to open
    properties panel,
    type some LABEL name in the label window.
    DO NOT use digits for names and do not start names with
    underscores _name
    Call it something unique, "my_labe_01" than use this action
    instead :
    _root.gotoAndPlay("my_label_01");
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Plz help i need urgent support on issue of my subs...

    I have been a paid skype user for over 12 Months and i have my Europe Extra for which i pay each month it says that i can have a free online number but before i signed up for this service i already had purchased an online number for 12 Months, which is now due to expire in a day.
    Please skype admin team tell me how can i use my online number offer for keeping this number, rather then paying extra money once more

    Use the web chat:
    Contact Customer Care
    Mylenium

Maybe you are looking for