Image not being cleared

Well, I've really managed to find an odd problem this time. Ok, so right now I have an applet, and it has a thread which does public void run() {
while(true) {
try {
  runner.sleep(100);
  repaint();
catch(InterruptedException e) {
}Right, anyways that's supposed to refresh the screen. Ok, now the problem: I draw an image at x,y based on a variable. These 2 variables are set to 0,0 at the beginning. When I click the mouse, it sets the variables to 100,100. The weird part= Ok well it successfully draws the image at 100,100 but it also draws the image at 0,0 still! (that is until I minimize and maximize my browser, then it's cleared.) Any help?

in your paint or paintComponent method, make sure you
fill in the background before you draw anything
else.That shouldn't be needed. He's probably not calling the paintComponent() method of the super class.

Similar Messages

  • Bursting - empty tag not being cleared in email channel loop

    If you check the following, I pass the cust num and email address to the email delivery channel for the subject line.
    <xapi:message id="222" to="[email protected]" attachment="true" subject="Unigas Statement to be emailed to ${CUST_NUM} to ${EMAIL}">
    Problem is, that if the cust num or email address tag is empty, the previous tag value is used! its like its not being "cleared" between bursting loops.
    Using 5.6.3 EBS.
    Rob
    http://www.scnet.com.au

    Since your email is failing I am going to assume the rest of your script is working.  So I am looking specifically at these lines:
      $process = '../includes/process_mail.inc.php';
        if (file_exists($process) && is_readable($process)) {
            include($process);
    The things that need to be confirmed here are that the path is right and it has proper permissions.  Have you tried eliminating that "and" statement in your "if" and see if those work independently.  I have a feeling that if the path is right that the file does not have the proper permissions on your server for global read access which would make, "is_readable" fail and thus end your script.
    Can you test those and post back?

  • Cookies are not being cleared when I close the browser although the option is set. Any suggestions?

    Under Options; Privacy I have Clear history when Firefox closes ticked and within the Settings for Clearing History I have Cookies ticked. Cookies are not being cleared when I close the browser. Windows 7, SP1 x64

    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete <b>cookies.sqlite-journal</b> and <b>cookies.txt</b>, if they exist, in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case the file cookies.sqlite got corrupted.
    * http://kb.mozillazine.org/Cookies#Removing_cookies

  • Accounts (Freight Cost) in GR not being cleared

    Hi SAP gurus,
    There are postings done in a Material account 3xxxx in which the Freight purchase was charged in the Service account 4xxxx.
    However, 4xxxx is not being cleared during the period end.
    Would it be any setting in the PO or FI that is causing this?
    Regards
    Roger
    Edited by: rogersapfinance on Nov 13, 2009 6:29 PM

    Hi,
    Please check if the PO no and PO item ae populated in teh Frieght cost account  in  case yes you can use F.13 to clear this using GR/IR clearing process in the transactions. If it is not populated please look for things common between the Dr and CR and you can define your own rule to clear the Accounts the setting is to be made under SPRO>FI>GL>Business transaction>Open item clearing >Prepare Automatic clearing.
    Regards
    K.R

  • Images not being displayed in metro apps

    OS: Windows 8.1 enterprise
    Images are not being displayed (a small cross mark shown on the left) when I open metro apps that I download from Store. The store as well doesn't show images. I am able to see images in some built in metro apps like travel and weather.
    What's the fix. I guess the company network is blocking it. What is the work around?
    Thanks.
    NOTE: This is WINDOWS 8.1 METRO UI issue. It doesn't have anything to do with VISIO. The only option that I had to choose when i selected Windows 8.1 is VISIO. This site appears to be broken and not user friendly.

    Hi,
    Which metro app did you download and occur the issue? As you post the question in Visio forum, did you use Visio 2013 preview? As far as I know, the version had been off the store after the official version released.
    If I misunderstand, please give me more information (Such as App name) or images about your question.
    Regards,
    George Zhao
    TechNet Community Support

  • MIGO receiving not being cleared

    Hello,
    We are receiving items against MIGO (101) and we are checking each item as received. However the items are not being removed from the MIGO when we re-enter the purchase order. The items are showing as received but not cleared from MIGO. I vaguely remember having to check some boxes in MM02 but I don't remember exactly where. Please help.

    If anyone runs into this problem, it is the driver. You need to install the latest driver from Zebra. I had the same problem. After I installed the driver, the problem disappeared. Hopefully this will save you a lot of time.

  • Images not being sent with forwarded emails

    Hi,
    When I forward an email sent to me that has attached images, those images are not being sent when I forward the email.
    Yes, I am being asked to "Include" the attachments, and I click the Include button.
    I see the images in my message to be forwarded just before I send it, but the recipient does not get the images.
    Any assistance would be appreciated.
    Thanks

    Posts: 26
    From: New England
    Registered: Oct 15, 2005
    Forwarding Mail fails to include pictures
    Posted: Nov 26, 2009 7:54 PM
    Reply Email
    Recently I've had a problem with my iPhone 3Gs when I forward an email that contains graphics. The graphic is fine on my iPhone but when it arrives the picture is missing. I am selecting 'include graphics'.
    I've re-booted - no change.
    I've restored from a backup - no change.
    I've restored without using the backup - no change (other than I lost a couple email accounts etc.)
    Anybody got any other suggestions?
    TIA
    Tim
    Intel iMac / MacBook Pro Mac OS X (10.6.2) 80 gig Classic iPod, 32 iPhone 3Gs
    wmdilson
    Posts: 3
    Registered: Oct 9, 2009
    Re: Forwarding Mail fails to include pictures
    Posted: Feb 14, 2010 9:31 AM in response to: Timothy Adams
    Reply Email
    I have been having the same issue since late September and been in touch with Apple support since. First they said they had no other reports on it so it was my phone. I started checking and found many other with the same issue. I called back and finally in November I was told they were aware of the issue and was working on it. The first week of January I called again and was told the update first week of February was going to correct this. I did the new software update and guest what....IT STILL DOESN'T WORK!!! It is now February 14th and I am on the phone once again for the same issue that was known back in October 2009. I am paying $30 for data plan that I can not utilize 100%. My question after being patient for 5 months is who is going to refund me a portion of my data plan? Apple or AT&T?? This is a software problem that really needs addressed. Apple just releases an iPAD and can't correct this email issue??
    iPHONE 3gs iPhone OS 3.1.3
    ernie goldstein
    Posts: 177
    Registered: Feb 1, 2005
    Re: Forwarding Mail fails to include pictures
    Posted: Feb 22, 2010 5:33 AM in response to: wmdilson
    Reply Email
    foward email
    Posted: Jan 29, 2010 10:14 PM
    Reply Email
    i have the 32 g 3gs iphone. i have no problem when i send pictures from iphone from my photo album. the problem i have is when i receive a email on my phone that has pictures not from someones photo album and i foward the email the people get the email but not the picture. all they get is ca blank square where the picture should be. i even fowarded to myself and the samething happens on my mac . I have called teck support & was told they are working on it. this is unacceptable. it should not take this long to fix this.
    imac Mac OS X (10.6.1)

  • Images not printing clear

    Hello, I'm sure this topic has come up before, but I did a search and can't find any relative articles; so sorry if I'm bringing up "old news."
    I'm having difficulty in getting images to print clearly with Pages. I'm writing a book on musical topics and am using Finale 2007 to create musical examples. I've tried saving them as gif, tiff, png, pict, etc. The results are always the same; when I place them on my pages document they look a little blurry, and when I print them they look even worse. If I open them in Preview they look fine, at all different zoom levels, so I know the images themselves are not necessarily the problem.
    Back in grad school (about 10 years ago) I had the exact same problem with Word; I somehow solved it, but I can't remember how!
    Any advice on how I can get my musical images to look and print clean and crisp will be greatly appreciated!
    Thanks in adavance!

    Hi @Anna44,
    Does the document look as you expect it to when you look at the print preview? Does the print preview and the actual print appear the same or different?
    This might be a formatting issue with Word, not with the printer. What happens if you print a document with images you are not posting in from Google?
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Float not being cleared-- why not?

    On the webpage http://amethystartworks.com/ I am trying to get the container div <div id="header_again"> to expand to the height of the div inside it: <div id="left"> . I have inserted a spacer div <div class="spacer"> </div> immediately after <div id="left"> but this is not working.  The css is as follows:  Thanks in advance for any help.
    @charset "UTF-8";
    body {
        font-family: Arial, Helvetica, sans-serif;
        background: #002B54;
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #151515;
    .oneColFixCtrHdr #container {
        width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
        background: #DFDEE9;
        margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
        border: 1px solid #000000;
        text-align: left;
    .oneColFixCtrHdr #header {
        background: #DFDEE9;
        padding: 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
        background-image: url(/images/header3_01.gif);
        background-repeat:no-repeat;
        height: 114px;
        margin-bottom: 0px;
    .oneColFixCtrHdr #header_again {
        background: #DFDEE9;
        padding: 35px 0px 0px 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
        background-image: url(/images/header3_02.gif);
        background-repeat:no-repeat;
        height: 299px;
        margin-top: 0px;
    .oneColFixCtrHdr #header_again p {
        font-family:Arial, Helvetica, sans-serif;
        line-height: 200%;
        color:#151515;
        font-size:14px;
    .image_float {
        float:left;
        margin-right:5px;
    .oneColFixCtrHdr #header_again ul {
        list-style: none;
        margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    .oneColFixCtrHdr #far_left {
        float:left;
        width: 150px;
        padding: 10px;
        margin-left: 25px;
        border: none;
        background-image: url(/images/box_grad.gif);
        background-repeat: no-repeat;
    .oneColFixCtrHdr #left {
        float:right;
        width: 275px;
        padding: 10px;
        margin-right: 260px;
        border: none;
        background-image: url(/images/box_grad2.gif);
        background-repeat: no-repeat;
    .oneColFixCtrHdr #left h6 {
        font-family:Arial, Helvetica, sans-serif;
        line-height: 150%;
        color:#151515;
        font-size:12px;
    .spacer {
        clear:right;

    I think what you really want is Equal height CSS columns.  I'm afraid CSS doesn't naturally work the way table columns do.  But you'll find some solutions described in this discussion from yesterday:
    http://forums.adobe.com/message/2988164#2988164
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Text memory not being cleared after SAVE_TEXT

    Hi ,
    I am using SAVE_TEXT function module ( along with SAVE_MODE_DIRECT = 'X')  to write some data into the text elements of a Sales order during creation. This activity is being done in the SAVE_DOCUMENT method.
    The problem is that once the text is saved to the sales order and I attempt to create a new SALES_ORDER using VA01, the old value ( from the already saved order) appears in the text elements.
    I tried using FREE MEMORY ID ,but the same did not work.
    Any thoughts on how I can flush the memory text.
    Thanks,
    Jasmit
    <removed by moderator>
    Edited by: Thomas Zloch on Jan 15, 2012 9:40 PM

    Hi All,
    I tried with refreshing the table, using the SAVE_MODE_DIRECT ='X' and blank, but the issue still persists.
    I was under assumption that SAP might be clearing the text memory before every new transaction and then initiating the text determination procedure. However, this does not looks like the case..
    Any thoughts on alternate solutions.
    Regards,
    Jasmit

  • BUG - Images not being generated

    Something I just noticed...
    I'm using RoboHelp for System User Guides. For each screen in
    the System, I have a topic. In this topic is a screen shot of the
    screen. To save space on the topic I decided to try something new
    and link to the image through a "Custom-Sized Popup". Of course
    RoboHelp doesn't list images in the "Select Destination (file or
    URL)" -- even though it states files should be listed--- anyway, I
    have to manually link to it in the "Link to: " text box.... So
    that's fine... I can go into the Image Properties, Used In tab, and
    it lists the page it's linked from.
    Everything
    seems to be in order.
    I try and test out my newly created link. I generate the
    WebHelp output of the project and load the topic. I click on the
    link and imagine my shock and dismay when I find -- what's this --
    a 404 ?! What's more, all images I've linked to this way are
    not included in the output!
    It seems that RoboHelp, in it's infinite wisdom, decides that
    since this image isn't being directly linked to from any topic, it
    will save space and not create it in the output..... The quick and
    easy workaround is to create a topic which includes all the images.
    With this topic created, the images will be created in the output
    and the image link will work.
    I thought this post might come in handy for someone who gets
    stuck with the same problem
    Adios
    -Tyler Waters
    Idea for future release of RoboHelp:
    - Include images in the "Select Destination".... or at least
    remove "file or" from the label as files are not listed.
    - Include images in the output if they are linked to
    anywhere in the project.

    Colleagues:
    I've found a method for RH to get you halfway there.
    You can import an image as a baggage file and find it in the
    hyperlink dialog (link to file, navigate to the imported image).
    This is a lot faster than
    1. Creating a new topic (name, properties, etc.)
    2. Deleting the boilerplate
    3. Inserting an image.
    Still, RH won't self-size or let you self-size the popup
    window.
    For this you need to insert some Javascript code into the
    HREF string. You can do this either inside RH Truecode or in the
    output files. Either way, you have to do it for every image you
    want to pop up in a custom window.
    So you're trading one chore for another.
    A couple of benefits, if you consider them so:
    An image in a popup window will shrink and expand (up to
    original size) when you resize the window. You can't resize an
    image in a topic popup.
    The javascript specifies window attributes. An image-only
    popup doesn't need menu, navigation, status and tool bars, just the
    corners that close and resize the window.
    If you are (or anyone else is) interested in trying this,
    please reply here and I'll post some suggested code.
    Regards,
    Harvey

  • Image not being opened in Photoshop cc 2014 from Lightroom

    I am using the latest lightroom and photoshop.  When I go to an image in lightroom and right click, select edit in Photoshop cc 2014, it opens Photoshop straight away but it does not pass the image along... Any suggestions?

    I've tried everything I can think of to no avail.  It takes several minutes now to load an image from Lightroom into PS CC 2014.  PS CC 2014 is already open.  I just noticed a pattern.  If I edit a file (TIFF) format that has already been edited in PS and saved back to Lightroom, it loads very quickly.  However, if I am trying to process a RAW file, that is when I notice a significant lag time.furth
    SUCCESS!!!  Upon further investigation and seeing issues from other members regarding RAW cache issues I decided to move my RAW cache file path in LR to a different drive.  That seemed to fix the last issue.  I think the drive I had selected is going bad.  So the reinstall fixed my integration issues between LR and PS CC 2014 (thanks to everybody who suggested that) and changing my RAW cache file path seems to have fixed the last of my performance issues.  Now to reinstall my plugins and get back to editing my clients' images!

  • ((  BLOB IMAGE  *NOT*  being saved !  ))

    Hello,
    I am new to APEX.
    I am working with the SAMPLE APPLICATION
    that comes with the free APEX.ORACLE.COM
    account.
    I am creating 2 pages similar to the
    PRODUCTS report and the
    PRODUCTS form.
    (Page 3 and PAGE 6)
    I am creating my own table
    and my own pages.
    I created my own table---
    similar to the
    DEMO_PRODUCT_INFO
    table--which has all the PRODUCT
    information in it.
    This table looks like this:
    http://mankindwins.com/__7700-2900-APEX-GLOBAL-201/850-500-SCREENSHOTS-FOR-POSTS-205/DEMO_PRODUCT_INFO__TABLE.gif
    I used the APEX wizard to create a REPORT
    on a table with a FORM.
    I then replaced the source code wide
    code similar to this:
    select p.product_id,
    p.product_name,
    p.product_description,
    p.category,
    p.product_avail,
    p.list_price,
    p.product_id image
    from demo_product_info p
    That worked fine.
    I then went into the
         BLOB Download Format Mask
    and I defined it to be something like this:
    IMAGE:DEMO_PRODUCT_INFO:PRODUCT_IMAGE:PRODUCT_ID::MIMETYPE:FILENAME:IMAGE_LAST_UPDATE::inline:Download
    This works fine.
    It shows the images.
    The problem is this:
    When I try to create a NEW PRODUCT
    the browse button is there,
    I CAN upload a new image.
    But then, when I hit the button
    to CREATE the NEW PRODUCT---
    it does **NOT SAVE** the
    IMAGE
    MIMETYPE
    FILENAME
    IMAGE_LAST_UPDATE
    All the other information is saved---
    ( product name, category, etc.)
    but NONE of the IMAGE INFO !
    My question:
    How do I get this information saved???
    The BROWSE WORKS---
    but the CREATE the NEW PRDOUCT
    is NOT SAVING ANY OF THE IMAGE
    INFO !
    Why not?
    Thanks for your help!
    I really appreciate it!
    David888
    .

    Oct 9, 2010
    Hello,
    I found the answer!
    I looked in the SAMPLE APPLICATION
    PAGE 6
    P6_PRODUCT_IMAGE
    I looked at SETTINGS.
    I put in the settings for the
    blob image.
    That made it work!
    The values were saved!
    YAY!
    David888

  • EMP image not being removed

    DECLARE
    jpeg_image_dir VARCHAR2(280) := 'C:\photos';
    photo_filename VARCHAR2(280);
    BEGIN
    *:System.Message_Level := '25';*
    photo_filename := jpeg_image_dir||'\'||LOWER(:key_block.key_item)||'.jpg';
    READ_IMAGE_FILE(photo_filename, 'JPG', 'key_block.image');
    IF NOT FORM_SUCCESS THEN
    MESSAGE('This employee does not have a photo on file.');
    END IF;
    *:SYSTEM.MESSAGE_LEVEL := '0';*
    END;
    I have used the abv code to get image of an emp corresponding to the empno...but i got one small problem....suppose i enter 3021 i get the image with his personal details and now when i enter 3032 i get his personal details but the image doesnot changes(the image displayed is of 3031 instead of showing some thing blank) as he does have his image stored in the direcory
    Edited by: Suhail Faraaz on Dec 14, 2009 10:17 PM

    I have solved just had to make a small change and i got it so late in my head
    DECLARE
    jpeg_image_dir VARCHAR2(280) := 'C:\photos';
    jpeg_image_dir2 VARCHAR2(280) := 'C:\photos\no';
    photo_filename VARCHAR2(280);
    BEGIN
    :System.Message_Level := '25';
    photo_filename := jpeg_image_dir||'\'||LOWER(:empa.empno)||'.jpg';
    READ_IMAGE_FILE(photo_filename, 'JPG', 'empa.image');
    IF NOT FORM_SUCCESS THEN
    read_image_file('C:\photos\no\noimage.jpg','jpg','empa.image');
    END IF;
    END;

  • Images Not Being Saved as 16-bit

    Hello,
    We are using a Basler acA2000-340km camera.  I am able to capture frames in 10-bit and 12-bit pixel bit depth successfully.  However when I try to save those frames to disk they are only being saved in 8-bit format.  I tried using both .tif and .png images.  I am using the imgSessionSaveBufferEx() function to save the image.
    I noticed in MAX 10-bit and 12-bit acquired frames are correctly being saved as 16-bit images.  What am I missing here?
    Thank you.

    Hello Amit,
    Yes the image was acquired in 10-bit and stored in a 16-bit buffer.  I tried both TIF and PNG formats.  It looks like the problem is that NI needs to be specifically told that the image is 16-bit.  I am hoping that I don't need to create customized camera files just to set the bit depth.  I was hoping I could do it through one of the attributes.
    Are you coding in C++?  How are you indicating that you have 16-bit images?

Maybe you are looking for