Window does not get repainted when gains focus.

Hi All,
I have a JFrame, on clciking on button the processing takes some time to execute.In this time some other window(eg. commnad promp) overlaps JFrame.After this if I minimize the command prompt, nut the Jframe doesnt get repainted.
Can any one help me to repaint Jframe.
THanks in advace
cheers

A time-consuming process should not be performed by code that is executing on the UI event dispatch thread because it blocks all event and paint handling. Run your time consuming process in a separate thread, i.e.,
myButton.addActionListener(new ActionListener()
{  public void actionPerformed (ActionEvent ev)
   {  new Thread()
      {  public void run ()
      }.start();

Similar Messages

  • SP1 does not get installed when the machine is set to Japanese Language, software push through sccm 2012

    Hi,
    Please help me with the below issue, iam trying to deploy Service pack 1 on Windows 7 , 32 Bit OS
    SP1 does not get installed when the machine is set to Japanese Language, software push through sccm 2012 , it does gets installed of installed manually, by remoting into the machine
    also it gets installed through sccm when the machine is set to english language, 
    Thank you
    Tanoj
    OSLM ENGINEER - SCCM 2007 & 2012

    Hi Friends,
    we are deploying the SP1 via SCCM 2012 , and the success rate is around 50 %, its a Light touch installation where user will initiate the installation via Software Center ( Web based )
    i was able to gather few errors , and this are the errors which failed during SP1 Installation 0x800f0828,
    some errors which sccm reports display are 
    11171
    10008
    10021-
    17031 - 
    1602 - User Cancelled installation
    113 - No more internal file identifiers available
    10070 - File handle reference is no longer available
    10050 - A socket operation encountered a dead network
    11170  - The task sequence manager could not successfully complete execution of the task sequence
    i could not find the reason for some of the errors, also i am looking for a fix/woraround if any
    Also i have noticed that in few computers the task seq failed at a place where after the sp1 installation a reboot happens and then PGP BYPASS utility is uninstalled, it did not start the PGP bypass uninstall after reboot
    is there a way to cut short the Task seq and keep it simple ?
    right now its like this 
    1. checking for prerequisite : checks for OS Name and OS version
    2. installs PGP Bootgaurd Bypass
    3. System Restart
    4. Installing Windows 7 Service Pack 1
    5. Final Restart
    6. uninstall PGP Bootgaurd Bypass
    Regards
    Tanoj
    OSLM ENGINEER - SCCM 2007 & 2012

  • Tried syncing entire music library to ipod but some albums were skipped.  tried click and drag album but device does not get highlighted when i drag album there. any suggestions?

    I tried syncing entire music library to ipod.  some albums were skipped.  tried clicking and dragging but device does not get highlighted when i drag the album to the device. How can I sync album to ipod?  the album is imported and not purchased thru itunes store.

    Does it play in iTunes on the computer? What is the format of the album?
    Right click and select Get Info. Look under File in iTunes 12

  • Workflow initiator does not get workitems when PR Approve rejects.

    Hi,
    Workflow initiators does not get workitems when PR Approve rejects.Is there any thing missing in that .
    Please let me know .
    Regards,
    Gurprit Bhatia
    Edited by: GURPRIT BHATIA on Jan 28, 2009 8:38 AM

    Hi GB,
    In order that the WF initiator gets workitems on PR rejection, you need to assign method 'InfoReleaseRejected' (BO BUS2009) to a task in the PR rejection flow of your WF. If this is done, then check if you have assigned WF Initiator as the Agent in that task.
    Hope this helps.
    Thanks,
    Ajay

  • Messages window does not pop up when a chat is received

    Help!
    In the Messages app, when a chat is received, the Messages window does not pop up!  (Like it did with the old ichat.)  When a chat is received, it makes the noise, the icon bounces in the dock, and a red bubble is on the icon with the number of new chats.... but the messages window does not come forward.  This is the most frustrating thing ever!  I've been missing so many chats because I'm not staring at my dock.  How do I make the messages window pop up when a chat is received??  Please help!! 
    (I just upgraded from Lion to Mountain Lion...lost ichat, gained the Messages app, and this issue is driving me nuts!) 

    Hi,
    I am not sure you can.
    By Default  iChat could "Hide" any window such as a Buddy list.
    A new Invite put up a Invite window first that you had to Accept (Or set Auto Accept).
    This triggered the appearance of the Chat window.
    This does not happen in Messages.
    There is not Invite window now to any Form of Text chat invite.
    As a consequence there is no Trigger for the Chat window.
    Add to that the Messages main Window is an interface window as well as the Chat window.
    This puts it in the same category as  Buddy List which has to be called back (unhidden) into view with either Keystrokes or the Window Menu.
    A click (or possibly two to first bring Messages to the Front) on the DOCK icon also tends to reveal the Messages window.
    You can set the Messages > Preferences > Alerts for New Messages and Text Chat invitation to Bounce the DOCK and Play sounds to help.
    10:48 PM      Saturday; April 20, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Applet does not get loaded when viewed in a browser

    Hi,
    I have an applet,which works fine when I use appletviewer to see it. But from the browser, the applet does not get loaded.
    An error appears at the bottom of the browser that load: class not found.
    Any suggestions...please..
    Thank you....
    Pooja

    If you are using Internet Explorer, you should check to see if your browser is set to use Sun's JRE that came with your download of the SDK. (If you didn't install the JRE, you need to go back and run that on your machine. You can check to see if you are using Java's runtime enviornment (JRE) in Internet Explorer by opening IE and going to Tools --> Internet Options... --> and then going to the Advanced tab. Scroll down and make sure the box next to Java Sun "use Java 2 for <applet>" is checked. If that option is not available, you need to install the JRE.
    If that doesn't help, try using the HTML converter that comes with the SDK. It'll take your current HTML page, and you can customize it to force a download and/or usage of the JRE for applet viewing if for your particular browser.
    Hope one of these helps!

  • Report window does not close properly when using openDocument

    XI R2 InfoView
    Windows 2003 server
    IIS
    IE7
    We have been experimenting with the use of openDocument and have managed to achieve what we wanted but have one small problem.  When the document is retrieved it is opened in a new browser window.  When Close is selected from the drop-down Document menu the document is closed but the window shrinks to approx 8.5cm x 6 cm and remains open.
    A similar thing happens when we use the Preview button to view a document in the CMC, except in that case the document does not close and closing the browser window leaves a button on the Windows taskbar.  There doesn't appear to be a related window as it cannot be restored but you have to right click and select Close to get rid of it.
    Any ideas what is causing these problems and how we can get round them?

    Anne,
    There are some parameters in opendocument (for ex. sWindow) that can help control certain things, have you tried employing anything like that?  What I find frustrating is the behavior of opendocument based on whether you're running Infoview or WebI -- each product, using the same exact opendocument syntax yields different results.  Based on the sample code below, what I'm seeing with Infoview is the same browser instance is used for calling the child report, however, in WebI, a new browser instance is started and the child report is rendered in Infoview.  In my case, when running within WebI and getting a new browser instance in Infoview, and then using the "Document", "close" workflow, the second instance is exiting and I'm back to the previous browser.  Staying within Infoview entirely through the process, when closing the child report I get brought back to the folder list page.  Who's to know?
    ="<a href=https://<server>/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?
    idocid=100798&lsSInput_Pos_Nbr="+[Position Number Tracking]+">"+[Position Number Tracking]
    +"</a>"
    (double spaced on purpose)
    Thanks,
    John

  • Parts of the window do not get repainted

    I have problem with part of the window which is occupied by panels that have a graphical content to display like graphs and strings. This content is created dynamically, it always changes depending on the values of different textfields, scrollbars, etc. For each graph (and I may have up to 5 of them visible) I have a class which extends JPanel with paintComponent() method displaying info needed for the graph, like tick values, and then in the middle of these panel I place another panel where actual graph is drawn (paintComponent() again). I have numerous problems with this part of the window, when it gets obscured by anything like other window, dialog, tooltip - in that case, nothing gets repainted automatically, rather the portion of the graph just dissappears, until I do some action which has an internal call to repaint(). The problem exists only for these panels, other parts of the window work fine.
    Any ideas of why it might happen?

    Is it just the one central panel that does this? If so you can load it into a test app and start tracking down the trouble. If it is more than one of the five panels... try making a test app you can show us.
    I usually think of super.paintComponent(g) and the opacity property with this kind of trouble. Proper use of super.paintComponent will take care of the automatic repainting. If you setOpaque(false) then you'll have to handle the repainting yourself.
    The other area to look through is your event handling, especially scheduling. And the possibility of the need to call revalidate or validate on your panel(s).

  • Sender File Adapter does not get files when there is a large number ( 300)

    We are on XI 7.0 (SAPKB70015)
    We have an issue picking up a large number of files from a particular server. We are trying to pickup the files based on a wildcard e.g. test
    - we can retreive up to 200 files from the same server (using the same config) no problem
    - we can pull lots of files (>3000) files from other servers (using the same config) no problem
    - we can write an mget command (mget test) to reteive the files no problem
    So the only issue is retrieving a large number of files from a parfticular server. We see no errors in the RWB.
    To get this sorted out we need to find the exact commmands that XI executes to attempt to retrieve the files. Can anyone point me in the right direction on how to find this.
    Thanks
    Richard

    It turned out that this was caused by a limitation on the ftp server.
    The file adapter uses the dir command to get a listing of the files matching a specific mask. The dir command does not return any files if there are a large number (the ls command works fine but the file adapter uses dir instead of ls).
    sap told me that 'According to this FTP server is no compliant with RFC 959 and that is
    why DIR command returns an error.'
    We were able to get this resolved by applying a patch on the ftp server.
    Thanks
    Richard

  • Names.exe does not get installed when installing oracle

    Hello Group,
    I have installe Oracle 9.2 server on a Windows 2000 SP 4 machine and am configuring this as an oracle names server. The configuration is succesfull, however the service cannot be started 'coz the service is configured to execute the files names.exe from the folder c:\oracle\ora92\bin\names.exe.
    However, i have searched twice but this file does not exist on the server. I am not sure if i am missing something.
    Any help would be appreciated.
    Thanks and Regards,
    Ashish

    Hello Ashish,
    I've got the same problem after installation Oracle 9.2.0.1 for Windows.The file names.exe was missed.
    And what is more I installed twice this product and in both cases I could find names.exe in bin directory.
    May be I have to set special option for Oracle Names before the installation.
    Did you resolve this problem?
    Thanks for help.
    Andrey

  • "Message Processor" does not get assigned when saving the document.

    Hi folks!
    When creating a support message (SLFN) and saving the document usually the BP of the current user got assigned to the partner funtion "message processor".
    This used to work but does not anymore. Now I cannot find the reason why.
    I think I could achieve this via customizing "Make Settings for Change Transaction Types" and using "Specify Copy of Current User" but I am pretty sure this was not customized before.
    I could use partner determination procedure, too. Access sequence "User" but still I am not sure this was customized before.
    I am using SLFN transaction type service provider scenario (SLFC0001)
    Anyone got an idea?
    Thanks in advance.
    Regards
    Edited by: Christian Kaunzner on Mar 25, 2009 5:15 PM

    Hi Christian,
    did you solve this issue on your own? can you share your experience?
    thanks
    Pedro Rodrigues

  • Addon installer does not get installed when running BIDE setup

    Hi all
    i've download BIDE version 1.3.
    After running setup the installer projects for VS2005 does not appear in the VS2005. any ideas what could be causing the problem?
    appreciate the help
    Yoav

    I have the same problem,
    pls visit the post:
    Re: B1DE & B1TE for Visual Studio 2005 and .NET Framework 2.0

  • Finder window does not come forward when icon is selected in tray

    This happens sporadically with Finder mostly and most recently with Illustrator.  I frequently copy and paste and move between several programs in preparing a presentation. I will have multiple programs open and when I click on the icon in the tray nothing happens. What should happen is that program moves on top of the other open windows. When this happens I have to manually move that window to the side or use the function keys to find the window/program I need. This requires jockeying around several windows to reposition them and having to repeat the dance each time I want to move between programs.
    Is this a glitch or bug or am I doing it wrong?

    Have you got an instance of finder open in another desktop? If you right click on the finder icon you can show all windows, then close any that are open. Failing that relaunch finder, if you click on the Apple in the top menu bar, go to force quit, and select finder, then relaunch it to see if it solves your problem.
    I once had this problem when I had left a finder window open in a connected tv screen, disconnected the tv and had the same problem of not being able to open finder normally.

  • Task Does not get triggered when User is created through API

    Hi,
    Each new user in our OIM environment is supposed to have a iPlanet account. I have configured the access policy for the same and it works.There is also a process task which needs to be triggered once the user is successfully created in the DS. Following is my issue:
    1.When the new user is created through the admin console, the user is provisioned successfully to DS as well because of the access policy and the task also gets triggered successfully.
    2. There is an approval workflow for another resource, at the end of which a user needs to be created through APIs in OIM. The user gets created successfully in OIM and also get provisionined to DS just like in the above use case. However, the task fails in this case. I see that the task is being triggered from the user's resource profile, but the status is rejected.
    Can someone please tell me why is this happening. I initially though there was some issue with my adapter for the task, but in case 1 it works just fine.
    Following is the exception I get as soon as the iPlanet connector finishes creating the user in DS:
    java.lang.ClassCastException: java.lang.String
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETFIELDSONUSERCREATE.implementation(adpSETFIELDSONUSERCREATE.java:51)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    Thanks,
    Supreetha

    Hi,
    Have you checked the process data that you are passing to this adapter and check the mapping of process data to the adapter variable. Try to log the value which you get from process data. I got this error when I was trying to use the literal value from process data as "true" for a boolean value. This is a bug. This value is not actually a boolean value. It threw me error too sometimes back. Either you pass the boolean value from adaptor factory as a literal value or change the type boolean both in your code and the adapter.
    OIM works strangely. ;) All the best,
    Manila

  • ITunes for Windows does not delete podcasts when told to.

    I have 30 podcasts. When I try to delete a selected podcast using either the delete key or right-click menu, I then tell iTunes to "move to recycle bin". However, many times the file remains. I just found >1GB of left over podcasts that did not show up in iTunes but are in the "My Music\iTunes\podcast.." directories.
    is this a known bug or am I missing something?
    Is there anyway to fix this?
    Shane

    In order to delete the podcast, start playing another track first. Sounds like the same bug that affects TV shows. The currently selected show will not go to the recycle bin, though it will disappear from the iTunes library. It's as if iTunes tries to move the file to the RB but Windows says, "No, that file is in use."
    I discovered this bug after my laptop hard drive ran out of room because none of the TiVo2Go shows I'd been watching for weeks had truly been deleted by iTunes when I asked it to. All the files remained on the hard drive.

Maybe you are looking for