Application interface blanks out....

Hi I've written a rather large Java program. I've never been very interested in the GUI side of things, but as a consequence of people complaining that my GUI was non-intuitive I've had to redo it.
Anyway, I've just recently noticed that when the back-end of my program is occupied (i.e. processing) that my interface doesn't display anything. It seems that I have taken the thread that controls the appearance of my interface away from it and then whenever I click on other applications and have them display on top of my java application, then minimize them, their interface is still within my program interface's window.
Just recently I've added the ability of my program to show the user progress. So I would like my interface to always be visible. Typical run time of my program's back end can be over an hour, so naturally I would like to keep the user informed.
Can someone tell me what I have done wrong in terms of allowing the GUI to maintain a thread for its processing? My back-end is completely threaded, so it shouldn't be "taking the GUI thread away from my GUI"...
Any help or suggestions would be appreciated.
Thanks,
Tim

Hi
Because swing is single threaded, all none gui processing should be none blocking and anything that updates the gui should be berformed on the swing thread.
Use javax.swing.SwingUtilities.invokeLater method to update on the swing thread. and use a new Thread to perform processing work
new Thread() {
public void run() {
}.start();

Similar Messages

  • Iron port slow connection through firewall interface, data blanked out

    Hi Alll
    Installing a new pair of IronPort c170 appliances behind a ASA 5520 and currently getting blanked out response when connecting via telnet on port 25 to the outside interface.  Testing this internally there are no issues and the hostname is shown, but from the outside, response is very slow and some information is masked as xxxxxxx.
    Going through the ASA, esmtp stateful packet inspection is removed and the IPS has already been ruled out.
    Has anyone come accross this issue before. Please could you shine some light on this.
    Many thanks

    Hello James,
    when some of the information is masked, this means you still have SMTP fixup enabled on the ASA. I am not an expert on these devices, but here is an article on this topic that may be useful:
    Article #1816: Why do we see XXXXXXXA after EHLO and "500 #5.5.1 command not recognized" after STARTTLS? Link: http://tools.cisco.com/squish/E68cB
    Hope that helps.
    Andreas

  • Where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable.

    where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable. Thank you.

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • Lenovo Application Interface returned an unexpected return code: 2

    I am trying to install Lenovo Application Interface 1.0.0.8 (http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkcentre_drivers/c1acp21us17.exe) according to install instructions (http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkcentre_drivers/c1acp21us17.txt)
    but getting the above error in ZTIApplications.log.
    We use USB Media to deploy images, so wondering why I get this error? Could the USB drive be not available at this point of the deployment and therefore errors out complaining the files dont exist?
    I am choosing the first option when adding the application so all source files are included on USB - I can even manually install at the end of deployment directly from attached USB using the file.exe /VERYSILENT command.

    http://support.microsoft.com/kb/290158/en-us
    ERROR_INSTALL_TEMP_
    UNWRITABLE              1632   The temp folder is either full or
                                    inaccessible. Verify that the temp folder
                                    exists and that you can write to it.
    Check the MSI installation logs. Whenever I install *.msi packages in MDT I turn on logging:
    Msiexec.exe /qb- /l*vx %LogPath%\<file>.log REBOOT=ReallySuppress UILevel=67 ALLUSERS=2 /i <File>.msi
    http://keithga.wordpress.com/2013/09/04/application-installation-and-packaging-via-mdt-and-sccm/
    Keith Garner - keithga.wordpress.com

  • Vista: Flash CS3 literally flashes then blanks out toolboxes

    Something very annoying occurs in Flash CS3, and sometimes
    other Adobe products like Photoshop CS3. When pressing down the
    mouse button for a while (i.e. when dragging something), Flash
    suddenly flashes once and blanks out all toolboxes. Hovering over
    the toolboxes makes the items reappear. Minimizing then maximizing
    Flash also works, which makes me wonder if Vista's display drivers
    are the cause. It happens randomly in Photoshop, but in Flash I can
    actually trigger this by holding down the mouse button for a few
    seconds, so
    here's
    a video.
    Very very annoying, having to minimize/maximize your
    application every five minutes. Any ideas?

    I haven't been clicking things fast. It happens when I try to save. It's not random. I've spent a decent amount of time on google and haven't found a solution. There are a lot of results about freezing and crashing, but I haven't found any on freezing due to saving.
    I know it should be fine, but that's what's weird about it. It shouldn't be freezing like this and it's at a point where it's not something I can ignore.

  • Calls blanking out

    I have a blackberry curve 9300 and I have T-mobile... While I am in a call all of a sudden the call blanks out for about 30 sec.. I can't hear anything or can't be heard. My phone is connected to my wireless and also the 3G network. I notice that on the phone it switches between UMA, EDGE, and a few others. Im not even sure what that is and if it has anything to do with it. I don't think that it is T-Mobile because I'm the only one that this happens to.. Its very frustrating! Anyone have any ideas??

    The easiest thing you can do to troubleshoot this issue would be backup your device, then do a security wipe on your device. This will remove all data off your device except for the device software. Before you do anything be sure to backup your device.
    How to delete all data and applications from the BlackBerry smartphone using the Wipe Handheld option - KB14058
    http://www.blackberry.com/btsc/KB14058
    Once the wipe is complete, I recommend testing the phone calls and seeing if they still drop or not.
    Hope this helps.

  • Application session time out

    Hello
    i have an application deployed on weblogic 11. after 30mins the application session times out.
    1.how can increase this time.
    2. can this be done in weblogic since on the application side there is no configuration for the time out.
    please assist me
    Thanks

    Hello;
    On middleware the default should be 3600 seconds.
    To change :
    Login to the WebLogic Administration Console
    Under domain structure click Deployments
    Click on the "em" Enterprise Application
    Click on the Configuration Tab
    Set "Session Timeout (in seconds):" to 7200 ( or whatever you want )
    Hit the Save button to save your changes in the deployment plan
    I would make sure an idle timeout in not set in the database profile as well.
    Best Regards
    mseberg
    Also worth a look :
    How to Troubleshoot Oracle Fusion Middleware 11g OPMN Issues? [ID 1303000.1]
    Edited by: mseberg on Oct 28, 2011 12:41 PM

  • Connection leaks and application is running out of connection

    Hi All,
    We have configured the SQL Database external resource for OBPM specific connection pool. All the business processes are using the Fuego.Sql package for the data base transaction calls. I have no clue how this package is managing the database connections. If more than 25 users perform concurrent testing, the application is running out of connections. Connection pool configuration details as below.
    Maximum Pool Size : 500
    Maximum connections per user : 50
    Minimun Pool Size : 0
    Connection Idle Time (mins). : 5
    Maximum Opened Cursors : 1000
    Please share your thoughts on how I can track and fix this issue. Also please let me know the answers below.
    1. Is there any way to find out the stats about the connection pool
    2. If I configure the remote JDBC that points to J2EE datasource, would that fix this issue.
    I appreciate your help.
    Thanks,

    Can anyone please share your ideas?
    Thanks,

  • I just upgraded to Lion 10.7.2 and it says that it will not support Power PC programs so my 2008 version of Mac Office and Intuit Quickbooks are blanked out.  I need these programs.  How do I proceed?

    I just upgraded to Lion 10.7.2 and it says that it will not support Power PC programs and has blanked out my 2008 version of MS Office for Mac and Intuit's Quickbooks.  How do I proceed to get these programs back?

    Upgrade to newer versions compatible with Lion or downgrade to Snow Leopard:
    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

  • How do I play a video in full-screen mode on one screen of a dual-screen Windows 7 system without blanking out the other screen?

    How do I play a video in full-screen mode on one screen of a dual-screen Windows 7 system without blanking out the other screen?  Not losing the other screen would be useful as I would like to, for example, monitor my emails whilst watching a video or to work on a project whilst watching an instructional video.
    Note : Resizing a window to fill the screen is not acceptable as it still leaves unsightly borders.

    bump

  • MIGO - Blank out the Qty in unit of entry field on PO receipt

    Within MIGO upon PO receipt, standard behaviour is that it defaults Qty in unit of entry field to the total remaining outstanding qty.
    Customer has requirement to blank out the Qty in unit of entry field on PO receipt.
    We have looked at Business Add Ins for MIGO (e.g MB_MIGO_ITEM_BADI, MB_MIGO_BADI etc) and does not appear to be feasible.
    Does anyone know a way to do this ?
    Regards.
    Phil.

    Hi Joyce Roessner
    Could you please check in MB01 t-code & see quantity field is open for edit or not.
    This is controlled at Field selection & can be customised at fuctional level.
    Make GOITEM-MENGE as Input at follwoing path
    SPRO>MM>INv Mgmt & Phy Inv > Settings for enjoy trans>Settings for goods mvt(MIGO)>Field selection for MIGO
    Thanks,
    Mahesh

  • My WiFi is not working on my ipod touch third gen. The wifi option in setting is blanked out so i am unabole to select it. I have tried restored it and resetting network connections. Also the battery life is very low.

    My WiFi is not working on my ipod touch third gen. The wifi option in setting is blanked out so i am unabole to select it. I have tried restored it and resetting network connections. Also the battery life is very low. How do i fix this????????????

    If a restore did not fix it, you have a hardware issue--possible bad wi-fi radio.
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • Cannot open nib - The application Interface Builder quit unexpectedly

    Just installed the iPhone SDK and installed sample code. The Interface Builder will not start. At startup, the following message is displayed: "The application Interface Builder quit unexpectedly."
    I've tried the standard Xcode SDK and it has the same problem. I've repaired permissions on the disk, to no avail. I'm stumped on this. Thanks for any suggestions.
    Here's the first section of the crash report, showing the builds for Interface builder and Mac OS X (10.5.6).
    Process: Interface Builder 8090
    Path: /Developer/Applications/Interface Builder.app/Contents/MacOS/Interface Builder
    Identifier: com.apple.InterfaceBuilder3
    Version: 3.1.2 (677)
    Build Info: InterfaceBuilder-6770000~1
    Code Type: X86 (Native)
    Parent Process: launchd 137
    Date/Time: 2009-01-03 19:29:24.618 -0700
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000011
    Crashed Thread: 0
    Thread 0 Crashed:
    0 com.apple.CoreFoundation 0x910272b4 CFRetain + 36
    1 com.apple.HIToolbox 0x911ff566 TThemeFont::SetCTFont(__CTFont const*) + 62
    2 com.apple.HIToolbox 0x911ff4f4 TThemeSpecifiedFont::Init(THIThemeTextInfo const*) + 32
    3 com.apple.HIToolbox 0x9110ccb3 ThemeFontCreate(THIThemeTextInfo const*) + 239
    4 com.apple.HIToolbox 0x9110cb85 TThemeText::ConstructThemeFontWithFontID(__CFString const*, THIThemeTextInfo const*) + 79
    5 com.apple.HIToolbox 0x9110ca49 TCoreTextEngine::Init(void const*, THIThemeTextInfo const*) + 159
    6 com.apple.HIToolbox 0x9110c781 TThemeTextCache::Create(void const*, THIThemeTextInfo const*) + 177
    7 com.apple.HIToolbox 0x9110c659 ThemeTextCreate(void const*, THIThemeTextInfo const*) + 33
    8 com.apple.HIToolbox 0x9110c3b5 DataEngine::GetTextDimensions(void const*, float, HIThemeTextInfo*, float*, float*, float*) + 289
    9 com.apple.HIToolbox 0x9110c250 HIThemeGetTextDimensions + 202
    10 com.apple.HIToolbox 0x912abbad HIClockView::CalculateTextDimensions() + 133
    11 com.apple.HIToolbox 0x912abd82 HIClockView::GetOptimalSizeSelf(CGSize*, float*) + 118
    12 com.apple.HIToolbox 0x9114852d HIView::SendGetOptimalBounds(CGRect*, float*) + 151
    13 com.apple.HIToolbox 0x9114846d HIView::GetOptimalSize(CGSize*, float*) + 53
    14 com.apple.HIToolbox 0x9119bd85 GetBestControlRect + 105
    15 ...terfaceBuilder.CarbonPlugin 0x162f127a IBWindowForHostingCarbonControls + 9638
    16 ...terfaceBuilder.CarbonPlugin 0x162f1b1f IBWindowForHostingCarbonControls + 11851
    17 ...terfaceBuilder.CarbonPlugin 0x162f2766 IBWindowForHostingCarbonControls + 14994
    18 ...terfaceBuilder.CarbonPlugin 0x162f37c8 IBWindowForHostingCarbonControls + 19188
    19 ...terfaceBuilder.CarbonPlugin 0x162eb17a 0x162e5000 + 24954
    20 com.apple.InterfaceBuilderKit 0x002c65e0 -IBLibraryObjectTemplate classesOfPasteboardObjects + 194
    21 com.apple.InterfaceBuilderKit 0x002c64b9 -IBLibraryController typeSummaryForObjectTemplate: + 106
    22 com.apple.InterfaceBuilderKit 0x002c5fc4 -IBLibraryController createAssetForTemplate:inNamespace: + 554
    23 com.apple.InterfaceBuilderKit 0x002c4fe3 -IBLibraryController createAssetsFromTemplatesInNibNamed:forPlugin: + 746
    24 com.apple.InterfaceBuilderKit 0x002c499e -IBLibraryController loadLibraryObjectsForPlugin: + 287
    25 com.apple.InterfaceBuilderKit 0x002c414e -IBPlugin didLoad + 480
    26 ...terfaceBuilder.CarbonPlugin 0x162ea66f 0x162e5000 + 22127
    27 com.apple.InterfaceBuilderKit 0x002c389f -IBPluginController loadPluginAtPath:error: + 2809
    28 com.apple.InterfaceBuilder3 0x00002345 0x1000 + 4933
    29 com.apple.AppKit 0x91f983a3 -NSApplication run + 83
    30 com.apple.AppKit 0x91f658a4 NSApplicationMain + 574
    31 com.apple.InterfaceBuilder3 0x00004eca 0x1000 + 16074

    Thanks for asking. It happens when I click the "Interface builder.app" name in finder and when I double-click an .xib file name in finder.
    As I mentioned, I have repaired permissions on the drive to no avail. I have also read older posts on the web referring to various preference plist files but those don't exist with this build of xcode.
    I have also had older builds of xcode on this mbp and worked thru a couple of tutorials. Interface Builder from those older builds worked. I'm not sure were to get them, now, and I doubt they would have the iphone sdk included.

  • PO Account assignment category change blanks out GL account

    When changing the AAC on a PO from 'I' to a 'U', for certain price conditions, the GL account gets blanked out. The OME9 setting for both I and U is 'GL account number field is mandatory'. This occurs even when no GR/IR have been performed on the PO. The error message ME083 - 'Enter GL Account' is thrown. Occurs in ME22N and when using BAPI_PO_ChANGE. Is this normal?
    Thanks for your help.
    -Sanjay

    I think it is normal.  There is a checkbox 'Derive acct. assgt.' in OME9.  Here is the help text on this field.
    If Inventory Management is not active in your system, you must specify (enter) the preliminary account assignments for all the items manually. Setting this indicator enables you to by-pass this step. You will then no longer get the dialog box for the entry of a preliminary account assignment.
    You maintain the automatic account assignment specification facility using the Customizing functionality of Financial Accounting under Maintain automatic account determination.
    Check the checkbox and see if it solves your issue.  Apparently, checking this checkbox enables fetching the account from Maintain automatic account assignment config. table.

  • I am on a Windows 7 OS attempting to reduce pdf size with my Adobe Acrobat Standard XI & Pro.  The application keeps timing out and  at the Subsetting embedded fonts portion and the application gives "Adobe Acrobat has stopped working" and then closes.  T

    I am on a Windows 7 OS attempting to reduce pdf size with my Adobe Acrobat Standard XI & Pro.  The application keeps timing out and  at the Subsetting embedded fonts portion and the application gives "Adobe Acrobat has stopped working" and then closes.  The document is 275 pages.  Is there something I can do to stop this?

    Hi Ricci,
    Since when are you facing this issue? Did you tried system restore to a date before this problem occured.
    Does acrobat stop working when you open this specific pdf file or with any pdf file that you open?
    Regards,
    Rahul

Maybe you are looking for

  • Authorization to change attribute co.code

    Hi, We have tested and see that authorization to change attributes is coming from role /SAPSRM/MANAGER. Our goal in here is to make the attribute company code to be changeable for purchaser, but the purchaser cannot change other attribute. Can someon

  • Concept behind, strengths and weaknesses of NetWeaver?

    Hi, what is the concept behind NetWeaver? What kind of strengths and weaknesses did NetWeaver have? And which position did NetWeaver have in the context of ESOA? Dokuments are also from interesting! THX Chris

  • Usb will not open and pop up says computer will not accept it

    In transferring files from a mac mini to an imac, I was able to open and load a usb.  But when I inserted the usb into the i mac, it would not open.  When I returned the usb to the mini to retrieve the files, it would not open there as well.  A pop u

  • Is powerbook can update OS 10.3.9 to OS 10.4 Tiger? & How?

    Hi there I have a power book 1.5GHZ with 1.5GB RM, my OS X 10.3.9.. Today I got Tiger OS X 10.4.8 & OS X v10.5 Leopard.. BUT when I put the Tiger into my mac and restart with C key word.. after that show " gray image with power button & lots computer

  • Blender crashes when I try to adjust something

    On AwesomeWM, Blender crashes when I try to expand the bar by dragging it. However, on GNOME, it works fine (there is lag, but it doesn't crash). My blender version is: >>> blender -v [~] Blender 2.49 (sub 2) Build Here is the error I get when I try