0

I need to migrate my swing application from Java 1.7 to 1.8. Application only works for Window environment.

Did this Java upgrade especially for swing API cause any feature stop working or any of its UI components behaviour change?

Sergey Ponomarev
  • 2,947
  • 1
  • 33
  • 43
Pankaj Dubey
  • 146
  • 10
  • 1
    Not that I've seen yet – MadProgrammer May 07 '15 at 07:40
  • 3
    *"Application only works for Window environment."* That is likely a bug in the code used. For better help sooner, post an [MCVE](http://stackoverflow.com/help/mcve) (Minimal Complete Verifiable Example) or [SSCCE](http://www.sscce.org/) (Short, Self Contained, Correct Example). – Andrew Thompson May 07 '15 at 07:45
  • @Andrew, I mean the application is only suppose to work for window, not yet compatible with Mac or Linux so we will be only testing it with windows environment. – Pankaj Dubey May 07 '15 at 07:48
  • 2
    @PankajDubey - Still a bug :-) – Stephen C May 07 '15 at 07:48
  • 1
    "*Did this Java upgrade especially for swing API*" [Definately not](http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html). – user1803551 May 07 '15 at 08:09
  • 2
    Of course, there are no intentional breakdowns. And the [Known Issues for JDK 8](http://www.oracle.com/technetwork/java/javase/8-known-issues-2157115.html) section does not list any known Swing/Windows issue. So everything else will only revealed by *testing* your application in the target environment. – Holger May 07 '15 at 08:09

1 Answers1

1

There was an interesting bug report on StackOverflow recently. But seems that the situation described in that question is very specific. We successfully migrated our quite huge Java 7 Swing application to Java 8. There were only several minor things to fix not related to Swing. In particular some complex generic parameters may work in Java 7, but produce a compilation error in Java 8. After several months of using Java 8 no Swing-related problems were noticed in our application.

Community
  • 1
  • 1
Tagir Valeev
  • 97,161
  • 19
  • 222
  • 334