How to make contents to be displayed in sam window by selec node in JTree

hi,
am a starter only, i need some help in JTree.
I was able to make a tree using JTree.
But the problem is..i want the contents corresponding to each node selected, at right side of the window..
Just like we select node of a tree which is left side of the window its content will appear at that mouse click..right side of the same window
Edited by: priya_1984 on Jun 21, 2008 2:25 AM

Read the JTree API and follow the link to the Swing tutorial on "How to Use Trees", where you will find a working example.

Similar Messages

  • How to make content horizontal swipe in single standard frame in Indesign CS6?

    How to make content horizontal swipe in single standard frame in Indesign CS6?

    This sounds like a question for the DPS forum. We don't handle DPS questions here:
    Digital Publishing Suite

  • How to make WebView able to display Tamil language

    Dear JavaFX users,
    We have written a simple web browser based on WebView. On Windows 7, it works well, can display Arabic but cannot display Tamil language
    The font Arial Unicode MS is available and with shape TAMIL, and it's possible to display Tamil text in Swing controls but not in JavaFX WebvView !
    I thought that WebView was Unicode UTF-8. How to make WebView able to display Tamil language.
    Thank you in advance for any help on this issue.
    Best wishes,
    Jean-Claude Dauphin

    For thus who are interested, please find below the Oracle response on this issue:
    WebView uses the default JavaFX graphics pipeline, which is different than the one used for Swing/AWT. Support for right to left languages and complex characters is only planned for JDK 8 (JavaFX 8), but an early access implementation should soon be available as part of the JDK 8 weekly builds at http://jdk8.java.net/downloads.html
    Whatever support for Arabic existing in JavaFX 2.2.x is not complete, and I would not recommend that you rely on it in "production" mode.
    Regards,
    Nicolas Lorain
    Oracle
    Java Client Product Management

  • How to make two matrix and table into same group in SSRS

    Hi
    i need to dispaly to dispaly data  matrix and table .  but matrix data on first page and table data on second page.
    how to achive this . if i give pagebreak for every new instance for matrix, only matrix data is getting dispalyed in one page and on the second page seocond record date is getting displayed. after all matrix data is displayed ( in separate pages) , table
     data is being dispalyed.
    but i want to display matrix data on first page and table data on the second page for the first record. for second record  also it should display matrix data on 3rd page and table data on 4th page etc..
    i mean how to make matrix and table data as same group. so that i can set "page break for new instamce" etc..
    how to achive this in SSRS2008

    Hi Ramkanuganti,
    From your description, you want to group both the matrix and table on the same field and add a page break between the two controls for each instance at run time.
    To achieve your goal, we can display the matrix in a list and display the table in a nesting list. Please refer to the steps below:
    Drag a “List” to the design surface. Drag the matrix into the top of the list (list1).
    Drag a “”List” to the list1, under the matrix. Drag the table into the nesting list (list2).
    Select “list1” and open the “Group Properties” from the “Row Groups” pane. Add the field on which you want to group the data. In the “Page Breaks” tab, select the “Between each instance of a group”.
    Repeat step 3 to configure the “list2” using the same field. Additionally, please also select the “Also at the start of a group” option.
    For more information about how to work with list, please refer to:
    Adding a List
    If you have any further questions, please feel free to ask.
    Regards,
    Mike Yin

  • How to have Safari links always open in same window

    I've been researching how to have Safari always open links in the same window, but it appears this can't be done?  I've seen this third party app, but am afraid of installing something that doesn't come from the app store because it might harm my macbook.  Does anyone have any thoughts about how to have links always open in the same window? Or how to find out if I can trust this app:
    http://canisbos.com/linkthing

    You can reset the folio by triple tapping the title in the nav bar.
    Bob

  • Hey, im really sick of this, how can i open folders but in the same windows, when i open a folder which is inside of another one, it just open me a new window, its so annoying, could anyone tell me what to do? im using mac os 10.7.2

    hey, im really sick of this, how can i open folders but in the same windows, when i open a folder which is inside of another one, it just open me a new window, its so annoying, could anyone tell me what to do? im using mac os 10.7.2

    Finder > Preferences > General > Always open folders in a new window: uncheck

  • How to make contents of DIV on page I'm leaving fade out?

    I am trying to figure out how to make the contents of a DIV on the page I'm clicking away from fade out. I know how to make the next page load with a fade in. So I'm half way there (I guess).  Wix has a lot of designs that use this effect. Here's a link to an example:
    http://www.wix.com/website-template/view/html/633?originUrl=http%3A%2F%2Fwww.wix.com&numbe r-of-page=1&position-in-page=1
    This is the code that I use to make a DIV load with a fade in:
    I add this CSS code under the DIV that I want to apply the fade in effect to:
         animation: fadein 2s;
        -moz-animation: fadein 2s; /* Firefox */
        -webkit-animation: fadein 2s; /* Safari and Chrome */
        -o-animation: fadein 2s; /* Opera */
    And I add this extra code to the CSS styles sheet:
    @keyframes fadein {
        from {
            opacity:0;
        to {
            opacity:1;
    @-moz-keyframes fadein { /* Firefox */
        from {
            opacity:0;
        to {
            opacity:1;
    @-webkit-keyframes fadein { /* Safari and Chrome */
        from {
            opacity:0;
        to {
            opacity:1;
    @-o-keyframes fadein { /* Opera */
        from {
            opacity:0;
        to {
            opacity: 1;

    Success!!! Thank you! Although I did have to change one more thing. See bold text below.
    One more question. What if I wanted to apply this effect to two ID's instead of one? Would it be as simple as adding a comma and then the ID in quotes like this?.... $(#container", "#footer")
    $(document).ready(function() {
        $("#container").css("display", "none");
        $("#container").fadeIn(2000);
        $("a.transition").click(function(event){
            event.preventDefault();
            linkLocation = this.href;
            $("#container").fadeOut(1000, redirectPage);       
        function redirectPage() {
            window.location = linkLocation;

  • Outlook 2010 - how to make "global address list" display larger?

    Does anyone know how to make the "global address list" box and text appear larger in Outlook 2010? 
    Thanks

    What do you mean? Can you please explain in detail?
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • How to make a multi column display in popup

    Hi,
    I have a popup component which gets invoked on the click of a command button. The popup display a tree with 2 level hierarchy. Since at the level 1 there are many nodes, and all getting displayed in one column, there is vertical scrollbar coming in the popup. How can I avoid scrollbar and display the level one nodes in multiple columns. For eg, show only 10 nodes in one column and then start the second column.
    Any help is highly appreciated.
    Regards,
    Ann

    I too want the tree to be hierarchical. But only thing is if my level one has 20 nodes, only 10 nodes to be shown in the first column and the remaining in the second column instead of all being shown in the same column. But clicking on any level 1 node should show the level 2 nodes hierarchically. If we go to www.oracle.com, in the top right , there is "Oracle Technology Network" menu , clicking on which will show a flyout which shows an expanded tree hierrachy in two columns. I am trying to achieve something like this in popup.

  • How to make "shutdown immediate"  command display information

    Hi All,
    i just shut down my database using "shutdown immeidate". it does not display any information and just stop there. i wait serveral minutes and it display nothing. i do not know that it is doing. so i just use "shutdown abort" to shutdown.
    does anyone know how to let "shutdown immeidate" to display some information to let me what it is doing now?
    thanks.

    Hi hutchins2,
    Thanks for posting, check the link below which seems to be the reason of our problem:
    Text-Based DAQmx Device Information Functions Return a NULL Result
    Eric NI

  • How to make yahoo mail the default email in Windows 7

    Mozilla Firefox is my default browser. How can I make yahoo mail my default email in Windows 7

    so I am going to accept this truth.
    Thank you,
    Alex
    Am 29.08.2010 um 14:37 schrieb Murray ACP:
    No.  That's a browser-specific function.  In fact, it's much better 
    to make the scrollbar visible on ALL pages than it is to try to hide 
    them on some pages.  You can make the scrollbar always visible 
    (thereby preventing the content on longer pages from shifting left 
    when the scrollbar appears) with this simple CSS -
    >
    html { overflow-y:scroll; }
    >

  • HT1420 How to make Apple ID and iCloud the same Id?

    How to make Apple ID and iCloud ID the same after they have been created?
    iTunes keeps asking for ID and passwords that were created differently.

    You can't im afraid. I wanted to do the same and got the following from Apple:
    I am sorry, you cannot update your email address to MobileMe address as each Apple ID is unique.
    Ross, I would like to let you know that, you cannot change your Apple ID if it was at any time a .Mac or MobileMe email address, even if your subscription has ended or been canceled.
    The email address that ends in .me is already an Apple ID as well, as when you set up a MobileMe email its automatically set up as an Apple ID. So you cannot use this email address on another account. It is permanently associated with your MobileMe Apple ID.
    This article provides helpful information when choosing which Apple ID to use with iCloud:
    Apple IDs and iCloud
    http://support.apple.com/kb/HT4895
    This page also covers topics such as moving MobileMe accounts to iCloud, managing your Apple ID, and how to get content purchased with multiple Apple IDs onto your iOS device.
    I hope this information was helpful. If you require further assistance, please do not hesitate to reply to this email and I will be more than happy to assist you further.
    Sincerely,
    Thenmozhi
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    I wrote back and tried to escialte the issue but got no where. The whole thing is very disappointing and I hope Apple sort it out eventually.

  • How to make two Application Modules share the same entity cache?

    Hello everyone, I am using JDeveloper 11.1.2.3.0
    I have a little problem in my application through using two AppModules that contain also same ViewObjects. So to be clear one VO is declared in two AppModules. When I commit the view by using AppModule1 and then go to another page that uses the same VO but from AppModule2, I have to commit again, even through the row is previously stored in the database.
    I understood that this came because different AppModules use different entityCache for database communications.
    I am asking if anyone knows any option on how to sync the entity caches from the two appmodules, or how to make them use the same entity cache.
    Thank you

    You can make a copy of the app and give it another name, but it will use the same settings files no matter which you open. Settings aren't stored in the app, but in your Preferences.
    Firefox, being a Windows derivative, might have the capability to use "Profiles" where you'd set it up different for each profile. I don't use Firefox, so I don't know if that option exists.

  • How to make fields grow dynamically within the same page and in column wise

    Hi,
    Like the newspaper format: Where contents of news are shown columns wise.
    We need to make the fields in a page grow column wise within that same page.
    For example, in a page:
    Column 1 Column 2
    ASDASDASDGKASHDGKAA | ASDFASGFHSJFAJKSD
    ASDFASDFASDJFASGJKDFHA | ASDFASDASDFASDFASD
    AFSDFASDFASDHGFKASDFASD | ASDFASDFASDFASDFASDFA
    ASDFSDGFJASHDGFJKASHDGKFAS |
    ASDFAGASDHFKASHDGFHASDJKFHASJKHF |
    ASDFHASGDKFASDJGHFASDFJKSDGFJKAGSDJ |
    If the Column 1 is full with the fields in the page it should start filling the column 2 which is also in the same page.
    If the Column 2 is also full then only it should move to the next page and should continue the same scenario.
    Please suggest a better way to do this in the Adobe Output Designer.
    Thanks and regards,
    Gurunath V.
    E-Mail: [email protected]
    P.S: Please also mail to my e-mail ID.

    Hi Gurunath, if you steel need a solution on this problem, I think this could help:
    1- place two fields on the form (JF01, JF02), one under each other.
    2- Make two subform with them (Sline1, Sline2)
    3- Make the field JF02 expand on same subform.
    4- Modify the preamble in this way:
    ^define group:D_line1 \field$POSITION\reserve"0.333",in\subformSline1.\positionsave,"first_line"
    ^define group:JF01!OnOverflow \groupG_Sline2.\fieldJF02.
    ^define group:G_Sline2!OnBOF \positionrestore,"first_line"\positionright,"3.65",in
    In the data file put all the text in JF01.
    -The first line say:
    When JF01 is called, save it's y position (\positionsave,"first_line")
    -The second line means:
    when the text overflow JF01 put it in JF02.
    (cause JF02 overflow on itself all the remaining data is overflowed in JF02)
    -The third line means:
    if JF02 arrives at the end of the page (OnBOF), restore the saved position ( \positionrestore,"first_line") and move to the right of "3,65" inches (\positionright,"3.65",in).
    In other words, when JF02 arrive at the and of the age, the next field JF02 is positioned at the same height of JF01 and is shifted on the right
    Take care that in this way JF02 cannot anymore go o a new page.
    Hope this help.
    Andrea

  • How to make audio of many clips the same level?

    I have a sequence containing many interview clips which all seem to be at different sound levels. Is there any easy way to make all of these the same level? The only way I know how to adjust the level is using the volume level control under audio effects for a particular clip.
    Also i'm wondering whether there is a way to filter out background noise?
    Many Thanks

    If the mic was a different distance etc then you'll never be able to make them all sound exactly the same tone.  But For the background noise I'd really recommend the effects inside premiere I've already mentioned I have found that 90 percent of the time I don't ever need to use audition for interview type edits. I'm able to get by using a denioser and highpass to remove "most background" noises. However I don't film outside very often most of my background noise problems are usaully from too much gain or AC noise. So your scenario might be different than mine for this reason.
    The benifit of the compressor is that it can make your audio stay exactly within whatever range you want without having to keyframe stuff. With the clips you have desribed you'll want to use a different dynamics filter for each group. So put each group on it's own audio track. So group one that you have desribed would go on track 1 since all those clips have similar range etc. Basically with group 1 I wouldn't compress it at all. I'd leave it alone except for lowering it's audio by -2 on the audio track 1. That way all the clips in the first group will be lowered by 2db if you put them all on track 1. You won't have to worry about it's slightly too high peaks as long as you set a dynamics effect with nothing enabled on it besides the limiter on the master track and have the limiter set to -6 since you said that's what you need your max peak to be. If you do this then everything in group one will be handled as far as levels go. (as far as db goes anyways) However if you want to have other things in the project to be higher than -6 then just simply put the -6 limiter turned on track 1 then instead of the master track.
    Then for the second group I wouldn't touch them at all I'd put them on track 2 and just let the limter on the master track keep it's peaks from going to high since it's basically already where you want it. Then if the clips have a hissing noise or something you can add a denoiser and set the reduction to -10 and adjust from there.
    Then for your final set you are desribing -22 to -12 for these I'd put them on track 3 and use a dynamics filter and keep everything disabled except for the compressor itself. For this I'd start with my ratio at 2 and put my threshold at -20 and set my makeup gain at 9 or so. Then from there if it looks like it's way to loud then try lowering the gain and if it looks like its lows are too quite then add the gain back but if it appears to be to loud then simply raise your ratio or lower the threeshold a bit. But I think the settings I have listed will get your to your desired range.
    For the clips that are hitting -0 a lot if they are distorting then you really can't fix distortion but if they are hitting 0 and aren't distorting then you can just simply lower the volume for these you don't need to add any gain since they are already too loud anyways so if you just lower them by like -6 it should get them right within the range you mentioned.
    As far as background noise such as hissing you'll really want to just use Premiere's denoiser effect. Start off by setting the reduction to like -10 and adjust from there. Then for cars passing etc try out a highpass filter and set it to 120 to start and move up there if needed. It will take the bass out of the peoples voices but it won't sound bad unless you start going over 160-170 range it also depends on if the person has a deep voice to begin with or not too though.

Maybe you are looking for

  • CheckBox in customized cell renderer - Urgent

    i need to customize the cell renderer for a table for one of the columns. One of the column is Boolean type and i want it the way it comes in a default cell renderer. if i mention the renderer for the column as "checkbox" - it gives me the checkbox "

  • Lost letters in created PDF

    I have just created a manual from word and inserted quite a few documents throughout then added a number of links. When I look back through to check something I notice that letters like F, Q, M are missing from words and the decimal point between num

  • Graphic Converter insisting on opening WMV files

    I'm trying to access wmv files, but even after downloading the Windows Media Player and Stuffit, my Graphic Converter keeps trying to open the files, and it CAN'T!! I just keep getting boxes of codes appearing on my screen. Do I need to get rid of Gr

  • E mailing multiple photos

    Hello, I presume this will be an easy one for someone. How do I e mail multiple photos on the same e mail form iphoto. If I create a new mail from mac mail and try to attach a photograph I don't seem to be able to browse my iphoto library. If I compo

  • Crazy object size dimensions - what's up with this?

    The image says it all, transform palette in the red oval. 48pt high is correct, 16,383 wide is delusional. There are no stray points or other bits selected. Why does Illustrator believe these are the object's dimensions? Is this whack figure even imp