Problem with dragged component after resizing the frame

My application is simple: I am displaying an image on a panel inside a frame (JFrame). I am able to drag the image inside the panel. My problem is that, after dragging the image around, if I am resizing the frame, the image goes back to its original position.
Does anyone know a workaround?
I have been using the sample provided by noah in his answer (reply no. 3) to a previous question on this forum: http://forum.java.sun.com/thread.jsp?forum=57&thread=126148
Thank you!

Chek out the visibility of your components. Some operations may render them invisible. Use the setVisible( boolean ) to make them visible.

Similar Messages

  • Has anyone out there experienced problems with launching apps after downloading the iOS 5.1?

    Has anyone out there experienced problems with launching apps after downloading the iOS 5.1?

    I tried calling support and they want to sell me $79 worth of support in order to get it straightened out!

  • HT204490 OS X Yosemite v10.10.3 Update - I had problems with my iMac after installing the previous update and I removed that update.  Have there been problems associated with this update ?

    OS X Yosemite v10.10.3 Update - I had problems with my iMac after installing the previous update and I removed that update.  Have there been problems associated with this update ?

    I've been using it on all of my computer without any problems. Remember you won't see any positive comments here. Everyone here is complaining about a problem. If you want a good experience with any upgrade or update first make a backup from which you can boot the computer. If you are installing an update, like 10.10.3 for example, always download and install the Combo Updater - OS X Yosemite 10.10.3 Combo Update. Before you install any update or upgrade over an existing system you should do this:Repair the Hard Drive and Permissions:
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list.  Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu. Select Restart from the Apple menu.

  • Strange noise problem with music layer after replacing the music file using script in CS6

    Hey guys,
    I got a strange problem. Sometime when I import a music file, or replace a music footage with another music file using the "replace()" or "importFile()" method, the music layer added one second noise at the beginning. like this,
    Does anyone know what's going on here?
    I'm using After Effects CS6 windows Server 2008 64bit.
    Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi Myleniu,
    Thanks for your replay. Actually, it doesn't matter what makes up my comp, this problem just randomly happen when I render any comp. For example, I have a comp named "noise", I run a script to replace the music then render it, I use a "for" loop to do this 5 times and the music noise problem just happen one time.
    I'm starting to think that win server might be the problem.

  • Problem with BPS Reports after upgarding the system to BI.7

    Dear Experts,
    We are facing problem with the BPS Reports after upgarding the system to BI.7
    In 3.5system the reports are dispalyingthe data.
    we have copied the production system to X system and has migrated the same to BI.7.
    in the X system the reports are not showing the data and even we generated the web interfaces in X system.
    After giving the input to BPS Layout and when we go for output ,we are getting the message No Data has been found.
    when we chekced the corresponding cube data was existing.
    It would be a great help if any valuable suggestions to over come the problem.
    Regards,
    Sunil...

    Dear Andrey,
    i am facing an error while filling the set up table for 2LIS_11_VAITM in the source system.
    The error was "Company code has not been maintained for the sales documnet 1296".
    when i checked the document in the Header table VBAK,company code was blank for the document .
    Company code was there in the selections for the setup table.
    The error means that company code should be maintained for the sales document as per my knolwedge.i think document was not created properly in the source system.
    Could you please help me out to over come the problem.
    Regards,
    Sunil...

  • Problems with iTunes Airplay after pausing the playback

    I have a problem with itunes airplay since I've updated my system to Windows 8.
    I'm able to stream music to my Yamaha receiver once, but when I pause the playback and resume to it after a short while, iTunes always freezes and it is shown as inactive in the Task Manager...
    I hadn't any problems with it on Windows 7.
    Any Solutions?
    btw: I tried installing iTunes 11.0.4 and iTunes 10.7..same issue on both versions.
    And I'm sorry for my bad english ;-)

    The following article(s) may help you.
    Credit card security code or postcode issues.

  • Problem with my Inbox after restoring the backup

    Hi,
    I've bought N73 a few days ago and tried to restore my backup from the old 7610 (Messages and Contacts) with PCSuite 6.84....
    Everything was all right except the Inbox...
    All of the messages have the sender's number instead of their name!!
    This problem is only in my inbox, in the sent section i have the messages with contacts name.
    I tried to sync my phone with PCSuite, wondering, there was the sender's name..!!
    Still in my inbox there is no sender's name for the old messages, but new ones come with their name.
    What can i do to adjust it, having the names instead of the numbers, for my restored messages?
    Thanks a lot!

    Any idea!?

  • Problem with  fish eye after applyng the video is jumping

    I have hero 4 silver and after applying fish eye settings on goPro 3 black + 2.7K wide my video is jumping, Can you help?
    My video was recorded on 2.7K/24/ wide

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???

  • Problems with video out after closing the lid.

    I bought a Mini-Display Port to HDMI and connected it to my macbook pro and to my tv....Everything is perfect i close the lid....Now i am pretty sure i read somewhere that you can still use your macbook if you have it connected to an external screen and even if the lid is closed...can anyone tell me if i have to do something in the preferences?or is it just normal...I am new with macs,just bought mine 1 1/2 months ago so please take it easy on me... :P Thanks

    You can use the MacBook Pro after you close the lid it's called 'Clamshell Mode' but for it to work correctly you have to attached a keyboard and mouse as well as the TV, then you can close the lid to put it to sleep then touch a key on the keyboard or move the mouse and it will wake up again and display on the screen.

  • HT1766 Has anyone else had a problem with their phone after using the cable to upload photos from Camera stream to computer photo program?  My phone is frozen, cannot get into use phone, cannot connect to the Internet, and even APPLE is stumped.

    I only have my IPhone5 for two months and am very upset that now they may need to give me a new phone and lose anything that may not have been recently backed up by the phone.  Has anyone else had this problem?  How did you reseolve it?  Hard reboots did not help.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • Problems with viewing contacts after activating the cellular data entry

    Hello I have a problem, I activated my iPhone 4S voice data phone to send a mms anddoes not make me see the book as some one can help me? Thanks to all

    yes iam experiencing same problem,it is very frustrating,nokia must solve it,anyway i found a way to overcome it that is we normally type sms first then select contacts whom to send,do it in reverse manner first select contacts from contact list mark them and from options menu select create message to send sms to all marked contacts,problem of dissappearing some contacts will be overcome

  • Problem with database functions after disposing frames.....

    Hello,
    I have some problems with hangups with my app after disposing some frames...
    My scenario is something like this:
    - i have a login frame which instantiates some other application module and it disposes itself with some code like:
    this.dispose();
    this.finalize();
    System.runFinalization();
    System.gc();
    - after that the new instantiated module frame can return to the login frame by disposing itself and instantiating again the login frame with the same code like above
    my problem is that after some 2-3 tryes to login to a module - retun to login - login to module - return to module my app hangs on some code like:
    combobox.setSelectedIndex(0);
    or
    queryDataSet.executeQuery();
    i have to mention that i use a DataModule.
    do u have any ideas?
    thanks in advance.
    adrian

    >
    - i have a login frame which instantiates some other
    application module and it disposes itself with some
    code like:
    this.dispose();
    this.finalize();
    System.runFinalization();
    System.gc();
    Sounds like a bad idea all around.
    Finalize is supposed to be called by the gc - not by you.
    Almost always using finalize is either pointless or will cause memory leaks.
    do u have any ideas?
    I would guess it has nothing to do with JDBC.
    Are you catching SQLException and printing them out? If not then do so.
    If you are do you see any exceptions? If not then it isn't JDBC.

  • Hello I have a problem with my ipod touch 1G the problem is that see me key to the floor! And when recogi not prendia after 5 minutes prendio but it gave to me the surprise of which the battery had finished completely! What I did was to set it to load wit

    Hello I have a problem with my ipod touch 1G the problem is that see me key to the floor! And when recogi not prendia after 5 minutes prendio but it gave to me the surprise of which the battery had finished completely! What I did was to set it to load with the USB but do not load the battery me the icon of the battery appear and below of her the beam that indicates that this being loaded but this way I have left it the whole yesterday and what goes of today and continues without loading anything! They can help me porfavor I am grateful for them to him very much!   And my PC does not detect it not itunes

    Try the not-charging topic of:
    iPod touch: Hardware troubleshooting
    It could be that the battery is dead.

  • Problem with iWeb 09, after the publication in a local file.

    *Subject: problem with iWeb 09, after the publication in a local file, i can't see my blog, nor my photos, but before that all was working fine.*
    After the publication in the local file, I see all my pages, but there is a mistake on the page "Blog" where I just can see the top of my page, it's cut and I can't see it entirely, so I can't see the inputs while I should see 3 news or 3 inputs. And it's the same for the "Photos" page where the page is cut, I can't see the photos, and it's just written : "Put the slide show and subscribe".To finish, when I want to activate the comments, it doesn't work neither.
    Please help me.

    I want to activate the comments, it doesn't work neither.
    The comments feature is only available when you publish to the MobileMe server, so I don't think you can use it when you publish to a local file.

  • I have a problem with my iphone,after upgrade software ios 6.0.1,  is not possible to use the wi-fi, used until now, because is not possible to have the login, i find this message " the requested URL  was not found

    I have a problem with my iphone,after upgrade software ios 6.0.1,  is not possible to use the wi-fi, used until now, because is not possible to have the login, i find this message " the requested URL  was not found

    You have to go to autherized iPhone agent.

Maybe you are looking for

  • Which print app for kodak esp aio printer

    Waiting on my iPad...been looking @ some printing apps....has anybody set up wireless printing with a iPad using a Kodak esp aio wireless printer....trying to save the time testing out the apps....thanks for the help peeps.....ciao

  • Table error - Context Path Cannot Be Resolved (Last Node Is Empty)

    Hi All, I am dynamically building up a context node called PoList which is used to hold the contents of a table. My BAPI is called and a routine transfers the contents of the BAPI context node across into the POList context node. This is rendered cor

  • How sync Ical in a nokia 6111 ?

    Hi everybody, I work in a mac book with Ical and Isync the latest, I have a problem to synchronize my calendar on my nokia 6111. My contacts were well synchronise but my calendar never work when I synchronise them, I can't see what I write on my cale

  • *URGENT* How can i get a website to load instead of saying "Can't connect to the server"

    My computer is not loading a website. This is urgent for university work!! My computer keeps saying: "Can't connect to the server" no matter what internet browser i use, and other people with Mac's can use it fine! I need it for university work. PLEA

  • Oracle Driver 10.2.0.3 will not run under Java 1.4

    While using Oracle Database 10g Release 2 (10.2.0.3) JDBC Drivers my application will not run with Java 1.4 I keep getting an ArrayIndexOutOfBoundsException, followed by a number. Running 10.2.0.3 with Java 1.5 does not give this error. If using Orac