How to create a parent without children in JTree

I got a question here,
i got a tree of file directories, after i check the file is a folder it will show a parent node instead of a leaf node and only files will be shown as a leaf node..
can anyone guide me thru? thanks

where is the question?
how does it relate to the subject?
can anyone guide me thru?http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html
thomas

Similar Messages

  • How to create an account without a credit card

    Does anyone know how to create an account without using a credit card?

    Yes.  Follow the instructions in this Apple support document.
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    B-rock

  • How to create own interface without .cpp file?

    how to create own interface without using .cpp file ? To access the method inside the interface .
    e.g.  ILayoutTarget.
      Should not be SDKFileHelper.h because they are using SDKFileHelper.cpp file

    Rathan,
    PLz chk the below link (PDF file)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79?quicklink=index&overridelayout=true
    Mutti

  • How to create new view without interlinking with gantt chart or resource views

    ok clear
    one another question
       In msp how to create new view without interlinking with gantt chart or resource views

    Hi Shiv PMC--
    I splitted your question above in another thread in order not to have  a huge thread with many topics in it.
    That being said, I'm not sure to understand. A view is just a manner to display MS Project data with columns. A view can have a table with column (left part) associated with a Gantt chart. It can also just contain a table with no Gantt chart (like the task
    table) or a table with a timephased grid (resource and task usage).
    Please give us more information, maybe with a concrete example so we can help you.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to create table control without wizard....???

    Hello experts !!
    Plz tell me how to create table control without wizard.
    for sflight table.
    Scenario 1
    I have one screen like 1000.
    There i have taken carrid, connid, fldate as criteria.
    Now i want to display Planetype, Price, Seatsmax in the table control.
    Scenario 2
    i have two screens 1001, 1002.
    in the screen 1001 i have taken carrid, connid, fldate as criteria and there is a Button.
    when i will click the button it will show the price, planetype and seatsmax in the table control in the next screen, i.e 1002
    plz help me out...
    and how to save new record in the dictionary table from that table control....

    Hi
    see the sample programs and design accordingly
    syntax:
    CONTROLS .
    if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
    u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
    Go through this urls.
    www.****************
    www.sap-img.com
    Check the below links.
    just refer to the link below
    http://www.sapmaterial.com/tablecontrol_sap.html
    step by step procedure with screen shots
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
    http://sap.niraj.tripod.com/id25.html
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    Regards
    Anji

  • HT2731 How to create apple ID without providing my credit card info.?

    How to create apple ID without providing my credit card info.?

    Actually... this is not true, or at least I had no "None" button to choose from. I only need this device (iPhone) because of my job and have no intentions on purchasing anything from apple, now or in the future. Is there a way to go in and disassociate\remove my CC info Apple systems. How does a company get away with demanding CC info "incase" you decide to buy something later, I don't get it... why not just demand to hold everything I own until I need to use it?
    Here is the link mentioned above.
    http://support.apple.com/kb/HT2534

  • How to create apple id without creadit card

    How to create aplle id without creadit card???

    Follow the instructions on this page when creating a new account : http://support.apple.com/kb/HT2534
    e.g. if using a computer's iTunes : https://discussions.apple.com/message/24321860
    if using an iPhone : https://discussions.apple.com/message/24700173

  • HT2589 any1 can me assist me how to create APPLE ID without providing credit card details

    any1 can me assist me how to create APPLE ID without providing credit card details

    A simple search finds:
    Creating an iTunes Store account without credit card - Support - Apple

  • How to create Oracle Alert without metioning the email address in To Field

    Hi,
    I just wanna know that how to create Oracle Alert without metioning the email address in To Field.
    Please help thanks.

    If you don't enter anything in the email field, the alert email won't go out.
    If you just want to test or if you plan to use the history, you can put a non-existant email there.
    The alert will fire anyway.
    Hope this helps,
    Sandeep Gandhi

  • HT2534 How to creat an account without giving your bank details

    How to creat an account without giving your bank details

    Breahross wrote:
    How do I create an at the app world without my bank details
    I'm not sure what that means

  • How to create a parent-child dimension in EIS?

    Does anyoe know how to create a parent-child dimension in EIS? Helps.

    It's easy but there are a few things to know.
    -The underlying dimension table must be a 2 column recursive design. It can also have additional aliases and property columns.
    -in the OLAP model you must do a "self-join". select the table properties | physical joins. then join the parent to the child within the same table
    -in the metaoutline drag only one column, not both (i like using the child only) to the dimension in the metaoutline panel.
    If you need more help email me ([email protected]) and I'll do a webex demo for you.
    Ron

  • Flash CS4 - how to create event flow from children to parents?

    In my opinion natural event flow direction is from children
    to its parants.
    E.g. when in dialog box buttons are pressed it is natural to
    inform only
    this dialog box about these actions. When dialog box can't
    handle particular
    event then passes it to its parent and so on .
    Unfortunately this direction is not well supported by Flash.
    To achieve
    support for this event direction it is necessary to call
    parent.dispatchEvent() with bubbling option off. This
    solution is
    inconvenient because sometimes I can't predict what event
    types will be
    triggered inside dialog components. Most likely there is no
    function to
    catch all events which have no defined handlers in dialog in
    order to be
    possible to pass them one level higher.
    Have you got any experience with building communication model
    between
    objects in Flash applications?
    Regards,
    Marek

    XML shema is basically an XML file. So u need to know how to create an XML,
    provided u know how the shema file should be.
    Creating an XML :
    http://forum.java.sun.com/thread.jspa?threadID=5181031&messageID=9705786#9705786

  • How to create excise invoice without material document

    Hi,
    I want to create excise invoice for a subsequent credit note. I am agreed to give additional amount to my supplier for which i have not paid to him, now when i issue a subsequent credit note, how to create a excise invoice and do the excise entries without a material document.
    Please suggest a solution
    Regards,
    Ashish

    Go to T Code J1IH.
    Select Additional Excise. Replace the document number by the vendors excise invoice. Enter the excise duties in lower box and click on Determine GL accounts button to simulate and then post.

  • How to create a TableView without Caption

    Hi forum,
    how can I create a TableView without Caption?
    Thanks in advanced
    Edited by: 899956 on 13-dic-2011 5.01

    Not quite sure what "without a caption" means.
    Maybe you don't want the headers displayed in the table, if so, then see =>
    Hide / Remove TableView headers and
    custom table header

  • How to create 9i db without sample schema?

    I have (finally) gotten 9iR2 installed on RH 7.3.
    During installation I created sample database instance TEST.
    I then used dbca to create a second instance JSDB.
    I did not see (but may have missed) dbca questions regarding wether or not to create/load sample database schema.
    How best to create a database without the sample database schema?
    If it can not be done, how best to expunge the sample database schema and all related litter?
    There seems to be tables for SCOTT, HR, OE, SH, PM.
    Thanks
    R.Parr
    Temporal Arts

    To drop SCOTT schema, run the batch file/shell script:
    ORACLE_HOME\BIN\DEMODROP
    To drop HR schema, run SQL script:
    ORACLE_HOME\DEMO\SCHEMA\HUMAN_RESOURCES\HR_DROP.SQL
    There are a number of other sample schema scripts to drop the other schemas installed with Oracle9i. If you can't find them easily, read the Sample Schema Guide on http://tahiti.oracle.com/.
    Alison

Maybe you are looking for