Generation of tree like GUI

Hey guys,
I need to create a GUI which looks something like the left side content section of this webpage. If I click on the + sign I can see more topics that are there in that items.
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00490_.htm
Can anybody tell me which java API library should I use in order to create that tree like structure.
Thanks.

You can do that in Swing with JTree

Similar Messages

  • Best way to implement tree like subcategory chooser in GUI on iphone

    I need to let user choose subcategory, from a tree like structure, 3-4 level deep.
    and the list is veeeery long. I was wondering what would be the best way to show it to user, and let him choose one.
    ideas ?

    The right solution here is probably a set of UITableViewController subclasses inside a UINavigationController that your application presents modally. If the lists are long even within a level, sort and group them alphabetically and present an index list along the side, the way Contacts does. You should be able to do all this with just a few UITableViewDelegate/DataSource methods.

  • I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why?

    I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why? I saw a thread saying to purchase the newest software (that was posted a few years ago) I paid 4.95 for the software and it's still saying it can't be updated.  Am I just SOL??

    The 1G iPod can only go as high as 3.1.3. The 1G does not have an internal speaker or volume buttons on the upper left edge.
    Identifying iPod models
    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Apple Club - filter apps by iOS version.

  • Access rights in case of a tree-like structure, with inheritance

    Hello,
    the project I've just started to work on should include an easy way (from the user's point of view) to grant/revoke access rights on a tree-like structure with inheritance.
    Basically we are working for several international companies who want to use our application to watch/manage some of their web projects - each project belongs to one company and consisting of several 'campaigns' in several countries (there can be several campaigns per country, but each campaign belongs to exactly one country).
    From our point of view this is a tree-like structure, with a 'root' node at the top level, 'companies' at the first level, 'countries' at the second level, 'campaigns' at the third level, and modules of our application (for example a module to display overall stats of the campaing, and so on) at the fourth level. There could be (and probably will be) some more levels, but that's not important at this point - it will always be a tree-like structure.
    The customer's reqirements are natural - the administrators should be able to grant/revoke access to 'subtrees' of this structure. For example the top managers should be able to see all the data related to their company, the local managers should be able to see all the data related to their company in the country they work in, etc. On the other hand the relular employees should not see some of the modules (with details about clients of the company).
    I wonder whether this can be solved using JAAS in an elegant and flexible manner - from the documents / whitepapers / tutorials I've seen till now it seems to me it seems to me not too suitable.
    All the data will be stored in relational database (Oracle, and in some cases PostgreSQL), and it would be nice to have the access rights stored in the same way (but it's not required). We have some ideas how to solve that using a single table containing paths in the tree, but at this point it's only an idea (not a single line of code written).
    We are sure somebody has already to solve such a problem - maybe using JAAS, maybe some other technology - and we don't want to reinvent a wheel. Do you have an idea how to solve this (using JAAS or something else)?

    Well, I forgot to explain what the 'inheritance' means ...
    We do not want to set the access right on each node of the tree - we prefer (as well as the users) to set/store only as much information as needed. We'd like the nodes to inherit the access rights from their parent nodes. For example we'd like granting access to particular project to mean granting access to all campaigns in all countries (related to the project), without the need to set and store these rights for each of the campaigns/countries.

  • Hello, I have stolen my iPod Touch (1st generation) and would like to know if I could find it in some way.

    Hello, I have stolen my iPod Touch (1st generation) and would like to know if I could find it in some way.

    I presume you mean that your iPod touch has been stolen, not that you stole it which of course means something much different.
    If you set up the Find My iPod service prior to the iPod going missing, then there is a chance that can be tracked, though it depends on a number of factors (the iPod is turned on, connected to a WiFi network, and has not had the Find My iPod service disabled or the iPod been completely restored). 
    If you did not set up Find My iPod, then there is no way to track it. Contact the police and change any passwords for any online accounts you may have used from your iPod (the iTunes Store, for instance). 
    Regards.

  • Explorer-like GUI

    HI guys! i'm back again to ask for some help with my program. My problem is actually about files. How can i determine the size of a file? I have looked at the File class API but i see nothing about getting the file size (i.e. File.getSize()). Is there anyway i can do it in java? And secondly, i want to build an Explorer-like GUI in java using Swing. In there, i want to list the file name, file path, and the file size in columns (Table :-) ). Can this be possible? Thanks a lot to all of you! I'll surely appreciate your help!!! have a nice day :-)

    perhaps File.length() is the one.

  • Tree Like structures

    Dear All,
    I am working on some tree like structures querys.
    I am strucked up with one tricky concept.
    My Data is like as given below
    EMPNO MGR
    1
    2 1
    3 1
    4 2
    5 4
    Now my requirement states that I should display the date as given below
    1
    1 2
    1 2 4
    1 2 4 5
    Can anyone help me in designing a query.
    Appreciate your help on this.
    Thanks,
    Madhu K.

    If more levels are there then it should populate under different columns like col5 ..... That's fine, that's how it will work.
    There are only 4 levels above because that's just how the sample data is.
    1 2 3 4You'd think people could give suggestions that get you over the hard bit and then you do some work for anything that's not exactly right.
    SQL> ed
    Wrote file afiedt.buf
      1  WITH DATA AS(
      2   SELECT 1 a,0 b FROM dual UNION
      3   SELECT 2,1 FROM dual UNION
      4   SELECT 3,1 FROM dual UNION
      5   SELECT 4,2 FROM dual UNION
      6   SELECT 5,4 FROM dual UNION
      7   SELECT 6,5 FROM dual
      8  )
      9  SELECT SUBSTR(SYS_CONNECT_BY_PATH (a,' '),2) scbp
    10  FROM DATA
    11  CONNECT BY PRIOR a=b
    12  START WITH a=1
    13* ORDER BY 1
    SQL> /
    SCBP
    1
    1 2
    1 2 4
    1 2 4 5
    1 2 4 5 6
    1 3
    6 rows selected.
    SQL>

  • Tree-like representation of interdependent hierarchy elements?

    Hi all,
    I'd like to know if anyone has experience/ideas in how to represent/report for instance the operational readiness of a plant and it's production lines as a 'dynamic hierarchy'?
    By dynamic hierarchy I mean that the operational status of the upper nodes, e.g. a plant, would be affected by the lower level nodes statuses i.e. depending on the criticality of a production lines operational status for the plant it self, a operational status
    of lets say 25%(production line or machine) would turn the status of the upper level node(plant) to red or yellow.
    This tree-like representation would look like something similar to this Value Driver Tree with a top-down representation and color coding for each nodes operational status, be it inherited or not:
    http://help.sap.com/saphelp_sem60/helpdata/en/df/a18539826a7333e10000000a114084/content.htm
    Style:
    http://www.businessobjects.com/global/images/products/performance_manager/performance_manager_strategy_maps.jpg
    Could this be accomplished easiest with VDT(?), the usual reporting tools or perhaps Visual Composer?
    This might be easier in xApps(xMII etc) but any help on how to do this with 2004 or 2004s would be much appreciated.
    Best regards,
    Janne

    Yes there is a problem writing tags to the JSP.
    JSPs/Servlets are meant to generate HTML.
    Generating JSP tags at runtime will just print them out as part of the HTML stream - it won't evaluate them.
    Remember that a JSP page gets compiled into a servlet. This process translates the JSP tags into java code. Generating JSP tags at runtime is something that will just not work, because the translation process is already complete.
    Only way to do it (nasty hack) is as you said, is to write the code to a jsp file, and then let the container translate/compile and execute that jsp as a jsp:include in your original one. Not very nice.
    Best solution would be to see if you could modify/adapt your custom tags to java objects.
    good luck,
    evnafets

  • How to display grouped tracks tree-like?

    I imported lots of classical CDs and I grouped some works using the 'Grouping' field of the song information dialog. The grouping I added appears in the column 'Grouping' , but however, I'd like to have the groupings displayed in a tree-like structure. I know iTunes can do that, because I have seen it in the music store (on some classical CDs).
    Unfortunately, the help files and FAQs don't tell a lot about grouping.
    How can I enable the tree-like display of groupings in my library?
    FYI: I am using iTunes 6.0.1 on Mac OS X 10.0.3
    Thanks for any help
    Michael

    I'd like to have the groupings displayed in a tree-like structure. I know iTunes can do that, because I have seen it in the music store (on some classical CDs).
    Ohh! That would be Folder Structure then. A useful feature in other circumstances of running tracks together while in Party Shuffle or Shuffling a list. iTMS can obviously do it, but apparently not iTunes.
    Suggest you log a request at http://www.apple.com/feedback/itunes.html
    Grouping seems another way of making a regular or smart playlist, but would not affect how those songs get displayed in viewing the library. The word "grouping" gives the impression of doing somethiing more I think.

  • Looking for tree like left navigation

    Has anyone implemented a navigation that would be like the windows file explorer folder tree.
    I want my navigation to be collapsable, indented and tree like
    Example
    Community 1Community 2 page 1 page 2 sub community 1 sub community 2 sub page 1 sub page 2Community 3...

    Thanks Yoav - FYI - we've been working on putting together a full function demo version (with time expiry) of the explorer (and suite)- so, starting from early next week we should have a version that you can install in your own environment and have a play with without having to fork out the dollars!
    Let me know if you'd like a copy.
    On the other hand - it sounds like the question is actually about a nav, rather than a portlet?
    Regards
    Steve HayrCollaborative Technologies+61 2 9409 [email protected]

  • Zip a tree like file structure in memory

    Hi all guys...
    How can I create a tree like file structure in memory (without using the disk at all) and than zip it send it out as an http servlet response?
    I think its easier if I break it down to 2 separated problems: file structure in memory and zipping those bytes.
    thanks

    You can use a ByteArrayOutputStream but it will scale very very badly. What will happen if you get 100 concurrent users all wanting to allocate memory for the Zip file?

  • Tree like menu

    Hello frds,
    I am have to develop Tree like menu in Midlet.. can any one have idea abt . plz share sample code fo rit if posible
    looking for early response
    Ashish

    You can make a Branch class, stored in an array. The branches each store other branches or menu items, a boolean flag could be used to indicate the difference.
    Class Branch {
       Branch subbranch[];
       String menuItems[];
       boolean ItemOrTree;
       void click(int idx) {
          if (ItemOrTree) {
              /// item
              doMenuItem(menuItem[idx]);
          else {
             subbranch[idx].open();
    }

  • IPhone like GUI for the 755p - Touch Launcher

    Bought an app yesterday for my 755p.  It is called Touch Launcher and it provides an iPhone like GUI to the phone.  I think it is pretty cool.
    In the TouchLauncher Options menu, i'm able to scroll what i'm presuming all of the apps installed on my phone.  I simply assigned camera to the camera icon, clock to the clock icon....
    But, I'm stumped when it comes to assigning an app to the SMS icon.  I just don't see any name in the scroll down menu that resembles SMS.  Does anyone on this forum know the name of the file or app that i should select for SMS in my 755 running palm os?
    TIA 
    Post relates to: Treo 755p (Verizon)

    Thanks.
    googling like crazy have learned that Touch Launcher is V2 of this app.  iPhoneImpersonator was V1.  Thats the one i have.  V1 is more to my liking.  Anyways, the SMS app is identified as Nexter.  That's not quite so intuitive as camera...
    Thanks for the help.
    Oh, if anyone knows how to turn off the 755 keyguard so the iPhoneImpersonator 'touch and slide to unlock' (like the iPhone) is the default, I'm curious.  I've emailed the author but haven't heard back.  I will close this thread when he does.
    Thanks. 
    Post relates to: Treo 755p (Verizon)

  • Tree like report

    I have a view which returns holding data in a parent-child hierarchy.
    holding
    instrument_id
    parent_instrument id
    level
    I looked at creating hierarchy and go through “Connect By” example from the Admin manual, but it seems like I already have parent/child structure returned from my DB View.
    How can I create a tree like report? Is it possible?
    Deepak

    Hi,
    If you have the tree level in your report you can create a tree like report by using the LPAD function to add spaces in front of your data. eg.
    LPAD('   ', '   ', (level-1)*3)||instrument_idHope that helps,
    Rod West

  • Tree like structure ??????????? pls help

    Hello
    I want to get the tree like structure
    My requirement is that when I write any jsp and put it in webapps's any
    folder I should get tree like structure of the folders in which I am putting my jsp.
    Foe example I have structure like
    webapps
    --rakesh_folder1
    --rakesh_folder2
    --rakesh_folder3
    ---rakesh_subfolder1
    ---rakesh_subfolder2
    ----(Here goes my jsp which would make to get sructure)
    ----my_other_file_1
    ----my_other_file_2
    When I type http://localhost:8080/rakesh_folder3/rakesh_subfolder2/jspname
    I want output as
    --rakesh_folder3
    ---rakesh_subfolder2
    ----my_other_file_1 (size of file) (time stamp)
    ----my_other_file_2 (size of file) (time stamp)
    How should I proceed ????????????????????
    Tx in advance
    Rakesh

    rakesh,
    see if you have tree structure like this
    C:\
    Vivek
    Rakesh
    then C:\ is the root from where you are starting.
    so just
    <html>
    <body>
    C:\
    &ampnbsp;&ampnbsp;&ampnbsp;Vivek
    &ampnbsp;&ampnbsp;&ampnbsp;Rakesh
    </body>
    </html>

Maybe you are looking for

  • Radio buttons don't uncheck when another button is checked

    I have this strange problem with my radio buttons. I was taught that when a radio button is checked any other button that is checked becomes unchecked, but that's not what is happening here. This form is part of a php data base; therefore, the value

  • Supress vendor text in Shopping cart

    Hello, We want to supress the Vendor Text Box in the item details of the shopping cart. How can one accomplish this? Thanks, Aart

  • Incorrect call to external link

    Hello experts, Business is requiring and external link in a development, so users will click on it and it should take them to a web page in their intranet site. Even when our developer is assigning the correct link, SRM is changing the URL. example:

  • Nokia 6300 Battery Discharges too early very fast

    I have bought a Nokia 6300 from Karachi Pakistan. The battery discharges very faster than the normal battery discharge time under normal temperature n conditions. Need solutions as soon as possbile. EDIT: removed personal informationMessage Edited by

  • How to use Java NIO to implement disk cache for serialized java objects

    Hi, I have a cache (implemented as hahstable etc.) that contains java objects (mostly strings) and swaps objects from runtime memory to the disk and back based on some algorithms. Currently, the reading and writing from the disk is implemented using