• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Swing / AWT window freezes in an eclipse RCP application on JRE7

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Swing and AWT dialog box freezes in an eclipse RCP application if it runs on JRE7

But the same application runs without any issues if it runs on JRE 6

What could be the issue? if we change any config parameters in .ini file , shall i achieve the compatibility?

is this related to eclipse RCP or swing or JRE issue?

please advice
window_freeze.jpg
[Thumbnail for window_freeze.jpg]
 
Marshal
Posts: 73245
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

Don’t know the answer, but I do know you have managed to post in the wrong place. I shall try moving this discussion to the Swing forum.
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What happens when you run the application outside eclipse?
 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually its an eclipse RCP application which has an mix of SWT, AWT and swing components.

But the window freeze happens only for swing dialogs i believe after the jre upgrade.

 
Maneesh Godbole
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mixing Swing + AWT might be causing this issue
Recommended reading http://www.oracle.com/technetwork/articles/java/mixing-components-433992.html
 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But how its been working well in JRE 5 and JRE 7?
is there any back ground for this problem?
 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

vetrivendhan rajamanoharan wrote:But how its been working well in JRE 5 and JRE 7?
is there any back ground for this problem?



actually its a design flaws, its been a very old framework..
the further enhancement we are not mixing up.
Also the components are not mixed up in a single dialog
 
Maneesh Godbole
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

vetrivendhan rajamanoharan wrote:But how its been working well in JRE 5 and JRE 7?


Did you check the link I provided? Did you check out the bug mentioned there?

It never ran in JRE 7 isn't it?

vetrivendhan rajamanoharan wrote:Swing and AWT dialog box freezes in an eclipse RCP application if it runs on JRE7
But the same application runs without any issues if it runs on JRE 6

 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ya we have upgraded to JRE 7 since then its not working, SWT dialog's are opening as usual.
 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is there anything to do with Eclipse SDK version.?

currently i use 3.2
 
Rancher
Posts: 3244
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Crossposted: http://stackoverflow.com/questions/15918353/swing-awt-window-freezes-in-an-eclipse-rcp-application-on-jre7
 
Sheriff
Posts: 22249
117
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
vetrivendhan rajamanoharan, please BeForthrightWhenCrossPostingToOtherSites.
 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Spoor wrote:vetrivendhan rajamanoharan, please BeForthrightWhenCrossPostingToOtherSites.


Apologies
 
Remember to always leap before you look. But always take the time to smell the tiny ads:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic