Is it possible to stop decorated JFrame/JDialog flickering while resizing

Hi,
In my application I use decorated JFrames and JDialogs. While resizing awkward flickering occurs, especially under Windows (under Linux is a little bit better).
I've tried what I found:
System.setProperty("sun.awt.noerasebackground", "true");
Toolkit.getDefaultToolkit().setDynamicLayout(true);
but nothing goes better.
Any help is appriciated.
Thanks in advance

dont think so that is why i dont use it i was runing java 1.5 on 3.00gh with a very good graphics card and 512mb ram and still so i dont think there is a way.... but if there is some one will find it but it sure wont be me.

Similar Messages

  • Maximized decorated JFrame covers task bar on WinXP. How to avoid?

    Hello,
    I have found that decorated JFrame covers task bar on Win XP and jdk 1.5 when maximized. I see this problem affects many users. It is annoying for most users of my applications to change window size before accessing task bar. So I have to avoid decorations, inspite the fact that I really like how decorated windows look like.
    I have read forum topic which discussed the same problem (http://forum.java.sun.com/thread.jspa?forumID=57&threadID=709917), but it contains no solution.
    Here is sample code to reproduce the problem:
    import java.awt.Dimension;
    import javax.swing.JFrame;
    public class Test extends JFrame {
         public Test() {}
         public static void main(String[] args) {
              JFrame.setDefaultLookAndFeelDecorated(true);
              Test frame = new Test();
              frame.setPreferredSize(new Dimension(200,200));
              frame.pack();
              frame.setVisible(true);
    }Run it on Win XP and click maximize button. You will see that maximized window covers task bar.
    Am I doing something wrong? Maybe it is possible somehow to correct this behaviour programmatically or at least any workaround exists?
    Regards,
    Roman

    Solved the problem finally. It seems I have not read previous forum topic (http://forum.java.sun.com/thread.jspa?forumID=57&threadID=709917) with enough attention.
    For thouse who are interested solution is following:
    import java.awt.Dimension;
    import java.awt.GraphicsEnvironment;
    import javax.swing.JFrame;
    public class Test extends JFrame {
         public Test() {}
         public static void main(String[] args) {
              JFrame.setDefaultLookAndFeelDecorated(true);
              Test frame = new Test();
              frame.setPreferredSize(new Dimension(200,200));
              GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
              frame.setMaximizedBounds(env.getMaximumWindowBounds());
              frame.pack();
              frame.setVisible(true);
    }Regards,
    Roman

  • Interactive Report - is it possible to stop a column being hidden?

    I have an interactive report region where i have a column that has a link that performs an action, in this case it links to a screen where the user can then add a row. I want to make this column mandatory and not let the user hide it. I can remove other functionality, but cant seem to control the hide/show functionality.
    anybody got any ideas?
    craig
    [oracleapplicationexpress.com|http://www.oracleapplicationexpress.com]

    Dear Hemanth,
    To your question:
    "Is it possible to stop a campaign from being cancelled if it has purchase orders attached to it, using standard functionality".
    This might be possible with a BADI implementation. In enhancement spot CRM_MKTPL there exist a BAdI CRM_MTKPL_OL_OBJ where the interface method CHECK_BEFORE_DELETE is offered.
    Regards,
    Anik

  • How can I change a decorated JFrame to non-decorated JFrame?

    I want to change a decorated JFrame to a non-decorated JFame. The frame already shown on the screen. How can I do this?

    If I call dispose() and setVisible(), the window ID will be changed. I am working on Linux and need to communicate with other processes by window ID. Is there a method to set a frame decorate without change window ID?

  • Is it possible to stop the system time outs on my imac ,i have tried 5 times in the last 24 hrs.each time it will go for maybe 3hrs and then times out.each time i have to start the download all over again,thanks,

    is it possible to stop the system time out on my imac? i have tried 5 times in the last 24 hrs.it will run for approx.3hrs,and then times out and i have to start
    from the beggining again

    What is the url of the file your are downloading?
    What web browser are you using?
    What type of connection do you have to your isp?  phone line, dsl, cable, fios...
    Try iCab.  It lets you restart a download.
    icab.de
    Robert

  • Is it possible to stop APEX using a cached query?

    I was hoping that the issue where report regions sometimes show the error: "ORA-06502: PL/SQL: numeric or value error: NULL index table key value" would be fixed in 3.1.1 however it seems not to have been (We have had it several times now). The workaround seems to be to change the query slightly such as selecting NULL as an additional column and then hiding that column.
    This obviously only works AFTER the issue has occured, ie, after we have received a complaint from someone!
    Is it possible to stop APEX using the cached version of some queries altogether? The ones we are calling are quite simple and so will not give that much overhead.
    Thanks.

    I've actually found several threads on this from the past:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=644172&tstart=120 (This thread states the problem has been fixed however it would appear either it hasn't or there is a similar bug elsewhere.)

  • Is it possible to stop reservation creation in PM Order?

    Hi All,
    Is it possible to stop reservation creation in PM Order?
    Thanks in advance.

    Hi
    It is not possible to stop reservation creation,you can only make the reservation valid for GI after release
    regards
    thyagarajan

  • Is it possible to stop auction earlier than scheduled?

    Dear SAP gurus,
    We are using SRM server 550 and SP08 and we are using LAC. As a purchaser, is it possible to stop auction earlier than scheduled? I see one stop button there, but if i click stop button before the time is up, the system just give me message that the specified time has not been reached.
    Best regards,
    John.

    Hi John,
    this is the standard behaviour. An auction cannot be stopped before the scheduled
    end date. Only option is to make the time period longer, but not shorter. That's the
    current standard with one has to live with.
    Cheers,
    Claudia

  • Is it possible to stop using Manual Numbering ?

    Is it possible to stop using Manual Numbering of any Document for any type of user?
    in SAP B1 2007 B SP0 PL7

    Is your question related to Reporting & Printing?  You'd better post it on the main forum to get more response.
    Thanks,
    Gordon

  • Is it possible to stop iTunes generating a separate album cover when multiple artists are involved in one album

    Is it possible to stop iTunes from generating a separate cover for each artist when the album has multiple artists?

    when importing album artwork, does anyone know if its possible to make it not embed the artwork in every file and instead act like the artwork downloaded from the iTunes store?
    It is not possible.

  • Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this from happening and only open by using the desktop icon? Thank you for any assistance.

    Can anyone please help? Every time I start up my imac OSX 10.6 desktop my Aperture 3 programme opens up without being requested. Is it possible to stop this happening and only allow Aperture to open by using the desktop icon? Thank you for any assistance anyone may be able to give.
    Best regards, John.

    because there is absolutely no mention in my System Preferences of either Users & Groups nor Start Up Items.
    John,
    William's solution was much easier - just for completeness sake: The preferences panes to edit your startup items moved between the Mac OS X updates: I forgot that the "Users&Groups" preference pane used to be called "Users" in Mac OS X 10.6; it is the panel that you use to create new User accounts; and earlier systems had a separate preferences panel "Login" to enable and to disable the applications that are launched at login. Both are now combined in "Users&Groups". Sorry for sending you on a wild goose chase with the wrong Preferences panel.
    Regards
    Léonie

  • Is it possible to stop compiling process in annotations processing?

    Hi all.
    I'm doing annotations processing with javac.
    Is it possible to stop compilation if an error occurs during annotations processing?
    Thank you!

    francadaval wrote:
    Hi all.
    I'm doing annotations processing with javac.
    Is it possible to stop compilation if an error occurs during annotations processing?If you raise an error with the Messager:
    http://java.sun.com/javase/6/docs/api/javax/annotation/processing/Messager.html
    no class files will be generated. This is the recommended way to start winding things down; from the Processor class:
    "If a processor throws an uncaught exception, the tool may cease other active annotation processors. If a processor raises an error, the current round will run to completion and the subsequent round will indicate an error was raised. Since annotation processors are run in a cooperative environment, a processor should throw an uncaught exception only in situations where no error recovery or reporting is feasible."

  • Is it possible to stop the continual redraw

    Hi I was wondering if it was possible to stop Lightroom continually redrawing images, especially when switching to Develop mode.
    I have tried rebuilding all the 1:1 Previews - this seems to help the redraw problem in Library mode - both for thumbs and when double clicked - but not in Develop mode.
    It doesn't seem to make sense that when I select a photo in the Library thumbs mode, then hit D (for Develop), I see the photo enlarged and clear for a split second, then Lightroom starts to redraw it, and eventually produces the image I saw for a split second. It's like it has the information but doesn't use it. This sometimes happens when in "Fit" view, especially with heavily cropped photos, and nearly always seems to happen in "1:1" view.
    I have also tried optimising catalogs - this seems to make little or no difference.
    Computer setup: early Intel iMac Lightroom 2.2, OS 10.5.6, photos on external drive, catalogue on iMac, Canon Raw files (.CR2) about 20 to 30 Mb each,
    LR Preferences:
    file extension:dng, jpeg preview:medium size, compressed (lossless) ticked, embed original raw file not ticked, Cache on imac, max size 12 Gb (should this be bigger maybe?).
    Catalogue settings: Standard Preview size: 1680 pixels, Preview Quality: High, Automatically Discard 1:1 Previews: after 30 days.
    Many thanks for any help with this

    Well thanks for the quick answers! At least I won't be wondering if there's some setting I can change.
    Of course I understand why the image should show changes made in Develop mode in "real-time" - and, in fact, that works fine with no delay, if I increase the contrast, for example.
    What I don't undestand is why without making any changes, on opening the picture in Develop, it shows the picture, then it goes all blocky ("big pixels") for a few seconds, then it goes back to normal

  • Is it possible to stop auto shut down whilst downloading?

    Is it possible to stop auto shut down whilst downloading?

    Hello
    Automatic shutdown function is not known to me on Windows Do you mean standby or hibernation mode?
    If yes this can be disabled in Windows Power Management options.

  • I teach Spinning- is it possible to stop incoming calls from interrupting the music?

    I teach Spinning- is it possible to stop incoming calls from interrupting the music? I have the newest iphone.

    Turn on airplane mode.
    That turns off the cellphone network so no-one can call you.
    Don't worry they will get diverted to the answerphone.

Maybe you are looking for