This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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]
 
Campbell Ritchie
Sheriff
Posts: 53750
127
  • Mark post as helpful
  • send pies
  • 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.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
is there anything to do with Eclipse SDK version.?

currently i use 3.2
 
Rob Camick
Ranch Hand
Posts: 2753
11
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vetrivendhan rajamanoharan, please BeForthrightWhenCrossPostingToOtherSites.
 
vetrivendhan rajamanoharan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:vetrivendhan rajamanoharan, please BeForthrightWhenCrossPostingToOtherSites.

Apologies
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!