Problem with ScrollingImagePanel. I can't refresh the modified image.

Hello friends. I am new at the "Java World". At first, sorry for my bad English. Lets go:
In my aplication I have to show a tiff image in a ScrollingImagePanel.I aplly some efects on the image, for example rotate, flip, etc.
It is working fine, but I have problem to refresh the image in the same ScrollingImagePanel.The code compiles but I have exceptions when I run the method:
public void atualiza(){
if (ziboro == false){ //no image displayed yet.This part works
ziboro = true;
JInternalFrame teste = new JInternalFrame("teste",true,true,true,true);
teste.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
teste.addInternalFrameListener(this);
teste.setLocation(10,10);
teste.setSize(new Dimension(200,200));
ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
teste.getContentPane().add(FlipVPanel);
displayPanel.add(teste);
teste.setVisible(true);
teste.moveToFront();
else{
// here I want to refresh the modified image.This part is my problem
teste.getContentPane().remove(FlipVPanel);
ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
teste.getContentPane().add(FlipVPanel);
teste.setVisible(true);
teste.moveToFront();
I think the problem is when I try to remove the ScrollingImagePanel.
Please help me, you are my hope. If you now another solution to show images at ScrollingImagePanel and refresh the image, please send me.
Thanks a lot people!

The way to find out is look under project info again. If it gives you an option to switch to double layer disc, like it does with me. Then that signals that your computer can handle them. Thats what I remember reading anyway.

Similar Messages

  • A problem with iDVD, i can't make the actual DVD... not enough space

    And that's odd, because the DVD is a 4.7 GB Single-sided, and i've put in the menu 5 video, for a total of 500-600 MB.
    Why i can't burn it? And do you know programs to make video size smaller? Thanks.
    [Oh, and a noobish question, cause this is my first DVD with iDVD... in the "Map", after the video shall i put the menu again? I mean, when that video finishes, the DVD return to the menu or not? Thanks.

    The way to find out is look under project info again. If it gives you an option to switch to double layer disc, like it does with me. Then that signals that your computer can handle them. Thats what I remember reading anyway.

  • Installed java for Mac OS X 10.6 update 14. Update causing problems with gmail. Can I undo the Apple Update?

    Hello,
    I installed Java for Mac OS X 10.6 through Apple Update.
    Now when I go to gmail a single message previously sent appears as multiple messages sent.
    A separerate message for each line of the original five line message.
    This is the case with a number of previously sent messages.
    Thanks for your help.

    Hi Pat,
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality
    http://support.apple.com/kb/HT5559

  • HT1871 Hello i have one IPhone 4S and I use 3G net in my mobile sometime I have problem with temperature in my phone at the SIM card or battery how can I fix this problem. By update or version of 6.1.3

    Hello i have one IPhone 4S and I use 3G net in my mobile sometime I have problem with temperature in my phone at the SIM card or battery how can I fix this problem. By update or version of 6.1.3

    Could it be because the SIM card got damaged while I cut it to fit the IPhone?
    Very likely. Hard to believe the carrier in Mexico doesn't have a micro-SIM card available.
    Or somehow the Chinese carrier found out and locked it?
    No, which is not possible.
    What can I do? Get a new SIM and see if it works again?
    Get a micro-SIM from the carrier in Mexico that you don't have to manually cut down. If that carrier doesn't provide one, switch to another carrier that is not so low-budget.

  • I have problem with buying in games , I got the massage that the purchased can not be completed , please contact iTunes support.. I need help for my case please

    I have problem with buying in games , I got the massage that the purchased can not be completed , please contact iTunes support.. I need help for my case please

    http://www.apple.com/support/itunes/contact/

  • Hi i have a problem with my iphone 3gs. i updated the software to ios 6 but now when trying to activate the phone it comes up with a message saying that the activation server is currently unavailable, also it always says no sim! what can i do?

    i have an activation problem with my iphone 3gs. i updated the software to io6 using itunes but now the phone will not complete activation because it keeps saydin the activation server is not available and to re try later. ive been trying for 6 hours but it still wont activate. if i try using itunes then it sayd no sim inserted when there is one inserted, what can i do?

    You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
    and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money..

  • I have a problem with my iPhone 5 stopped working the sleep / power and simultaneously refused to obey the HOME button. I can not use either one or the other. I can not enable or disable the device, display lights up when you plug the charger. same displa

    I have a problem with my iPhone 5 stopped working the sleep / power and simultaneously refused to obey the HOME button. I can not use either one or the other. I can not enable or disable the device, display lights up when you plug the charger. same display works fine as it is surprising. or maybe someone knows what is the reason for this? is there any way to solve this problem?

    More than likely its a hardware issue, I have never encountered such a problem and best bet is to just go get it replaced. If you have insurance on your device apple will replace it as long as there was no water damage, if you dont have insurance they will charge $200 more or less. Hope you get it fixed

  • Every time I sync my iPhone with iPhoto I end up getting duplicate photos on my iPhone. The other problem is that I can not delete the dups on my iPhone.   Does anyone have an answer to this problem?

    Every time I sync my iPhone with iPhoto I end up getting duplicate photos on my iPhone. The other problem is that I can not delete the dups on my iPhone.   Does anyone have an answer to this problem?

    Mike whether I create a folder within the Pictures Folder that iTunes uses to sync photographs or just copy them into the main folder the result is the same, I end up with Photo Library plus another album containing an identical set of pictures as contained in Photo Library.
    The User Manual for iOS5 states ...
    You can create, rename, and delete albums on iPhone to help you organize your photos and videos.
    Create a album: When viewing albums, tap Edit, then tap Add. Select photos to add to the new album, then tap Done. Note: Albums created on iPhone aren’t synced back to your computer.
    Rename an album Tap Edit, then select an album.
    Rearrange albums Tap Edit, then drag up or down.
    Delete an album Tap Edit, then tap the delete sign.
    Yes I can Add a new Album, but cannot delete an album already created. The delete sign does not appear.
    In iTunes the only folder that I can see listed is the man one into which iTunes stores pictures, which I have named iPhone Photos.
    When I look on my PC this iPhone Photos folder contains another folder named iPod Photo Cache and a multitude of folders created by iTunes, the named F00, F01,F02 etc etc. and a Photo Database file.
    Now whether I create a seperate folder within iPhone Photos to store my favourite photos in, or just copy them all into the iPhone Photos folder without being encased within another folder, or create a folder inside the iPod Photo Cache folder the result is the same ...
    I end up with Photo Library plus another album containing an identical set of pictures as contained in Photo Library.
    I am going around in ever decreasing circles here and getting nowhere fast!! 

  • I have just changed to Firefox from IE. When i pull up my home page which is the BBC.co.uk I have always to reset my local region as it always defaults to London. I didn't have this problem with IE. Can you please supply a solution, thank you

    I have just changed to Firefox from IE. When i pull up my home page which is the BBC.co.uk I have always to reset my local region as it always defaults to London. I didn't have this problem with IE. Can you please supply a solution.

    I fixed it!!! Following advice from similar posts, I searched the hard drive for "sessionrestore.js" in my Firefox Profiles folder (you'll need to enable viewing of hidden files in Windows Explorer (Tools > Folder Options > View (then select Hidden files option) then Apply to all folders) to do this). I then shut down Firefox, deleted the file and restarted - my home page was correct and it didn't try to open my old session! Some other posts suggested deleting everything called "sessionrestore" in that folder, but I didn't need to.

  • I have a big problem with my Iphone 4...the pics and videos that i capture, often shows as inverted or orientted by 90/180/270 degrees. photos, one can rotate, but how about videos... is there any way i'm going wrong? this wasn't happening earlier

    My question...
    any answers pl.
    I have a big problem with my Iphone 4...the pics and videos that i capture, often shows as inverted or orientted by 90/180/270 degrees. photos, one can rotate, but how about videos... is there any way i'm going wrong? this wasn't happening earlier

    If I've understood you correctly then the ALLEXCEPT function may be what you're after and it could be applied in a similar way to the following...
    =
    RANKX(
    ALL(Table1),
    CALCULATE(
    COUNTROWS(table1),
    ALLEXCEPT(Table1, Table1[ContactReason])
    DENSE
    If this has missed the mark, would it be possible to clarify the requirement further?
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com
    Blog: http://www.nimblelearn.com/blog
    Twitter: @nimblelearn

  • I have a problem with my macbook after i pressed the power button the screen turns blue and nothing is happening with it! What can I do? Pls helps and thx btw

    I have a problem with my MacBook Pro, I pressed the power button and after that the apple noise came and the screen turned blue. What can I do and what happened? pls help & thx btw

    You may find this helpful:
    http://support.apple.com/kb/PH14061
    Ciao.

  • Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem net ti

    Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem next time it launches".  Except that it doesn't, I keep getting the same message and the program closes.  Does anyone know what I  can do to repair it?  Can't back up, can't do anything.

    There are dozens of threads in this forum that describe the fix

  • HP 8500 printer will not print fast on firefox, but does on Safari. HP support says it is a problem with firefox. Can you help me out?

    Question
    HP 8500 printer will not print fast on firefox, but does on Safari. HP support says it is a problem with firefox. Can you help me out? edit

    Thank you for posting your list of installed Extensions. One of them might be intercepting the menu command. Since you have the Add-on Compatibility Reporter, it's possible that an older add-on that doesn't actually work well with Firefox 5 could be to blame. Could you try disabling the "HP Smart Web Printing" extension and see whether that makes any difference?
    Also, you can simulate a print button on a web site by pasting this to the location bar and pressing Enter. You also can save it as a bookmark for easier access (when scripts are saved as bookmarks, we call them bookmarklets). Hopefully you won't need it for long.
    <br>javascript:void(window.print());

  • Hey, I had met a problem with installation. Can any one help me?

    Hi everyone, I'm an user of Windows 7(64 bit),
    I had just download "Master Collection CS5.5"
    Everything are fine but Adobe Acrobat Professional can't install on my computer.
    There are the details..:
    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 4 error(s), 1 warning(s)
    WARNING: DW066: OS requirements not met for {AC76BA86-1033-F400-7760-000000000005}
    ----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 -----------
    ERROR: Error 1324.The path R嶰up廨er un document num廨is?sur un multifonction.sequ or the volume is invalid. Please enter it again.
    ERROR: Install MSI payload failed with error: 1603 - 安裝時發生嚴重錯誤。
    MSI Error message: Error 1324.The path R嶰up廨er un document num廨is?sur un multifonction.sequ or the volume is invalid. Please enter it again.
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Acrobat Professional: Install failed
    Thanks

    Re: Hey, I had met a problem with installation. Can any one help me?
    This worked for an English version and the concept should work with all Adobe programs - new or old (hopefully in any language). My guess is that you have/had an older version of Acrobat/Reader on your computer hard drive that needs to be *completely* removed first. Uninstall the new (and any old) Acrobat; then try using the "kb2..." guideline link below before reinstalling the new Acrobat. I am including the lengthy instructions in order to help others with more extensive installation problems. Good luck!
    I live on a fixed income and use CS for a hobby. I had problem installing Adobe Creative Suite (CS1) to Windows 7 64-bit Pro on my new computer. Also installed Adobe Photoshop LR3. What I learned: All Adobe products (Flash, Acrobat/Reader, Photoshop, Creative Suites, etc.) leave a VERY pervasive footprint on your hard drive. Logic finally worked for me.... think of building a house; there is an order you have to do things in. First, you have to clean the area before laying the foundation; then you have to build the framework before you put the roof on. You cannot install an older program over ANY newer program; and you will sometimes have a problem installing a newer program containing Flash, Reader, etc. unless you "erase" the older versions of Flash, Reader beforehand. If installing older programs, do a Custom/Manual install; do not install older versions of Flash, Reader, etc.  packaged with your Adobe software.
    SOLUTION (not easy, but it works):
    I first tried this; it did not solve my problem (but, if applicable, may help others).  http://windows.microsoft.com/en-us/windows7/Make-older-programs-run-in-this-version-of-Win dows
    Before doing anything, make document and any database/presets/cache back-ups beforehand (keep notes on their designated location*); manually create a System Restore point. (Be prepared to reinstall Windows if necessary - I didn't have to.)
    Completely and meticulously eradicate (clean) your hard drive of ALL Adobe programs [uninstall, remove remaining folders, and remove only the registry entries that have the Adobe name attached (unless you are an expert and fully understand the other entries)]. Use this as a guideline  http://kb2.adobe.com/cps/400/kb400769.html
    Do a Custom/Manual reinstall of all your Adobe products *in order of release dates* (OLDEST first).... do not include Reader, Flash, etc. If your CD will not automatically run at this point, click "Open folder to view files" (use Computer/Windows Explorer, if necessary). Click "Adobe Creative Suite (or your desired program) ==> Setup.exe" (IMPORTANT: Make sure that Reader, Flash, etc. are unchecked.)
    After each of your desired Adobe programs are installed, test to insure they boot up. Then download the latest Reader, Flash, etc. apps and install them (I did this in order of release date - oldest first). Do test boot(s) again.
    Copy/Paste your document and any database/presets/cache back-ups into the appropriate folders (*this will vary depending on your programs and your filing system).
    It has been four weeks and all my Adobe programs work flawlessly - system is stable, no problems!

  • HT4623 i have ios 4 version and when i try to update my iphone to the latest version it with itunes it can't reach the update server. what should i do?

    i have ios 4.3.3 version and when i try to update my iphone to the latest version it with itunes it can't reach the update server. what should i do?
    p.s.: i don't have any cinnection problem.....

    It could be the fact that your hosts file is directing itself to gs.apple.com Cydia not gs.apple.com Apple,
    Hope it helps
              http://support.apple.com/kb/TS3694
    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

Maybe you are looking for

  • Choosing layout when running a report in the background

    Hi Experts, I have the following question: when executing a report in background that doesn't have the layout variant as selection criteria, how can I choose which fields are displayed in the spool? I am particularly interested in the logistic report

  • Getting variation while running the report S_ALR_87012386

    Hi, We made a posting in AP  based in USD  (value xxx  USD;   Local Amount :  361,65 u20AC ) Due to the nature of the TAX Transaction, it was applied the Vat Code  XX  (to aplly / deduct VAT  at 23%  - Services from Other Markets). The posting is OK;

  • Collition detection help

    hey, everyone. This is the problem im dealing with now. I have a movie clip (dropper) which creates movie clips (bomb) that follow the code. The depth of the (bomb) is set at ++ The problem is, is that I have another element (catcher) that needs to d

  • Subtitles in dvd studio. How to implement ?

    I have created several video tracks in DVD Studio 4. Each one has two subtitle tracks (English and Spanish) I can select them via my DVD player remote control. But that implies that the viewer knows or is told that there are multiple languages. I wan

  • Second Hard drive cable/accessory

    Hi Everybody, I have a HP ENVY 17TS laptop and want to add an SSD drive.  I see that there is an empty drive bay.  Where can I find the cable/connector and associated drive kit?  I could not find on the HP.COM site.  Thanks a lot in advance, Dinesh T