Invisible controls appear as white boxes

I'm currently writing a swing applet that displays a JTree with custom drawn labels and checkboxes on the nodes and uses the Windows Look & Feel. It appears when I set IsVisible(false) on either checkbox or label that they display an empty white box. This wouldn't be a problem if my background was white, which it's not. I've tried setting the background color on everything (RootPane, ContentPane, JScrollPane, the tree, the checkbox, the label ) to the same color but wih no success. Is there something I'm overlooking?

Hi,
One thing you haven't mentioned about changing background colors is your CellRenderer. That is the object that performs the drawing of your custom nodes. I would start with that and see what you can do. Maybe you can override setVisible in that class and change your renderer to just draw an empty rectangle using the background color instead of your custom component. You might need to do this because the paint might even be getting called because of the setVisible flag being false.
Regards,
Manfred.

Similar Messages

  • Pngs flicker and appear as white boxes when scrolling down page in Chrome 37.0.2062.120 m

    Hello,
    I have noticed that pngs flicker and appear as white boxes when scrolling down the page in Chrome 37.0.2062.120 m in windows only. Chrome on the mac is fine and this issue doesn't occur on the windows version of chrome canary. It would appear that the pngs are reloading when I scroll.
    There is alot going on in this animation, I am going to sprite most of these pngs to reduce sever requests which may help, but im certain this isnt the root cause of this issue.
    Has anyone come across this issue before?
    Please link to the animation in question here.
    Any advice much appreciated. http://new.oliverrice.co.uk/oliverrice.co.uk.html

    So I have created a sprite for the majority of the png's that form my symbols. This has reduced the total number of sever image requests from over 70 to 5. this has worked really well and feel adobe could add a feature that creates one sprite from all the images within the library. The animation seems to run a lot faster than before and loads much quicker.
    I am however still experiencing the problem mentioned above in chrome 37.0.2062.120 m.
    The animation also runs slowly on the I pad and I phone which I guess is down to memory usage? The animation wasnt intended for the iphone, but it would be nice to see it run on the ipad.

  • Flash buttons appear as white boxes

    Hi,
    I'm importing learning interactions as swf files from Flash into a Captivate project. These learning interactions use button components for "reset" and "submit". If the learning interaction is NOT on the first slide of the project I get white boxes and no functionality where the buttons should be. The buttons then work on all learning interaction slides after the first one.
    Help!

    Hi,
    One thing you haven't mentioned about changing background colors is your CellRenderer. That is the object that performs the drawing of your custom nodes. I would start with that and see what you can do. Maybe you can override setVisible in that class and change your renderer to just draw an empty rectangle using the background color instead of your custom component. You might need to do this because the paint might even be getting called because of the setVisible flag being false.
    Regards,
    Manfred.

  • Flash Video - white box flashes, hide controls

    Hi, I am working on a website for an artist
    www.helmutnewtonladiesnight.com
    when home.htm loads, a white box flashes (maybe
    FLVPlayer_Progressive.swf?) before the video starts playing. is
    there a way to make this box black or invisible?
    also, the artist doesn't want the controls to show at all. is
    there a way to autoplay the video and hide the controls?
    Thanks.

    Mark A. Boyd posted in macromedia.dreamweaver:
    > Tezzer100 posted in macromedia.dreamweaver:
    >
    >> Hi, I am working on a website for an artist
    >> www.helmutnewtonladiesnight.com
    >> when home.htm loads, a white box flashes (maybe
    >> FLVPlayer_Progressive.swf?)
    >> before the video starts playing. is there a way to
    make this box
    >> black or invisible?
    >
    > Add this to the AC_FL_RunContent() and FlashVars param
    sections:
    >
    > 'bgcolor','#ff0000',
    >
    > Add this to the embed section:
    >
    > bgcolor="#00ff00"
    >
    Of course, I meant to use #000000 in both of those sections.
    The colors
    I posted were left over from my experimenting to see the
    difference
    with JavaScript turned on/off.
    Mark A. Boyd
    Keep-On-Learnin' :)

  • Acrobat xi - RE: Add sound icon- skin displayed is a 'blank white box' until it is clicked to activate it- can you lock skin to display before its activated so that in a print run the skin shows up (ie the controls-or any kind of greyed out rectangle, lik

    Hi,
    Acrobat xi - RE: Add sound icon- skin displayed is a 'blank white box' until it is clicked to activate it- can you lock skin to display before its activated so that in a print run the skin shows up (ie the controls-or any kind of greyed out rectangle, like video controls before 1st activation) and not the blank white box- if no, I guess I have to activate all sound icons before doing a print run?thanks)).

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • Photos sync from computer folders, but are in the wrong albums and some photos only appear as a white box?

    On my iPad 2, I'm syncing my photos through iTunes from folders on my computer, as I am a photographer and don't like to use iPhoto and not have direct access to my original files.
    My photos sync without any hassle, but when viewing them on the iPad half the photos present as white boxes or a half photo/half white screen. I tried resetting iPad as a last measure, I've deleted the photo cache etc, to no avail. In fact, the most recent time I tried it didn't fix the white screen, but also added another issue- my photos now are completely mixed up within the albums. Christmas photos and showing in the Easter album and so on, there seems to be no logic in it! As I was given my iPad last month by my father in laws company, they had bought their stock a while ago and it's now out of AppleCare support - even though I've only used it for a month! Any help would be greatly appreciated! Thanks!
    My Mac is a 1 yr old MacBook pro running snow leopard. My iTunes was the second oldest version, have just updated to most recent version, but it hasn't fixed anything.

    Updating to the latest Iphoto release solved this. First time it rebuilt the libraries the pics appeared again.

  • A white box appears in the middle of screen and locks me out of Firefox

    Every time I open Firefox this white box with a gray bar appears in the exact middle of the screen with no text. There is also a box that can be checked or unchecked. If I click on the gray bar or the question mark, nothing happens, and I cannot make it go away. I have attached a screen shot of it. Please note that when I did the screen shot, Firefox was open, and I could see the web page behind it, although only the box was captured in the screen shot. I am able to run Firefox in safe mode, and I already turned off the hardware acceleration, but that has not solved my problem. I have restarted my computer, but that also has not helped. I tried the "automatically add" button below to add the troubleshooting information, but it didn't work, probably because I am using IE right now. If I could use Firefox, I would not be posting this message. Obviously, the manual steps also failed.

    I do like the toolbar, but as soon as I installed that new version, that pesky box popped up again! So, I have once again disabled it. I guess I'll just have to wait for future versions of Firefox and/or AOL toolbar to sort this all out. Thanks again for your help!

  • White boxes appear around drop shadows in PDF's

    I'm exporting a file from InDesign CS3 that contains several graphics that have a drop shadow applied to them (added in InDesign NOT Illustrator). When I view the PDF, there are white boxes that appear behind the graphics with the drop shadows. I need to use the 'Compatibility: Acrobat 4 (PDF 1.3)' setting from the PDF export dialogue box.
    Any help would be greatly appreciated.
    Thanks in advance.

    Sometimes having drop shadows on images (imported) that have spot colors causes this. Converting them to process or RGB helps. I know that applies to imported graphics but it may apply to graphics created in InD sgn. Are your graphics set up in spot colors?

  • Thumbnails appear as a white box with dotted line  -WHY?

    My library is still intact, however, my thumbnails are appearing as a white box with a gray dotted line. If I click on the box to open them, then they are there. I took my computer into an Apple store 2 days ago, they reset the computer and it was working fine. however, once again, I am having the same problem. How do I reset the computer to fix this problem and why does this keep happening?

    Back Up and try rebuild the library: hold down the apple and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose the top three options.
    Regards
    TD

  • Some of the apps previously downloaded have now become blank - white box instead of picture. Name of app still appears. Have tried hard reboot and sync to make sure everything is up to date. Anybody ever had this? How can I fix?

    Some of the apps previously downloaded have now become blank - white box instead of picture. Name of app still appears. Have tried hard reboot and sync to make sure everything is up to date. Anybody ever had this? How can I fix?

    One more thing to try.  Double click on the home button.  Scroll in that bottom line of icons (swipe finger to left) to the app that are all white.  Hold your finger on the app until the - sign appears.  Tap it to close the app.  Hopefully it will then show up correctly.  (As they say about chicken soup curing a cold, "can't hurt")

  • I created a photo book in Photoshop elements 11 that contains png files with the invisible backgrounds.  When I export the book to a jpg or a pdf, the png files appear with white backgrounds.

    I created a photo book in Photoshop elements 11 that contains png files with the invisible backgrounds.  When I export the book to a jpg or a pdf, the png files appear with white backgrounds.  Any suggestions on how to fix this? 

    jpg and pdf formats don't support transparency. You need to use a format such as tif, png or psd that does.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • HTML = Invisible / SWF = White Box

    This is really freakin' me out. Working on a simple movie
    that I want as a simple introduction index page, I am having no
    problem getting it to work offline.
    Now the moment I load it on to the server I get one of two
    things. If I published it HTML I get an invisible page, or if I
    publish it SWF I get a white box.
    As for the invisible page, when I right click over the area
    the movie should be I still get the "About Flash 9" window.
    Any thoughts?
    Thanks,
    Gary

    Gary,
    > As for the invisible page, when I right click over the
    area
    > the movie should be I still get the "About Flash 9"
    window.
    It sounds like the HTML is correctly preparing the way for
    the SWF --
    that is, it includes the <object>/<embed> tag
    combo, and/or the JavaScript
    that writes those for you on the fly -- but the SWF file
    itself is either
    missing or not in the place specified by your code.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • When I open a photo in CS6 from Adobe Bridge, a large white box appears. How do I fix this?

    When I open a photo in CS6 from Adobe Bridge, a large white box appears. How do I fix this?

    Good day!
    Could you please post a screenshot to illustrate the issue?
    Does turning off »Use Graphics Processor« in the Performance Preferences and restarting Photoshop have any bearing on the issue?
    Please read this:
    http://forums.adobe.com/message/4587299#4587299
    Regards,
    Pfaffenbichler

  • White box appears while switching between two desktops

    Hello all,
    Since few weeks I have a problem when I switch between two Desktops. Everytime I switch between them a white box appears in the left corner of my screen (see screenshot).

    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, by a peripheral device, or by corruption of certain system caches. 
    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 on some models, 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.

  • Mysterious white box appears when project published

    Hi all
    Another issue. When either either hit F4 to preview a project, or publish it to an .exe, a mysterious white box appears across a few of the slides.
    I've hunted for the cause of this box everywhere. It doesn't appear when I preview the same slides using F3. There are no objects in the timelines of those slides that would explain it.
    How do I get rid of this box appearing? It makes me want to remove this program from my computer altogether.
    Steve

    Hi Clifford
    The path looks right. On my PC, with Desktop and Admin, my path settings for Discoverer look like this:
    %DISCO10%\bin; (171 files and 0 folders)
    %DISCO10%\jlib; (53 files and 1 folder)
    %DISCO10%\jre\1.4.2\bin\client; (2 files)
    %DISCO10%\jre\1.4.2\bin; (62 files and 1 folder)
    where %DISCO10% is c:\oracle\BIToolsHome_1
    I can't see anything wrong with the path. This is very mystifying. I think you may have to speak with Oracle Support. Other than the Discoverer installation being corrupt with one or more files missing I can't think why you would be seeing a white console box. I'll keep researching and if I come upon anything I will let you know. To help I have listed alongside each of my locations the number of files and fodlers I have. If yours is different there is a possibility of a corruption.
    Best wishes
    Michael

Maybe you are looking for

  • My report is printing half of the page when I print the report Hp psc 1315

    My report is printing half of the page when I print the report in this printer Hp psc 1315 all in-one and when the operating system is windows xp , but when I run the same report in windows me , and the same printer it is running well And my report v

  • Syncing music/videos/apps that are already on my ipod touch

    Whenever I sync my ipod with iTunes on my mac, any songs, videos, or apps that are different in any way whatsoever or automatically resynced to my ipod.  This is fine for apps, as the only way this would happen is if there is in app update.  However,

  • TS2446 how to reactive my apple account

    resently i was downloading music on to my ipod touch 4 generation and it asked for my answers to my secret questions and i forgot the answers. then it deactivated my account for to many attempts. how do i get back on?

  • Users Disappeared from Workgroup Manager

    All I see is the admin user. All Users and Groups are gone. Strange thing is that I can still view the LDAP tree from another machine and see all the users and groups. Command line access to the Kerberos system also shows the users existing there as

  • Hi,i am using iphone mobile and i have trouble from iphone

    hi,i am using iphone mobile and i have trouble from iphone WHEN WE USE IPHONE THEN THE IPHONE 4G IS AUTOMATIC TURN OFF. AFTER THAT WE CHARGE THE MOBILE & MOBILE IS AUTO ON. THE PHONE IS 100% CHARGE BUT WE CALL 1-2 CALL THE PHONE IS AUTO SWITCH OFF &