Traces when moving swing windows

Hello,
when I move a swing frame to another place on the sceen, thereby crossing over another frame, the moving frame leaves traces on the lower one in the form of white cascading stripes. I first thought this is due to my old graphic board. But now I have a new computer with Win7 and it's still the same. Moreover I observed that the traces happen only on swing windows and never on other applications' windows.
Is this a peculiarity of my site or a common phenomenon?

Joerg22 wrote:
Well, the "empty" panel I just mentioned, is shown when the JFrame comes up and the application "waits" for some menu being selected. That should not block the EDT, does it? Since there is no other activity in the appliction, I wonder whether suspending the EDT will make a change, but I'm ready to run any test you want me to.With just two frames I mean:
import java.awt.Color;
import java.awt.Dimension;
import java.awt.EventQueue;
import javax.swing.JFrame;
public class TestFrames {
    public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                JFrame red = new JFrame("RED");
                red.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                red.getContentPane().setBackground(Color.RED);
                red.setPreferredSize(new Dimension(800, 600));
                red.pack();
                red.setLocationRelativeTo(null);
                red.setVisible(true);
                JFrame green = new JFrame("GREEN");
                green.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                green.setPreferredSize(new Dimension(800, 600));
                green.getContentPane().setBackground(Color.GREEN);
                green.pack();
                green.setLocationRelativeTo(red);
                green.setVisible(true);
}If that doesn't show the stripes moving one frame over the other, I suggested to manually suspend the EDT while debugging to see if that will cause the same stripes. If it produces much more artifacts, then the stripes are probably not caused by a blocked EDT.

Similar Messages

  • High cpu usage when moving application windows

    Hello all,
    I have two machines with arch installed:
    - an eeepc 701 surf/intel gpu(xorg driver) with xfce
    - an amd 3800+ X2/nvidia 8860 gt(proprietary driver) with kdemod3(also checked with xfce4)/arch amd64 installed.
    I noticed that when i move a window of an application(for example konsole, etc..) too fast i get high cpu usage(30-40 %), when checking with htop.
    Is it normal that the X server uses the cpu so much when moving a window??
    EDIT: up to now i tested it in a friends windows machine, and it happens exactly the same, so i guess is normal. It seems i need to be informed better about how X works :-)
    Last edited by mechmg93 (2008-10-15 08:04:10)

    today i switced back my desktop system to debian unstable and tried to see what the difference is concerning this problem.
    I found out that in kde3 the solution to the "problem" is debians kde default configuration about window behaviour.
    Especially the one mentioned below :
    In debian this is not ticked and this has as a result zero cpu usage when windows are moved.
    Last edited by mechmg93 (2008-10-23 18:36:58)

  • CS5 with OpenGL : Is there a way to disable the "inertia" when moving the window ?

    Hello,
    Following a hardware change, photoshop automatically re-enabled a feature I had deactivated, the OpenGL acceleration.
    I gave up on it 18 months ago because of one thing that incredibly irritated me, the crazy "inertia" when we moved elements.
    Let's say you have an open document. The image is too large for your photoshop window, you only see a part of it.
    So, you keep the Space key held, and you drag and drop with your left mouse click.
    Without openGL acceleration : the moving ends as soon as you release your mouse.
    With openGL acceleration : the moving gradually slows down until it comes to an end, meaning you have zero control over your work window.
    And, well, that's enough of a bother for me to give up on OpenGL acceleration.
    Please, would you know if there's a way to get rid of this feature ? I searched everywhere I could, I think I tried every one of photoshop's options, but to no avail, sadly
    Thank you very much if you can help
    Kind regards,

    Hello Conroy !
    That was it ! Thank you VERY much, I'm really grateful for your help

  • Compressor Crashes When Moving App Window

    Compressor v3x
    I'm having an issue where Compressor will crash when I'm moving the app's window around the desktop. Nothing special going on - just regular work. Setting a QT to compress. Just as soon as I move the window around - bam it crashes to the desktop.
    Compressor related or something different?
    I've got all the recent updates applied.
    Thanks!

    The only reason to suspect the OS is if moving windows in other applications causes the same crash.
    Sorry not to be of more help, I've only seen crashes by touching windows in a few apps. ONe that bugs the crap out of me these days is Microsoft Entourage for the Mac, part of the Office 2008 suite. Not all the time, but sometimes, which makes debugging it impossible, touching the pullout device in the lower right of the app's main window will crash the application.
    This is not related to anything except Microsoft's application, but that's just my isolated case; the same app on an identical Mac does not crash.
    bogiesan

  • Applet jerks when moving a window over it

    Hi together !
    I'm programming an applet at the moment. In that I move many pictures from up to down so an turning effect comes up.
    I have realised this with the grapics objekt from Java and the Graphics.drawImage() methode. I begin to draw the picture on the top of the applet wait a little time and then draw it again down on the y-axis until the and of the applet.
    My problem now is that this effect hangs up or is jerking when i move another window over the applet. This seems to be a general problem of many applets, but I have seen some good applets where this problem does not appear.
    Maybe anyone got an idea how i can solve this?
    TY, Java_programmer_21

    AndrewThompson64 wrote:
    Welcome to the Sun forums.
    Java_programmer_21 wrote:
    Hi together !Don't call me 'together'.
    I'm sorry that i called you 'together'. I didn't knew that you are the only one that can answer questions here :-D.
    I'm programming an applet..Stop that right now! GUIs are difficult, and applets are another order of magnitude harder to develop and debug. They are not for newbies.
    I'm not a newbie!
    Maybe anyone got an idea how i can solve this?Double buffering.
    If you cannot figure how to proceed from that tip, is validates my earlier comment to "Stop that right now!".By the way i know what Double Buffering is and I'm also using it, but this don't solves the problem! The problem normally don't appears! It only appears when I move another window over the applet.
    If anyone else got a possible solution which he can post, I would be glad!

  • cfdocument and cfchart stopped working when moved to Windows 2003/IIS6

    We just moved our content to a new server: from Windows 2000 to Windows  2003 (IIS6).
    We are using Cold Fusion MX 7,0,2,142559.
    Everything works properly after the move except:
    1. <cfdocument> (any, the simpliest one) hangs producing error:"The  document has no pages. null "
    2. <cfchart> crashes producing error: "Invalid attribute: autoAdjust null"
    What can it be? Where should we look? Is it some Windows 2003  feature/problem/blockage? Or does it look like Cold Fusion was not  installed properly?
    Any Hot Fixes are required?
    Any ideas are welcome!!!

    I would avoid installing 7.0.1 hotfixes on an 7.0.2 installation.   The 7.0.2 release notes state that "It also includes all previous ColdFusion MX 7 hot fixes that have been released to date, eliminating the need to install multiple hot fixes and patches."
    CF 7.0.2 Release notes
    http://www.adobe.com/support/documentation/en/coldfusion/mx702/cf702_releasenotes.html 
    You might try installing the ColdFusion MX 7.02 Cumulative Hot Fix 3 or the CFDocument Cumulative Hot Fix. 
    ColdFusion MX 7.02 Cumulative Hot Fix 3
    http://kb2.adobe.com/cps/402/kb402465.html 
    ColdFusion MX 7.02 - CFDocument Cumulative Hot Fix
    http://kb2.adobe.com/cps/402/kb402093.html

  • JDS3 hangs XDMCP when moving a window as root

    I am running Solaris 10 06/06 on a SPARC and connecting via XDMCP using Cygwin/X on a PC.
    If a log in as a non-root user on a JDS session, then su -, then open a terminal window, if I move the terminal window, the XDMCP session appears to hang. Cygwin itself doesn't bomb, just the X session window.
    If I use a CDE session, this does not happen.
    Any advice is appreciated.

    Hi,
    Just wanted to add to the previous message. We are running Solaris 10 11/06 and having quite similar problem. Logging in from PC using Cygwin/X windows move around fine at first. Then the window being moved just hangs for a minute with frame of window showing. The mouse pointer still moves around fine. CDE performes flawlessly.
    The JDS takes forever to log out also. Almost 3.46 minutes!
    We have another Sun Blade 2500 running Solaris Express 11 11/06 which does not have these issues.
    I login to Failsafe Session and issue gnome-session and this:
    SESSION_MANAGER=local /WMSWS04:/tmp/.ICE-unix/2243,inet6/WMSWS04:33572.inet/WMSWS04:33573
    (gnome-session:2243): GLib-G)bject-CRITICAL **: file gobject.c: line 1579: assertion 'G_IS_OBJECT (object)' failed
    then there are a bunch of:
    permset_set fa49fc48: n=3
    Then:
    ** (gnome-panel:2276): WARNING **: Cannot open font file for Arial 9
    Thanks for any help on this issue,
    James

  • [SOLVED] Windows lag when moved...?

    Using Xfce, with and without composite, the windows lag when being moved. It's like the whole window isn't held together properly; the window movement is kind of choppy, but still smooth, if that makes any sense.
    This makes for a rather bad experience. And I'm clueless as to what causes this. It's certainly not my HW:
    CPU: i5-2500k
    GPU: GTX 460
    RAM: 8GB, 1600mhz
    Also, even more disturbing, is that when moving a window there seems, if you look closely enough, to be a white after-effect where text and the pointer was a few moments ago. As an example: If I grab a window and move it in a small circle, this happens.
    Any ideas? Running nuts here...
    Last edited by nonah (2012-03-19 00:27:31)

    Okay I'll try but I can't guarantee the completeness. Here are all the steps I managed to recollect:
    First install:
    compiz, compiz-decorator-gtk, ccsm, compiz-fusion-plugins-main
    the decorator and plugins are somewhat optional but will provide you with gtk window borders and more options.
    then edit the following paragraph in /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
    <property name="Client0_Command" type="array">
    <value type="string" value="compiz"/>
    <value type="string" value="ccp"/>
    </property>
    (This replaces xfwm4 with compiz as the default window manager for Xfce)
    Then after running
    sudo nvidia-xconfig
    add the following line to the "Device" section within /etc/X11/xorg.conf
    Option "TripleBuffer" "True"
    also add
    nvidia-settings -l
    to your autostart.
    Now open up ccsm and within "General Options" on the tab "Display Settings":
    tick the option for "Sync to VBlank"
    UNtick the option "Detect refresh rate"
    drag the slider for the refresh rate to match the refresh rate of your display (60 Hz in my case)
    Go back to the main page of ccsm and open "Window decoration". Insert the following line into the "command" field:
    gtk-window-decorator --replace
    (This will provide you with your gtk borders on compiz otherwise you would have to use emerald)
    On the main page of ccsm tick "Move windows" under "Window Management". (Otherwise you won't be able to move windows around at all)
    Restart your system and it should load compiz now. If compiz is acting funny you can always temporarily switch back to xfwm by running "xfwm4 --replace".
    Note that you will have the best video experience with mplayer (no GUI).
    Consider using vdpau as video output with the corresponding codecs if you don't plan to play 10bit H264 videos, otherwise stick to xv.

  • Can Openbox change window transparency/opacity when moving windows?

    Can I configure, within Openbox or a compositing manager, differing window transparency/opacity when moving a window?

    I'm currently using cairo-compmgr, but I've also used xcompmgr in the past. I've played around with the settings in both (and transset-df with xcompmgr), with no luck thus far. While getting terminal and tint2 transparency is fairly trivial, and I've also read that you can set specific windows to always have a certain level of transparency/opacity, I'm not sure that you can get the level of opacity/transparency to change whenever you grab a window and move it around. I think I read that the difficulty lies in the fact that Openbox knows when a window is being moved around, but a compositer doesn't. What I'm looking for may only be possible in a DE where the window management and compositing are integrated (e.g. KWin). Just wondering if anybody has done this with Openbox and a specific compositing manager paired together.
    Last edited by CharBar (2013-04-12 20:11:23)

  • Moving plugin windows around causes spinning beach ball.. 8.0.2 near???

    last q. for now...how come when moving plugin windows around in logic it can sometimes cause the dreaded spinning beach ball?? you think logic is going to crash but it doesn't, it recovers and then runs real sluggish... logic or leopard bug??? i can't wait for 10.5.2 to see what it magically fixes in logic!! any hope that we might have 8.0.2 in the near future...there are all these other updates floating down from cupertino but yet logic seems neglected...

    Thanks Pancenter... appreciate your input. Really useful information. When I bought my Mac Pro, there was an issue with the video cards; if you wanted to run 2 x 30" ACD's, then you had to up the spec to a more powerful card. The guy in the mac shop assured me the GeForce 7300 GT that came with the machine would be sweet enough for 2 x 23's... and it was. But that was with Tiger. (?)
    Is Leopard &/or LP8 graphically more demanding than Tiger &/or LP7... I wouldn't have a clue? Does anyone have an opinion on this? (I'd be REALLY interested!) Are the cards shipping with these machines really up to the job of running the OS AND something as complicated as LP8? My opinion is; They SHOULD be.
    Thanks Zuelito... I had noticed this thread & was surprised/dismayed that even 8 CORE machines were having this problem too! But then, if it's a problem with underpowered graphics cards, I don't suppose it matters how many cores you've got... does it??? Thanks for your post... again, really USEFUL information. I appreciate it! (GREAT thread.)
    I only get this problem when I open anything UAD; it runs happily in the background but out comes "the ball" whenever I open & move more than 1 instance of a UAD plug. Haven't once had it happen with Logic or 3rd party AU's.
    Thanks again for your input... keep it comin'!
    Cheers...

  • Windows Crashes with JRE 1.4.2  When Moving around JDialog

    Hi!
    I work on a Java Applet/application that was originally written to run on java 1.1 -- only AWT that too. Recently I managed to convince my manager (and his manager and his manager) to migrate from the AWT framework on java 1.1 (Microsoft JVM that is ) to Swing/JFC on Sun Java 1.4.2 ... it took a lot of explaining, demostrating, begging, pleading etc., to get this project funded.
    Now, my app is all developed in JFC and ready for deployment and during testing found a potential show stopper -- When a Dialog Box or any moveable componant (internal windows etc) is moved around (holding down the mouse on the title bar of a dialog and dragging it around), the OS simply froze up ... nothing could be done other than power cycling the PC. Does anyone know if its a bug in JRE 1.4.2 and if it has been fixed?? This could potentially result in rolling back to AWT :(( .... and of course me looking like a fool in front of my manager!!
    ..... Please provide any suggestion other than moving to JRE 1.5.x beta. I've also noticed this happening in other Java Applications (Netbeans for example). So, I think this is a major bug the JRE 1.4.2.
    A million thanks and few Duke Dollars for anyone pointing me in the right direction.
    Note:
    1. This problem is not just with my app ... some other java apps that are installed on my workstation (like netbeans) behave the same when Moving Around dialog boxes.
    2. The behaviour is very random. But it has happened multiple times (and the very first time my manager run our app on jre 1.4.2)
    I would give a million dollars if I had them. But for now, please do with the million thanks and few duke dollars.

    Have you tried this on another machine?Yes ... actually this has happened on a few workstations here ... all of them are Pentium IV based dell workstations running Windows 2000.
    What exact version of 1.4.2 did you download?Java(TM) Plug-in: Version 1.4.2_04
    Using JRE version 1.4.2_04 Java HotSpot(TM) Client VM
    Have you searched the bug database? This one could be related to yours:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4673572
    This sounds similar but the difference is its not just the app that feezes up (so that you could do an alt+ctrl+del and kill it)..... the OS freezes up and you can move the mouse around still the system even queu e is not full and eventuall all I hear is the beeping. At this point I've to power cycle.
    Is there any way you could post the code or is it too big? Or, have you tried just creating a very small >application or applet that just shows one dialog, and if so, does that show the same problem? (What I'm >trying to get at here is - is it something in your code that is causing this, or something in the JRE, or >perhaps something to do with your machine's configuration/OS?)Unfortunately I cannot post the code ... its company rules and regulations. I've tried creating a very small app and it appears to work ok .... but randomly causes this freeze up. There is no definate pattern (except that it happens when you move around a JDialog or a JInternalFrame) . It could freeze up some time and work perfectly fine at other times. It has actually happened on other applications too (Netbeans, JEdit etc). That's why I suspect this might be a obscure bug in the JRE.
    I'll try to find a pattern so that it can be re-produced by everyone.
    Thanks for the help.

  • Windows's Restoration wizard is no longer recognising the WindowsImageBackup, when moved from one external HD into another one.

    Hi,
    I created WindowsImageBackup a three-month period ago and saved it on an external hard disk. Then, I have moved/cut this WindowsImageBackup from the  external hard disk was first saved on while created   into a subfolder
    on another different external hard disk. Whenever now clicked 'advanced recovery methods', then chose use ' a system image'. However, when I booted into Windows environment, I didn't see that the external drive containing image wasn't listed, although I have
    clicked on 'refresh' while external drive is plugged. When clicked on the 'advance' button, then click 'located driver if the drive isn't listed' link, I could naviaged into the external hard disk, which means it is recognised by Windows and it doesn't need
    a driver.
    NOTE: the image is for the same OS installed on my computer.
    I really want to keep many full different Windows Image Backups, then when create  Windows Image Backup, I moved it into subfolder in order the next new don't delete the older one.
    I was expecting that this is because while external HD containing image is plugged in the USB3 port, however, when I let it plugged in the USB2 port, the drive wasn't listed in the list
    A man should convert his anger and sadness into strength to continue living in this life.

    Thanks a lot,
    NOTE: system image Disc containing(old images, WindowsImageBackup1,2,3, and so on) wasn't listed/found, and not the Restoration  failed
    Let me give you this scenario:
    I have created a Windows image backup for OS partition(C) and Data partition(D). Second: I have saved the created image into an external hard disk
    Third: When the WindowImageBackup created in the external hard disk. I tried booting into Windows environment, and the wizard found the image automatically.
    Froth: I have moved the 'WidnowsImageBackup' from a partition on an external hard disk (A) into another external hard disk(B)
    Fifth: I have done some changes on the OS system(such as installing programs and so on) and data partition(such as adding data and so on)
    Fifty: I have decided to create a new WindowsImageBackup and save it into external disk 'B', but before that I have done, I must rename 'WidnowsImageBackup by  incrementing '1' after 'WidnowsImageBackup' in order ton not be overwritten.
    Sixth: I created the new 'WindowsImageBackup'
    The WindowsImageBackup  just created is recognised by Windows's resoration wizard because it wasn't moved. However, windowsImageBAckup1 isn't recognised because it wasn't saved here, however, it was pasted here from another location.
    I would like to save many full images:
    WindowsImagBackup
    windowsImageBackup1
    -------------------------2
    -------------------------3
    and so on.
    However, as I said before, when booting into Windows's restoration wizard, then clicked on 'selcte an image', I didn't find any option to search for the image.
    Yes, there is an option saying 'if you don't see your 'system image disc' listed in the image location, then you can pluge your disc and click on refresh. I have done but only the 'WindowsImagBackup' created on the same external disc was 
    found. Even those images created in same external disc, but their main folder 'WindowsImageBackup' changed into 'WindowsImageBackup1, 2, 3 and so one were not found'
    If someone wants to save many full WindowsImageBackups, then how can he be doing?
    NOTE: Although I have read in the Windows help support what is below, I when I have copied the older system images into another locations, they became unrecognised/found in the restoration Wizard:
    Keeping different versions of system images
    If you're saving your system images on an internal or external
    drive, or on CDs or DVDs, you can keep several versions of system images. On
    internal and external hard drives, older system images will be deleted when the
    drive runs out of space. To help conserve disk space, you can manually delete
    older system images. For more information, see What backup
    settings should I use to maximize my disk space?
    If you're saving your system images in a network location, you can
    only keep the most current system image for each computer. System images are
    saved in the format of drive\WindowsImageBackup\computer
    name\. If you have an existing system image for a computer and are
    creating a new one for the same computer, the new system image will overwrite
    the existing one. If you want to keep the existing system image, you can copy it
    to a different location before creating the new system image by following these
    steps:
    Navigate to the location of the system image.
    Copy the WindowsImageBackup
    folder to a new location.
    A man should convert his anger and sadness into strength to continue living in this life.

  • Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab?

    Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab.

    Type '''about:preferences'''<enter> in the address bar.
    Select '''General.''' Look for '''Tabs.'''
    Turn on '''When I open a link in a new tab, switch to it immediately'''

  • Application windows remembering original anchor points when moving or resizing

    Recently it seems that most of my windows, especially iTunes, Safari, and Finder, seem to retain the anchor points from when they were opened and revert to their original position if a window is resized. I've noticed the following odd behaviors that seem to be related to this problem:
    After moving an iTunes or Safari window, right-clicking will open the context menu in a location that corresponds to where the window was originally placed.
    After moving a window, a drag-n-drop target remains relative to where the window was. For example, in iTunes, if I open the application and move the window, it becomes impossible to drag a song into a playlist (unless I drag the song to the location where that playlist was when the window originally opened). The same sort of thing happens with Finder windows. In the image below, a screen grab of a Safari window, I right-clicked on the signal strength display pictured on the phone to the left; notice the context menu way off to the right of the Safari window.
    Resizing a Safari window makes the window first snap back to the original location, then allows the resize to occur.
    Opening/closing a tab in Safari, when the action causes the tab bar to appear or disappear, causes the Safari window to snap back to the original anchored position.
    I've noticed this behavior over the past week or so. It was about a week ago that I installed the 10.9.5 update to the OS, but I'm not sure if the problem pre-dated the update or not.
    This is driving me insane. Does anyone have any suggestions or, hopefully, a fix?
    Thanks.

    You can try running the combo update.
    10.9.5 Combo Update

  • Photoshop cs6 crashes when moving dialogs and windows

    So recently, Photoshop has started randomly crashing when moving dialogs around or onto 2nd monitor. The files I have open are not large, so I am looking to understand why this is happening. has anyone else experienced this with their application?
    Thanks

    It might be helpful if you'd go into your Windows Event Logs (specifically, the Application log) and look for the Error event indicating a Photoshop crash.  It may identify a module that will help narrow down the problem - though I suspect it will show a crash in the printer driver.  Copy the text and list it here.
    -Noel

Maybe you are looking for

  • Service pack 4 on windows 2000 server with  oracle 8.1.7

    Hi, does anyone know if there is any problem installing services pack 4 on windows 2000 server having oracle 8.1.7.? Thanks.

  • How to configure multiple smtp servers per domain

    Hi, how do we configure multiple smtp servers per domain/corporate in iplanet messaging server 5.2. i wanted to do this so that i can configure some domains with virus scanning and some domains without antivirus.

  • The difference between SOAP adapter and WS adapter in PI 7.1

    Hello all, can anybody explain what is the main difference between SOAP adapter and WS adapter in PI 7.1? I have checked this [link|http://help.sap.com/saphelp_nwpi71/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm] but was not able to fin

  • Problem to visualize characters in a pdf file

    Hello , i'm from italy i have a problem with Adobe Reader X. I don't visualize some characters in a pdf file. On the arrow in the page there are numebrs and letter , actually there is a grey line .In the first page there is this phrase: If grey lines

  • Block Batch updates from QM

    Hi Guru's, I have a question regarding batch updates through QM (inspection lots). Is it possible to block a batch for getting updates from QM? Meaning that we can take UD, but that the results are not copied to the batch anymore. The solution should