JFrame getting hanged for a while

Hi,
I have a swing application. It has got two text fields for getting the input files. And on the click of a button, an actionEvent has will be triggered which will validate these files.
My question is if these files are huge, I mean if it takes around 5 minutes for validating these files, for that particular period of time, the Frame goes into an hanged state.
Is there any workaround for this.

[url http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html]How to Use Threads

Similar Messages

  • Database hange for a while

    Hi All,
    These are my envirnment:
    Database: Oracle 8i
    Platform: HP Unix -11
    Database Size: Production less then 100GB
    My database get hange for while during the day time . Total hange time less the 5 to10 minutes. During that time, nobody can login in to it. Even I can not log in to it as sysdba. After few minutes it comes in to regullar mode. I can not see any alert in log file or even does not generate any trace file. I do not know the exact time, but it hange three or four time a day.
    I have cheked CPU performance, it had equall load on all the CPU.
    If you can provide me query to trace my database and advice, I will be appreciated your help.
    Thanks in advance.
    Raj

    Hi Raj,
    I can not see any alert in log file From HPUX? Can you tail the alert log?
    Total hange time less the 5 to10 minutes.There is some resource shortage, you need to check the OS layer first:
    - Check for RAM swapping:
    http://www.dba-oracle.com/t_tuning_cpu_usage_vmstat.htm
    Detecting Potential I/O Bottlenecks in AIX is easy. Using IBM's AIX dialect of UNIX, an I/O bound database server is usually evidenced by a high value in the wa (wait) column of vmstat.
    Below, we see that 22 percent of the CPU time is being used waiting for database I/O.
    root> vmstat
    kthr     memory             page              faults        cpu    
    r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
    0  0 217485   386  0   0   0   4   14   0 202  300 210 14 19 45 22It is important to note that a high wait value does not always signal an I/O bottleneck. The CPU wait could be due to other factors, and this metric simply means that the CPU is waiting for external OS services.
    Now that we understand the basics of the vmstat utility, let's explore an easy method for capturing vmstat data, storing it inside an Oracle table, and producing server performance reports.
    If I had to guess, it's a RAM shortage, that would explain why nobody can sign on.
    It's also a problem when you cannot get onto the database to see why it;s hanging!

  • Siebel App is getting hung for a while when i try to redirect to screen.

    When i try to redirect particular screen, siebel application is getting hang for some time for thick client and at last its displaying tha page, its showing connection time out page when i try in thin client. This behaviour can be reproducible for 3 specific logins only for other logins its working quite fast. help me out to solve this issue.
    Edited by: 894931 on Dec 2, 2011 5:24 PM
    Edited by: 894931 on Dec 2, 2011 5:26 PM

    Hi,
    Check the applets in the view & the BC. Is the BC or Applet has any searchspec on it? If so, check whether INDEX has been created fore the respective column of the fields. This could be main reason. Create INDEX and try again. (Because in your case no error is appearing in the screen.)
    Regards,
    Joseph

  • CAD Application gets Hanged for UCCE 7.5.1 when agent answered the call for particular location

    Hi All,
    We have a CAD server installed on ICM PG box.
    Two agent location namely X and Y
    Datacenter resided in location X
    Users in location X were not facing any issue
    Users from location Y facing diificulties and they were using CAD ver 7.5.1.
    Randomly for all the users in location Y were reporting CAD application gets Hanged immediately when the agent answer the call.
    Location Y is connected via WAN.
    Both the location we are using same CAD version, but still issue persist in location Y.
    Kindly let me know how to address this issue
    If this was a BUG why it was not impacting other location

    Hi,
    I found the problem in CAD Troubleshooting guide.
    Problem: Agents can’t log into Agent Desktop.
    Solution: During Unified ICM installation, an “Agent Login Required for Client Events” check box is displayed. By default this check box is unchecked. It must remain unchecked for agents to be able to log in. If the check box was checked during Unified ICM installation, you must reinstall Unified ICM and make sure the check box remains unchecked.
    I reinstalled CTI Server without that checkbox and now the agent is able to login.
    Thanks all for your help.
    Cristian

  • Why do I get charged for data while I am connected to WiFi?

    I am having issues with data usage on one of the 5 iPhones on my plan and have been keeping track of the data on all of the phones on my plan. I have noticed that I am being billed for data at night while I am sleeping and my phone is connected to my home wifi. Why is this? Is it just a way for Verizon to make more money? 

    Are you certain that you are connected to your home WiFi? If you are truly connected to WiFi, then the data connection from VZW should be disconnected. I would recommend checking your settings to ensure you are truly indeed connected to WiFi in your home and if so, then I would then suggest contacting Tier 2 technical support at VZW by calling 611 from another device so that you can work with support with your phone while on the line with them.
    NOTE: iOS devices do NOT support WPS directly and if you are attempting to connect your home WiFi in this fashion, you will need to log into your home router and get the exact Paraphrase for your router and enter that into your iPhone.
    Hope this makes sense and helps.
    Best Wishes,
    The Doctor

  • A/C doc is not getting Generated for Excise while MIGO_GR

    Hi
    In import Purchase order scenario I am unable to capture part 2 for excise materials
    First I have created import PO. Then I did miro where I posted BED,AED,ECS,SECss
    After that I did migo and captured part 1
    After that while I was Posting part 2 with ref to vendor invoice I m getting an error message as
    NO CENVAT AMOUNT TO BE POSTED
    NO CENVAT AMOUNT TO BE REVERSED
    We are using taxinj
    Can u please help me out in solving this issue?
    Rahul

    Hi,
    In IMPORT PO, first step while creating PO, deselect the GR based IV.
    and for CVD(JCV1), give the custom as vender and save.
    2. Go to MIRO, selct the planned delivery cost and do the MIRO.
    3. go to J1IEX, capture Excise Invoice....here give the commercial Invoice Number i.e. your MIRO document number.
    4. Go to MIGO, as soon as u gave the PO number, system will ask for commercial Invoice Numer.
    5. After posting Part1 in MIGO, go to J1iex now to post cenvat amount.
    Regards,
    Pardeep Malik

  • [SOLVED] Gnome 3 - Audio gets loud for a while after changing volume

    I'm running gnome 3.4.2 (info from gnome-session --version), running pulse audio.
    Every time I increase or decrease volume music gets really loud for a few milliseconds and then it gets back to be "quiet".
    The only "hint" what to do with this I found was to turn off alert sound (already done), but it doesn't work. And this is really getting annoying.
    I have now idea what info is relevant for solving this problem so please just ask and I add more.
    BTW: I have a feeling that whole system is "quiet" (I'm running almost all the time at 90-95% of max volume).
    Last edited by vyktor (2012-10-10 13:20:48)

    vyktor wrote:Weird, VLC works just fine, but MPD and youtube (via chrome) is crazy.
    Do you have pulseaudio-alsa installed?

  • Not getting values for HR_READ_SUBTYPE while calling from Webdynpro appl

    Hello,
    When we pass infotype,begda,endda and other required parameters and run this FM in standalone we are
    getting values however when same FM is called through Webdynpro ABAP application it is not returning values.
    I tried debugging and i found out that some buffer issue is there.
    But still my problem is not sloved.
    can anyone tell me what can be the reason?
    Regards,
    Mayank

    Hi Mayank,
    Can you tell me how much entries you are getting in return when you run FM standalone.
    there may be possiblility of huge amount of data returnning.
    If u can give more details that will be great!!
    Thanks

  • When I log in to my admin account. Mac hangs for a while and shuts down

    I had a error first something like cannot open the home folder. Since then when I log in with my user and password mac icon comes in and then a scroll bar type of things appears at the bottom and shuts down. Can u help.

    The icon in the upper right of the screen (assuming you are using the Mail app) that looks like a square with a pen is the new message button. Tap that to create a new mail message.

  • Why does Firefox on my Windows 7 PC hang (become unresponsive) while it waits for most pages to load or run scripts?

    Firefox hangs (becomes unresponsive) when accessing many sites including Gmail. Eventually, when hung, Firefox will throw up a window saying "WARNING: A script has become unresponsive" or, in the case of Gmail, the page itself will say "Some Gmail features have failed to load due to an internet connectivity problem."
    IE8 and Google Chrome are working normally. I've tried Firefox in safe mode, re-installing and even running Firefox portable from a USB thumb drive. Each time with the same result—Firefox hangs or becomes unresponsive while it waits for most pages to load or run scripts.
    #### PC Workstation Environment ####
    Firefox 13.0.1
    Windows 7
    Symantec Endpoint Protection 11.0.6200.754
    --

    Your problem sounds like the one that a co-worker and I started to have about the same time. Check your Symantec client management control log. You might see a line like the following.
    Date and Time Severity Level Action Test / Production Description API Class Rule Caller Process ID Caller Process Parameter User
    2012-07-30 10:48:09 AM 15 Block Production Unauthorized NT call rejected by protection driver. System Built-in rule 1608 FlashplayerPlu FuncID-B6H, R... None
    At first we thought that it was a Javascript problem until we noticed this log. The key words are 'Block' and 'FlashPlayerPlu'. This problem recently started for us, perhaps with a software push 1-2 weeks ago. Internet Explorer does not hang when accessing pages with Flash.
    The Flash page does eventually load after a long time. However, since the whole browser hangs for a while, for the most part having the Flash plugin enabled makes Firefox unusable if accessing pages with Flash.
    Disabling the Flash plugin solves the hanging problem, but I do not know what is causing the problem, nor do I know when a combination of Windows 7, Flash, and Symantec will work. Your later version of Symantec shows that we might have the problem for a while, but I do not know what customization CSC did with Symantec. My coworker did run a complete virus scan, uncovering nothing. Another co-worker is running Windows XP. She does not have the problem, but I do not know what other versions of software she is running.
    Symantec Endpoint Protection version 11.0.6100.645
    Flash version 11.3.300.268
    Firefox version 14.0.1
    Windows 7 32-bit service pack 1

  • Adobe Connect gets hanged when enabling/disabling audio

    Hi everyone!
    My name is Dani and I'm from Spain.
    We've just started using Adobe Connect but we are facing an unknown issue. (Art least, it's unknown for me )
    I start a meeting as a host, then 2 or 3 people connect to it as guests, and then, everytime I enable or disable my own audio (through the direct icon) the entire platform gets hanged for 2 or 3 seconds. Very annoying!
    We are using the adobe connect add-in in a computer with that configuration:
    - Dell Optiplex 760
    - Windows 7 x64
    - 8 GB RAM
    - Microsoft LifeCam HD
    - ATI radeon graphic card (256MB)
    - A DSL dedicated simetric line
    Your help would be appreciated!!
    Thanks in advance!!

    Hi everyone!
    My name is Dani and I'm from Spain.
    We've just started using Adobe Connect but we are facing an unknown issue. (Art least, it's unknown for me )
    I start a meeting as a host, then 2 or 3 people connect to it as guests, and then, everytime I enable or disable my own audio (through the direct icon) the entire platform gets hanged for 2 or 3 seconds. Very annoying!
    We are using the adobe connect add-in in a computer with that configuration:
    - Dell Optiplex 760
    - Windows 7 x64
    - 8 GB RAM
    - Microsoft LifeCam HD
    - ATI radeon graphic card (256MB)
    - A DSL dedicated simetric line
    Your help would be appreciated!!
    Thanks in advance!!

  • N8 - Recording video freeze for a while

    Hi!
    My problem is that when I record video with my N8, in 1 of 3 times that I use, the video get freeze for a while, and that affect the final result. I put a video to help you understan it better (sorry for my description and my English, but it isn't my nativa spoken language )
    http://www.youtube.com/watch?v=E9pv8xXq7XQ
    En the 6 second the image freeze a while, can you see it? It happens lot of times, and I made hard-resets, upgrades of firmware...all I can imagine trying to repair, but I couldn't get any result
    Does it happen to your N8's? Or have you got any odea of a solution?
    Thanks!

    Without system information and other details nobody can tell you anything. This could simply be some online feature like TypeKit taking a moment to check the connection or whatever...
    Mylenium

  • Mozilla firefox get hang , when i click on a link to download a file using Interenet Download manager. any solution??

    When i click on any link to download a file ( software, document etc.) using idm , the firefox get hang for sometime till the download dialogue box don't come. any solution to this problem.??

    Try to start Firefox in [[Safe mode|Safe mode]]. This mode disables all extensions, user customizations, hardware acceleration, etc. temporarily for diagnostic and troubleshooting. If Firefox works find in Safe Mode, then this is likely an add-on issue. Restart Firefox in normal mode, then type "About:addons" (without the quotes) in the address bar. Disable your extensions one by one, restarting Firefox between each one, until you find the trouble maker. Once you do, you can disable that add-on and report the issue to that add-on's developer.
    A few other basic trouble shooting things you can try is this:
    Run all Windows Updates, install all needed service packs, etc.
    Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers].
    Update all your plugins (Flash, Java, etc.): [http://www.mozilla.org/plugincheck/ http://www.mozilla.org/plugincheck/].
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]. This helps check that there are no viruses on your computer causing issues. You can uninstall this program after you clean off any infections.

  • Pavilion dv6-6016tx getting hanged recently bought

    Bought this notebook on June 30, 2011 (not even two months old). Since two days, its getting hang for no reason. Also lower left portion of the notebook is getting very hot. Using it on plain surface as per instructions. I have not installed any new software recently. Antivirus and updates etc are as per HP recommendations.  How do I get rid of this problem ? please help

    There is no harm in running a diagnostics just to be sure we isolate the issue happening on your computer. I actually posted incorrect link earlier. Please find right one below
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01443317
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • Berkeley  DB JE is getting hanged while calling environment sync method.

    Hi,
    I am developing an application in Java and I am using JE edition of Berkeley. I am facing an issue, during shutdown operation I am calling syn method of EntityStore class and Environment class.
    The EntityStore.sync() is getting completed but during executing of Environment.sync() the control is not coming out of this statement. Below is the code that I am using to perform sync operation.
    if (myEnv != null) {
    try {
    entityStore.sync(); //Calling sync method of Entity Store Class.
    log.error("Finished Syncing of Entity Store");
    myEnv.sync(); // Calling Sync method of Environment Class. Control is not coming out of this sync call.
    log.error("Finished Syncing of Environment");
    } catch (DatabaseException dbe) {
    log.error("DataBase exception duing close operation ",dbe);
    } catch (IllegalStateException ie) {
    logger.fatal("Cursor not closed: ", ie);
    During my unit testing I was changing system date and perfoming some db operation. While I during down the application the the above code gets executed but the system is getting hanged and control is not coming out of Environment sync method call. Can some one tell why the sync is causing the system to hang.
    Thanks in advance.

    Hello,
    You did not mention the version of BDB JE. In any case for BDB JE questions the correct forum is at:
    Berkeley DB Java Edition
    Thanks,
    Sandra

Maybe you are looking for

  • Baseline date should in display mode

    Hi all, Our client wants baseline date should be display mode only. Now users are changing the proposed baseline date so client wants this should be not changeable. Please help. regards, Azeem

  • E51 upgrade problem / slow contacts/messages respo...

    Hi there All.. I'm as many the proud and happy owner of a Nokia E51. At first i found the software very responsive, quick and an great deal faster than my previous owned N95. after a short while the following start to occur: When i go form "desktop",

  • How to retrieve from browser

    If you're not familiar with retrieving through your browser: 1) sign in 2) click on convert a file 3) browse for the file you want to convert 4) start the upload 5) when it's done, a dialog box will pop up that includes a delivery option. chose recei

  • WORKFLOW Container Issue - Empty Lines not Appended to SWW_CONT Table

    good day fellow developers.. any one encountered this error? I have a WF Container declared as multi line... In my program before i start the workflow i append 3 lines on the  table.. line 1 = SPACE line 2 = 10000 line 3 = 20000 i already check the F

  • How do I keep photoshop from changing extensions from .JPG to .jpg

    How do I keep photoshop from changing extensions from .JPG to .jpg?