Results 1 to 2 of 2
  1. #1
    patiwari is offline Member
    Join Date
    Oct 2011
    Rep Power

    Default Swing application not compatible on Windows 7

    Hi All,

    We have a FX trading application built using Java 1.5 using Swing as the GUI. We have built our own MVC framework over the Swing MVC model. This application works fine in Windows XP environment. However, recently machine got upgraded to Windows 7 and after that we have started getting many issues with this FX trading application. The application freezes, hangs and we cannot do anything other than closing it down and re-starting. Sometimes double clicking the dialog does NOT show any pop up. Its very slow. These all issues were not there in Windows XP operating. We can use Windows 7 COMPATIBILITY MODE to solve this issue.

    However, I want to know the solution through programming/Java code , So that for every new operating system ugrade users need not keep doing the compatibility settings.

    Please let me know if you have come across such issues before and what is the solution

  2. #2
    Join Date
    Aug 2011
    Pretoria, South Africa
    Blog Entries
    Rep Power

    Default Re: Swing application not compatible on Windows 7

    wow... another one of those rather vague questions. There can be so many problems its not even going to be funny and by that I mean re-designing everything. The thing with swing applications is that code you test on one OS wont always work so good on another... it will give the desired effects you want, but not always so good as on the tested OS, in example, if you insert png images on a JWindow that has shadows and you set the opaque of the JWindow to true, you will see that on windows the shadows is showing but on Mac os x there is no shadow and looks rather like a pixel mess... even things like threads can cause a mess(it always dose) and other things like how much memory your GUI uses and remember the first rule of every swing app... if you create it, you dispose it. The best answer to this question from my side would be to considering to staying with the COMPATIBILITY MODE if you want a quick way out and not spending to much time on this.
    Last edited by DuvanSlabbert; 10-03-2011 at 02:06 PM.

Similar Threads

  1. How to Integrate my Java Swing App with my Windows OS
    By peterorparker in forum AWT / Swing
    Replies: 2
    Last Post: 08-05-2011, 11:07 PM
  2. windows CE+ Swing + jexcel api
    By victorroa in forum AWT / Swing
    Replies: 0
    Last Post: 03-21-2011, 03:30 PM
  3. Compatible with Vista and Windows 7
    By senorita2007 in forum New To Java
    Replies: 2
    Last Post: 04-08-2010, 04:27 AM
  4. Java Swing GUI Windows XP Flickering Probelm
    By hemanthjava in forum AWT / Swing
    Replies: 1
    Last Post: 12-12-2008, 02:07 PM
  5. Create Windows, Applet & Swing
    By Eric in forum AWT / Swing
    Replies: 1
    Last Post: 07-05-2007, 06:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts