Prevent losing + sign on JTree

I have a jtree which is created on 'As needed' basis. i.e, when the user expands the particular node, I make a database call in TreeWillExpandListener and add the children to their parent.
Say, the user has clciked on the + sign besides the node and at that point of time the database is down and I get an exception. when I get the exception, the jtree assumes that there are no children and removes the +. Is it possible to prevent '+' being removed when I get exception from backend?
It would be great if someone has a quick fix for this cos I need this problem to be fixed fast.
Thanks a loot

I haven't tried but how is this:DefaultTreeModel model = (DefaultTreeModel) yourTree.getModel();
model.setAsksAllowsChildren(true);

Similar Messages

  • Hello, All my sonds are deleted from my laptop and from Itunes. If i synch my iphone to my itunes all my music will go. How do i prevent losing all my music?

    Hello, All my sonds are deleted from my laptop and from Itunes. If i synch my iphone to my itunes all my music will go. How do i prevent losing all my music?

    There's some third party applications available for recovering content off an iPod, iPhone or iPad. The following article is pretty old (2008) so it would be best to reality-check the capabilities and availability of the various listed items prior to opting for a particular product:
    http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/P2

  • How do I prevent losing every thing in my inbox when MS Outlook opens

    Every time MS outlook opens, my Firefox in box is emptied, read and unread.
    My grandchildren (in their 20's) use my computer, but have their own accounts and use different browsers.

    Hi,
    Firefox and other browsers can only display email and web pages. The actual mail and the settings are all stored at and are received from the provider's end. You may have to change the settings to store a copy in the web mail (i.e. at the provider's end) even after being downloaded. I think it would be helpful to contact the provider or the provider's official support forums.

  • How do I prevent losing quality from HDV FCP 5 project to SD DVD?

    Sorry to ask, but I'm new to DVDSP and not sure if I'm going about it the right way. I'm planning on using compressor to export my 30 minute HDV video from FCP 5, but wasn't sure of the best possible setting so I lose the least quality when making a SD DVD. I understand that loss will obviously occur, but does anyone have a preferred method?
    Thanks in advance.
    dual 1.25 G4 MDD 1gb superdrive   Mac OS X (10.4.7)  

    Export the movie as uncompressed (not HDV) from FCP prior to encoding, it provided me with alot better results then exporting HDV then encoding that in any of my encoders I tried.
    Also if you scale the exported movie in QT To 1/2 size then exported that it seemed to help speed up enncoding time/quality. (Scaling under 1/2 in QT gave poor results)
    And take a look here where there are some details discussions of using HDV
    http://discussions.apple.com/thread.jspa?messageID=2744312&#2744312
    http://discussions.apple.com/thread.jspa?messageID=2679204&#2679204

  • How do I prevent losing work when down saving from CC to CS6?

    I'm working on a design and I have CC. I need to share it with a coworker, but they only have CS6. Will we have any problems working on the design on both platforms?

    Mylenium wrote:
    All other stuff will simply be expanded like text that has been mangled with the touch type tool converted to outlines and that...
    no, text and the touch type tool is no problem at all.
    But pattern brushes will be expanded, unless you create the corner tiles the old way or delete the auto-corner-tiles

  • Prevent losing data when closing browser

    Is there any possibility to catch an event when user tries to close the browser window?
    I would like warn the user to save data before closing the form window.

    Hi, Dan!
    I tried to use your example in my code, but my page loads with error. I copied the jquery script to my /i location on server and included the script tag into the page template between the head tags. On the page I also copied the script from your example into page html header.
    When displaying the page, i get a "Done, but with errors on page" message, with following details:
    Line 21, char 4, Error: object expected, Code 0
    I tried the latest jquery scpript available (jquery-1.3.1.min.js) and also the one from your example (jquery-1.3.1.min.js)
    Can you give any tip, please.

  • How do I get my old iPhone 4g to work with a new computer without losing all data on it?

    I bought a new MacBook Pro with Retna display to replace a dead gateway running Windows XP. My iPhone 4 was always connected to the old gateway and I synced to the iTunes on it. Now I have my new MacBook up and running and have logged into its new iTunes and synced my new iTunes to my Apple ID and to the apple store. Everything looks good in the new iTunes. Problem is now when I connect my old iPhone to the new computer it's iTunes warns of my iPhone data about to be erased. How can I prevent losing all my stuff. I don't want to lose all my text messages on the iPhone. What can I do to prevent losing everything from my phone?

    Ok thanks again for your reply, link to Apple article, and concern for my questions. That is very refreshing to have people willing to share their knowledge like you.
    So why do you suppose we get this awful warning when we connect our iPhone to a new computer that all data on the phone will be deleted if we continue? Furthermore why don't we get a further explanation as to what to do sat that point?
    I can not stand warnings like this that make me feel like I have done something wrong, that somehow I may be violating my terms of service. All that legalize is not customer friendly. Apple has always impressed my more that any company with excellent personal customer service but this is not good the way they scare you when you honestly are trying to move to a new computer with your old iPhone.

  • Remove Enter Sign in External Table

    Dear Gurus,
    I have external table with show 'enter sign'.
    I thought it was blank space but not.
    How to remove it?since function TRIM can't remove it.
    Records delimited by newline -> is that any syntax to prevent enter sign appear?
    Thank you
    Regards
    JOE

    This seems to be a TOAD issue - pl ask in the TOAD forums - http://toadworld.com/Discussions/tabid/824/Default.aspx
    HTH
    Srini

  • My 8 year old has forgotten his ipad passcode. How can I unlock it without losing any stored content?

    Please can anyone help my 8 year old has changed the passcode on iPad and has forgotten it, can I unlock it without losing any of his apps, photos, etc? I think we have iCloud backup? The iPad has never been backed up to a computer, sorry I am so un technical. Many thanks

    You can't prevent losing all content.
    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
    1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    2. iOS- Forgotten passcode or device disabled after entering wrong passcode
    3. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    4. iOS- Understanding passcodes
    5. What to Do If You've Forgotten Your iPhone's Passcode
    6. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
    7. Restoring iPod touch after forgotten passcode
    8. RecBoot: Easy Way to Put iPhone into Recovery Mode - if all else fails.
    Forgotten Restrictions Passcode Help
    1. How to Recover Forgotten iPhone, iPad Restrictions Passcode
        If this method does not work, then you will need to fully Restore your
        device as New

  • Adobe Premiere Elements 9 Won't let me sign into Youtube.

    I got Adobe Premiere Elements 9 about a year ago from my brother's college and suddenly it won't let me sign into Youtube on 1 account. When I go to share>online>Youtube it takes me to a sign in and all of my logins work except 1. The password hasn't been changed and no one has been on my account but it says incorrect username and password so it won't let me sign in. I'm pretty sure this has only been happening since APE 10 came out.

    I just got this email from Google. The troubleshooting steps only apply to a mail client. I'm pretty sure the unauthorised attempt, which contained the correct user naem and password, was Premiere Elements.  I think Google has made me a victim of its ubiquity. As though managing passwrods were not already difficult enough.
    Someone recently tried to use an application to sign in to your Google Account, [email protected] We prevented the sign-in attempt in case this was a hijacker trying to access your account. Please review the details of the sign-in attempt:
    Wednesday, 20 June 2012 22:27:06 GMT
    IP Address: 76.74.170.7 (adobe.com)
    Location: Unknown Location
    If you do not recognise this sign-in attempt, someone else might be trying to access your account. You should sign in to your account and reset your password immediately. Find out how at http://support.google.com/accounts?p=reset_pw
    If this was you and you want to give this application access to your account, complete the troubleshooting steps listed at http://support.google.com/mail?p=client_login
    Sincerely,
    The Google Accounts Team

  • Adobe elements 13 won't get past sign in after installer is done ...without sign in, no completion of installation

    Download of elements 13 --unable to complete installation as sign in with Adobe app manager just hangs up and won't connect to Adobe

    Jcarternm for information on how to resolve the connection error preventing the sign in please see Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html.

  • No app store sign in, re-install?

    My iteration of the Mac App store will not allow me to sign in.
    I litterally do not get a sign in dialog of any type.
    I'm wondering if there is a way to re-install the app store module to see if that restores sign in ability.

    Hi ..
    Yes, installing the OS X Lion Update 10.7.3 (Client Combo) will reinstall the App Store for you.
    Restart your Mac after the combo is installed.
    If that didn't help, some third party apps like Little Snitch can prevent the Sign In window from appearing >  Mac App Store: Sign in sheet does not appear, or does not accept typed text

  • Delete/prevent keyloggers:  I need to block highly IT sophisticated person(s) highly motivated to know my movements, plans, communication from accessing my communications.  Can I avoid reinstalling the OS?  That would not block future intrusions.

    I have exchanged email with this person, so my IPS is known?  There is no visible device attached to my laptop.  A keylogger could be installed electronically? 
    I have not given my password or key to my home, but there might have been entry/direct access to my laptop (any place can be entered if there is sufficient skill and motivation).  I cannot lock up my laptop every time I leave home, but I always log out before leaving. 
    It seems that something like Zemantec would be ideal, but apparently it is only available for Windows.  Is there something suitable for Mac?  There are keylogger apps specifically for Mac, so what are the anti keylogger apps?  I have spent hours searching this matter, but reviews conflict, and product information is not entirely clear.
    What would be the advantage of installing OS X.8?  I don't understand Apple's explanation of the advantages of Gatekeeper.  I would reinstall the OS or upgrade the OS at this time only if there were considerable protection from keyloggers. 
    I am sending this from a different computer that I have access to only twice per week, so I do not want to discuss what makes me think that someone has installed a keylogger . . . . and I am not looking for reassurances that I should not worry about it.  I am looking for factual information, so I can make a decision based on what is possible/feasible, including the possibility that there is nothing I can do about it, or that I should not send some kinds of information from my laptop (extremely inconvenient!). 
    I hope an IT sophisticate who is patient with an IT illiterate can help.

    There are essentially three ways that a malicious hacker can "get into" your system (whether we're talking about keyloggers, malware, whatever)
    - physical access
    - persuading you to install software which gives them access (this could be disguised as something else)
    - obtaining remote access by "hacking in through the internet"
    Unless you have a file-sharing tunnel set up through your router, and your computer's file sharing is turned on, and you have no password (all these things seem unlikely based on your email), the third option is so unlikely that you can effectively ignore it. Having said that, if you have not checked those things recently, you should do so.  Post back if you want help figuring out how to do that.
    The latest versions of OS X are always recommended for people who are concerned with security. Not only because of the major features like Gatekeeper (prevents non-signed code from running, which effectively stops you accidentally running a malicious script) and XProtect (built in malware-checking), but because of the other security patches to the operating system and compatibility with third-party components like Java and Flash, which actually tend to have more known vulnerabilities.
    Wiping the hard drive and reinstalling OS X, preferably updating to the latest version, turning on FileVault (the current version requires OS X 10.7 or later), seetting a strong login password, and setting a firmware password, would go a long way to setting a good level of security on your machine. Write down the passwords and hide them somewhere that you'll remember, or keep them on your person if you feel secure doing that.
    Having said all that, if you don't trust the physical security of your house, then all this is largely academic.
    Matt

  • YoU tuBe SiGn In

    hi im having trouble signing in to you tube. it states that  i need to change my browser settings. This has just started to do this. Any suggestions.   I hope to hear from someone one soon  Thanks. Tia

    mh1983 wrote:
    Hi bs, Wow, it'd be great if you discovered the fix for issues with Youtube authentication on the PB. Can you provide a specific pointer to which security setting you're referring to? I had a poke around but couldn't find what you're talking about. Thanks in advance! Would be great to be able to use the native app again rather than a slow sideload.I have just signed into my YouTube account using the PlayBook native application (the one with the Black and White icon) I cannot view my Channel, my Subscriptions etc but I can view videos without the issues of viewing them in the browser etc. I (presumably like most) have been forced to sign into YouTube using a GMail account so this may not be relavant for everyone but I will paste below some info which I hope will help. When I first attempted to sign in on the PlayBook YouTube app I received the mail below: (edited) Someone recently used your password to try to sign in to your Google Account XXXXX This person was using an application such as an email client or mobile device.
    We prevented the sign-in attempt in case this was a hijacker trying to access your account. Please review the details of the sign-in attempt: XXXXX If you do not recognize this sign-in attempt, someone else might be trying to access your account. You should sign in to your account and reset your password immediately If this was you, and you are having trouble accessing your account, complete the troubleshooting steps listed at http://support.google.com/mail?p=client_login                    This is the link shown in the above mail (just in case it did not work first time https://support.google.com/mail/answer/14257?p=client_login&rd=1 Click on it and go to the section containing the text: Your mail app might not support the latest security standards. Learn how to allow less secure apps access to your account. Click on the link ''allow less secure apps access'' which will take you here https://support.google.com/accounts/answer/6010255 Under the heading Access your Account click on the link highlighted and titled ''Allow Less Secure Apps'' That will take you here https://www.google.com/settings/security/lesssecureapps You should then be presented with this option: Less secure apps Some devices and apps use insecure sign-in technology to access your data.Choosing Disable prevents these less secure devices and apps from accessing your Google Account.Choosing Enable increases your chances of unauthorized account access but allows you to continue using these less secure devices and apps. Learn moreAccess for less secure appsDisableEnable Once I clicked to enable I was able to log into my YouTube account on the PlayBook's YouTube App. Bear in mind this was done on a PC and whilst logged into my GMail account. Apologise if the above is a bit confusing but it shows that it is possible. Annoying, but given that the PlayBook YouTube app is a few years old and security is forever advancing it is no surprise that Google have put these measures in place. Hope it helps. Good Luck.   PS: I stumbled upon this whilst setting up a GMail account on an old Torch 9800 which is how I inadvertently discovered the fix for the YouTube app.

  • Nokia Mail and Nokia Chat powered by Yahoo will be...

    Hi all,
    We will be discontinuing Nokia Mail and Nokia Chat on 9 March, 2015 and if you are using such service you will need to take action to save existing emails.  Beginning 9 March, 2015, you will no longer be able to sign in, access your existing emails, or send and receive new messages using your Nokia Mail or Nokia Chat address.  To saveexisting emails, you must copy your Nokia Mail to another email service or to your computer before 9 March, 2015.  You can save your Nokia Mail to an IMAP or POP-enabled webmail service or an app on your computer andcan find out more about how to do this here: http://nokiamail.com/bye
    If you use your Nokia Mail or Nokia Chat address to sign in to Yahoo services such as Flickr, you will no longer be able to do so after March 9, 2015 and all your data and content will be deleted. If you’re a Flickr user, follow this link to move your photos to a new Flickr account in order to prevent losing your photos: https://help.yahoo.com/kb/flickr/SLN7315.html?impressions=true
    If you have been using Nokia Mail as your contact email for other apps or services, we advise you to update your profile on these services to use an alternative email address.  We recommend that you let your friends and family know about your new email address as well.
    We will let you know of any further guidance on how you can save your existing messages to another service, or an app on your device or computer.
    Thank you,
    Nokia Mail and Nokia Chat Team

    IMAP mail accounts have a remote view of the emails on the server.
    You 'subscribe' to see the contents of server folders.
    Only the headers are downloaded and when you select an email the folder is copied to a temp cache to facilitate quicker access to that folder.
    These emails are not stored on your computer.
    If you choose to 'synchronize' folders, then a copy of the folder is downloaded to your thunderbird Profile folder.
    This means you can view those emails when in offline mode. These emails are on your computer, BUT as these folders are set to synchronize, it means that folder can get updated by the server, if emails are removed off the server and you synch, you will see all of those emails disappear from Thunderbird to synch and match the server.
    So the best method is to synchronize the folder to get emails onto your computer, then go into 'offline' mode so that Thunderbird cannot connect with server.
    Then move those emails into suitable folders in Local Folders.
    The 'Local Folder' folders will be stored on your computer and will not be efected by the IMAP mail account even when you later select to remove it.
    You can use this addon to create a backup of Local Folder folders and emails and also synchronised folders in offline mode.
    * https://freeshell.de//~kaosmos/mboximport-en.html
    Right click on folder in Local Folders (or a synchronized folder in offline mode)
    select 'Importexporttool'
    then you have a selection of methods available.
    see image:

Maybe you are looking for

  • Application Keyboard Shortcuts not working in Text Edit

    Under System Preferences (Keyboard & Mouse -> Keyboard Shortcuts -> Application Keyboard Shortcuts -> All Applications), I changed some basic keyboard shortcuts (Copy, Paste, etc.) to use the ctrl key instead of the command key. These shortcuts seem

  • Hp photosmart plus b210 wont print on dark paper

    If I use dark paper the printer will just spit it out and print on the next white page.  Is there a setting to allow printing on dark paper? This question was solved. View Solution.

  • Web service security in PI

    Mine is PROXY to SOAP asynchronous. PI consumes the service, my requirement is when PI calls the service I need to pass web service security in SOAP header. so that at receiver statem they can validate the user using these. When i am calling webservi

  • TS1372 ipod classic wont restore or reset

    ipod classic wont restore or reset error code 1415,,1417,

  • Check for Map Updates

    I Bought Nokia N78 with 90 days free license At the First Month Everything is Alright but Suddenly... 'Check for Map Updates' Window is Appeared. I deleted Cities But It's the same thing... " Can I disable this Window without Deleting Maps Applicatio