JTree rendering failure : big empy space displayed

Hello,
I have a problem using a JTree with jdk 1.5 update 10. I could not find anything in the bug database that seemed to link to this problem.
I have created a JTree that displays the content of a directory under a root node (displayed). I have created my own renderer to customize the labels and i use a TreeModel to add and remove nodes.
The problem (possibly a known bug): sometimes (it actually seems to be completely random), the Ttree "fails" rendering one of the label, resulting in a big white space instead of the usual label (icon + file name). Other labels in the tree are displayed correctly. The "big white label" can be selected and correctly links to the file it represents (information about the file is displayed correctly). All in all, everything works perfectly fine except one item is displayed as a big empty label.
Is there any chance this could be a java bug ? If not is there any way i could know what causes this failure ?
Regards.
NB: some friend of mine that is working on a different project has exactly the same problem and can't find a solution either.

I am having the identical problem and its driving me crazy. This started happening to me after I installed new hard drives and reinstalled the OS. I then transfered all the old settings from the old drive. Everything else seems to work perfectly. If you get anywhere with this let me know.
Hy
My goal: To import some pictures into iMovie. Maby
add ken burns efects to them, add a bit of narration
and some music, edit everything and export.
The problem: Let say I use the following method: i
click Media tab, then i click photos, then i select
the photo, and in the Photo Settings click apply.
iMovie then imports the photo, puts it in the
timeline and then the dark red bar bellow apears (the
one that would means rendering). The problem is,
there is no light red getting over it (that would
indicate rendering in progress). It's the same if i
click and drag a photo into the clip browser (only
the dark red is displayed on the bottom of the
thumbnail). If i try to quit iMovie it warns me that
rendering is in progress.
It doesn't matter how big a photo is (i tried
300x200px, 800x500px, 1500x1000px, 3000x2000px) or
what format (jpg, tiff, png).
I tried restarting the application and the sistem. I
created another user to try if anything changes. I
erased the preferences. I even tried copying the
whole application from frend's computer (the same
version and all). The dark red bar doesn't start to
fill red (i checked in the terminal how much
processor does it eat and it's on 7%, so it probablly
means it's doing nothing)
I have a 2Ghz, 2GB of ram Macbook 13" Intel core duo.
I have 67 GB of space left (format: Mac-os extended -
journaled), running OS-X 10.4.8 and updated to the
latest updates. iMovie version is 6.0.3 (267.2).
What else is there to do? Would reinstalling the
whole sistem help and is there a way to keep all of
my preferences and mail accounts and contacts, … in
case i have to do that?
thx in advance
Peter
Macbook 13"  
Mac OS X (10.4.8)  

Similar Messages

  • A document page opens that is too big for the display and runs off the end of the monitor

    How do you fix a problem where document pages open that are too big for the display and runs off the end of the monitor? The borders are off the monitor so there is no window edge to grab and adjust.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Failure messages to be displayed in BAM and ESB Portal

    Hi,
    As per requirement, I need to display all resumable/Non-resumable messages in both BAM and ESB Portals.for resumable messages,admin will resubmit the messages from ESB Portal.Please let me know how to achieve this requirement.

    I have a project requirement, where I have to show all failure messages(resumable\non-resumable) in BAM and ESB portal.
    Order Creation Process:
    1. Developed Main Orchestration and exposed as a webservice for front end client. There are sub -process orchestration involved
    2.Front end client will consume Main Orchestration Service and submit the data
    3.There are multiple sub -process orchestration are involved after receving the data from Main Orchestration
    4.while executing Order Process, if any error occurs in any of the orchestration then those failure's to be displayed in BAM and ESB Management Portal
    5. Based on the Order ID  End User will need to search failure message details  from BAM
    6. The failure message will be resubmit from ESB Management Portal for further process.
    Please let me know your thoughts on how to provide the solution for above approach

  • Why don't my library images show up in the develop mode?  There is a big blue space with an X through it.

    Why don't my library images show up in the develop module?  There is a big blue space with an X through it.

    Disable GPU acceleration in your Lightroom preferences.

  • Setting a JTree renderer breaks the focus traversal order

    Hello,
    I am not sure what's wrong, but when I set a customize JTree renderer it breaks the focus traversal order of my UI. Can someone tell me what's wrong and also how to prevent it from changing the order of my components?
    For instance, if I have component order 1, 2, 3, 4, 5 to begin with and after I call JTree.setCellRenderer(new SomeRenderer()), the order would change to something like this 1, 2, 4, 5, 3
    To give you an overview of what I am creating, I am customizing a UI that will be plug into JFileChooser to replace the default UI. I know I can create my own FocusTraversalPolicy, but the thing is that I don't know some of my components ahead of time. As long as I can prevent the order change, I think it would be fixed.
    Regards,
    Soot

    Try creating a Short, Self-Contained, Compileable, Executable
    program which has this problem. Right now it would take a
    mind-reader to solve your problem.

  • Restore Failure - not enough space!

    Hi all,
    I just used Disk Utility to make a backup of a MBA (65GB) onto a 500GB external drive (Restore from internal HDD to external HDD). I then reformatted the internal hard disk and proceeded to restore my backup (external HDD to internal HDD). I soon received an error message stating "Restore Failure - not enough space". I guess that means Disk Utility backups are a one-way operation, since you can't restore from a larger drive to a smaller one? Is there something I am overlooking? I ended up using Carbon Copy Cloner to do the job, but I'm wondering how (if?) restoring from a larger backup drive is possible using Disk Utility?

    Another way of dealing with the problem would be to install OS X and then transfer the data in Setup Assistant.

  • Desktop is too big for the display

    Some how this morning while on my Mac a display setting or something was changed. If your on the desktop, with all windows closed, the background, icons, dock.....everything is too big for the display. If you move the cursor all the way to left it will 'slide' the desktop in that direction. Move it all the way to the right edge of the display and it 'slides' the desktop to the right until you reach the edge. Also the same for the up or down directions.
    At first I thought it had something to do with the multi-touch track pad, but I don't think so. I have checked all the display settings I can think of and have tried re-sizing the desktop to all other settings in an attempt to fix the problem. Additionally I have restarted/shutdown the computer totally to see if it would fix the issue. No success. Please help.
    Thx,
    Audioboy

    I had the same problem, but the zoom was already off. So I went under "options" and unchecked "use scroll wheel with modifier keys to zoom," and that took care of it.
    Thought that might help some others who find this thread.

  • Pages and numbers will not take dictation and iOS 8. Very frustrating screen goes blank no keypad. I have to close the document In order to get rid of the big blank space where the keyboard should ber

    Pages and Numbers will not take dictation in iOS 8 on my iPad 4 and iPad mini.
    Very frustrating -screen goes blank where keyboard should be when I touch the microphone- no keypad & dictation does not record. I have to close the document In order to get rid of the big blank space where the keyboard should be. When is this going to be fixed?it's making recordkeeping Pages and Numbers,  which I use heavily, almost impossible.
    also dictation in other locations such as Mail put capitals in the middle of sentences and sometimes don't capitalize first letter in a sentence (see first letter of this sentence!) and other instances like the months of the year or the days of the week. Is anyone else having these problems?

    Pages and Numbers will not take dictation in iOS 8 on my iPad 4 and iPad mini.
    Very frustrating -screen goes blank where keyboard should be when I touch the microphone- no keypad & dictation does not record. I have to close the document In order to get rid of the big blank space where the keyboard should be. When is this going to be fixed?it's making recordkeeping Pages and Numbers,  which I use heavily, almost impossible.
    also dictation in other locations such as Mail put capitals in the middle of sentences and sometimes don't capitalize first letter in a sentence (see first letter of this sentence!) and other instances like the months of the year or the days of the week. Is anyone else having these problems?

  • JTree rendering bug

    A bug exists with JTree rendering where a huge treenode is rendered for no apparent reason. It happens infrequently, but I've noticed that it's happening more frequently since I started using jdk1.4.2.
    This seems to be the only place I can find mention of it : http://forum.java.sun.com/thread.jsp?forum=57&thread=217494
    One of the solutions mentioned was to setRowHeight() on the tree. I don't like it, but it seems to be the only way around the bug at present.
    Does anyone know of any potential problems which might arise from explicitly setting the row height on a JTree?

    I basically need to be able to edit the rendered JTable as normal.

  • What's that big space display that's suddenly appeared

    Ive just added an external hardrive to my iMac. All fine. But when I click on time machine - instead of opening up from the dock (its ok if I open from system preferences) the screen turns into this huge space picture with my file windows disappearing to infinity (very pretty) and a big bar across the bottom that says Cancel / Today Now / Restore. What's that about and what does it have to do with backing up my files? I cant see anything obviously backing up anything ... just this big picture.

    That "big space" means you've entered Time Machine in case you want to restore something. Each of those windows (as they go back) are each of your incremental backups. If you look at the bottom of the screen, the first one will show "now". When you click on a window farther back, "now" will change to the date & time of that backup.
    So you guessed it... The icon in the Preferences Pane is for setting TM's preferences. The Dock icon is the Time Machine app itself. If you want more options when clicking on the TM icon (in the Dock), right-click or CTRL-click on it. This'll let you "backup now", open preferences, etc.
    HTH

  • Window repaint failure after switching spaces

    Hey there,
    i'm having a very strange problem with Spaces on my Macbook Pro Mid 2010. Sometimes when i switch between spaces the window displayed in the space i switched to is not correclty repainted. This only happens when i use the spaces overview and choose a space in the grid. When i switch via CTRL+cursor everything works just fine.
    In the attached screenshot you can see the problem i am talking about. Here i was in the space Textmate is in, switched to spaces overview and reselected the Textmate space.
    Did any of you have the same problem? Any suggestions how to fix it? Or is it a hardware failure and my graphics card is messed up once again?
    Thanks in advance

    Humm, yeah, that might be the case! Chrome is running almost all the time, so that could be the case Chrome is causing these glitches.
    I will check that out and use Firefox in the meantime. Chrome became quite buggy since the last update, it often has trouble rendering pages properly, the whole process hangs for a few seconds... so this seems quite reasonable!

  • JTree rendering extra node and leaf icons at the end of the label

    Hi,
    Does anyone know how to add an icon to a JTree node or leaf in such a way that it will be displayed behind the text label?
    In an example:
    - rootnode
    - childnode [icon]
    |- leaf
    + childnode [icon]
    Where -/+ are the default (un)collapse icons
    I'd like to apply this to show additional information by using icons with respect to a node.
    I couldn't find anything on the net besides changing the default open/close node icons, yet that's not what I'm aiming for here.

    use this one.I think it will help u.Gd lk
    tree =new JTree(root);
    DefaultTreeCellRenderer renderer =(DefaultTreeCellRenderer)tree.getCellRenderer();
    renderer.setLeafIcon(new ImageIcon(getClass().getResource("leafimages/3.gif")));
    renderer.setClosedIcon(new ImageIcon(getClass().getResource("leafimages/1.gif")));
    renderer.setOpenIcon(new ImageIcon(getClass().getResource("leafimages/2.gif")));
    renderer.setBackgroundNonSelectionColor(new Color(15,85,134));
    renderer.setBackgroundSelectionColor(Color.YELLOW);
    renderer.setTextNonSelectionColor(new Color(217,227,227));
    renderer.setTextSelectionColor(Color.RED);
    renderer.setHorizontalTextPosition(SwingConstants.LEADING);
    renderer.setHorizontalAlignment(SwingConstants.CENTER);
    tree.setFont(new Font("Tahoma",1,12));
    tree.setBackground(new Color(15,85,134));

  • JTree Renderer/Editor

    I have a custom renderer for my JTree that uses a JPanel with multiple fields within it. I am using the same JPanel for editing as well within a custom editor that extends the DefaultCellEditor. When I select to edit, it edits okay. When I focus away (click elsewhere), the cancelCellEditing() method gets called. The display then shows the original values (before editing). If I select the cell for editing again, it shows the previously "edited" values.
    It looks like the editor values are not getting transferred back to the renderer. Any ideas?
    Gil

    Does it work when you press ENTER before clicking out of the text field?

  • Failure captions don't display in Edit View.

    I used to be able to see my halored failure captions when in Edit View, but suddenly, they no longer display. If I preview my project and see that the failure caption needs to be changed in some way (e.g., the size needs to be changed so that the text wraps more appropriately, the caption needs to be moved closer to the object it is supposed to be pointing to), the only way I can see where the failure caption is is to click in the vicinity of where I think it is so the handles are revealed or click the button it is associated with in the timeline. Neither the text or the halored shape/color displays. I have to right click on the selection and choose Edit Text to see the text, but when I try to resize the shape, the text disappears again. I can move the caption to where I think it should be, but I can't tell if I've put it in the right place until I preview the project again because I can't see it on the Edit View screen.

    I found the answer to my own question! The image file was covering the failure captions. When I moved the image file to the bottom of the Timeline, I was able to see the failure captions.

  • JTree - renderer

    When i expand a jtree node, i am populating the content in runtime. I use model.insertNodeInto() method to insert the nodes. I have a dummy node in the first position so that i can get a +, so that i can expand the jtree node. I am changing the first dummy node to a node i want using model.valueForPathChanged() method. Everything works fine. I have a renderer attached. model.insertNodeInto() calls the getTreeCellRendererComponent() method successfully. But model.valueForPathChanged() is not calling the getTreeCellRendererComponent() by default.
    My questions are:
    1. Can i call the renderer forcefully for valueForPathChanged? If so, how?
    2. Is there a easy way to get + for a node, even though the node has no child? i.e a leaf should have + , so that i can expand.
    3. I tried deleting the first node, and insert a new node in first position. But removeNodeFromParent is calling model.reload() which is causing collapse of my node.

    Best thing to do is implementing your own tree mobel
    or tree node.
    It has a method that should retun the number of
    childs a node has. When it return a value greater
    than zero you will get the + sign.I am implementing my own model. but can you help with the exact method to overload and return a value greater than 0. ?
    Thanks.

Maybe you are looking for

  • Acrobat won't install updates

    I have installed Adobe creative suite 3 and adobe acrobat 9 standard. Every time acrobat starts it tells me updates are available do you wish to install. I say yes and it tells me that it must shut down acrobat to do this. Do you want to continue or

  • Xmltype.createxml not working after upgrading to 11202 from 10203

    Hi, i was referred here from Java Database Connectivity (JDBC) forum. the link to the original post: using XML with websphere jdbc adapter 2.6 on 11.2.0.2 again, the adapter is using the function xmltype.createxml (and there it uses xmltype_lib) and

  • IOS4 Upgrade: Complete disaster

    I am absolutely furious! After over 4 hours of mucking about, I've managed to upgrade to iOS4. However, ALL my app and phone settings have been deleted including ALL my text message history. I'm gutted! The first attempt to upgrade ended in an error

  • Why can't I view the new iOS7 to update my ipod?

    My ipod won't let me update it to the new iOS 7. I want the update so much, it seems sooooo coool. PLEASE HELP ME!!!!!!!!!!!!

  • Adobe bridge issue

    how do i turn off abode bridge my install gets interupted