Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » SWT-Swing Problem!
SWT-Swing Problem! [message #323618] Thu, 03 January 2008 22:50 Go to next message
Eclipse UserFriend
Originally posted by: hiteshn.mail.gmail.com

Hi All,

I created a simple application where I put a JDialog inside a JFrame. When I
move the JFrame within the editor area or after some interval of time, the
workbench gets hanged and it doesn't respond at all.
Can someone please suggest me the correct way of doing it....

Thanks,
Hitesh...
Re: SWT-Swing Problem! [message #323624 is a reply to message #323618] Fri, 04 January 2008 06:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------020902060705040504070208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hitesh,

Maybe these instructions will help you gather more data about what's
going wrong:
< http://runnerwhocodes.blogspot.com/2007/10/deadlock-detectio n-with-eclipse.html>


http://runnerwhocodes.blogspot.com/2007/10/deadlock-detectio n-with-eclipse.html
<http://wiki.eclipse.org/index.php/How_to_report_a_deadlock>
http://wiki.eclipse.org/index.php/How_to_report_a_deadlock


Hitesh Nembhwani wrote:
> Hi All,
>
> I created a simple application where I put a JDialog inside a JFrame. When I
> move the JFrame within the editor area or after some interval of time, the
> workbench gets hanged and it doesn't respond at all.
> Can someone please suggest me the correct way of doing it....
>
> Thanks,
> Hitesh...
>
>
>


--------------020902060705040504070208
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hitesh,<br>
<br>
Maybe these instructions will help you gather more data about what's
going wrong:<a
href=" http://runnerwhocodes.blogspot.com/2007/10/deadlock-detectio n-with-eclipse.html"><br>
</a>
<blockquote><a
href="http://wiki.eclipse.org/index.php/How_to_report_a_deadlock"> http://runnerwhocodes.blogspot.com/2007/10/deadlock-detectio n-with-eclipse.html</a><br>
<a href="http://wiki.eclipse.org/index.php/How_to_report_a_deadlock">http://wiki.eclipse.org/index.php/How_to_report_a_deadlock</a><br>
</blockquote>
<br>
Hitesh Nembhwani wrote:
<blockquote cite="mid:flkadv$qlo$1@build.eclipse.org" type="cite">
<pre wrap="">Hi All,

I created a simple application where I put a JDialog inside a JFrame. When I
move the JFrame within the editor area or after some interval of time, the
workbench gets hanged and it doesn't respond at all.
Can someone please suggest me the correct way of doing it....

Thanks,
Hitesh...


</pre>
</blockquote>
<br>
</body>
</html>

--------------020902060705040504070208--
Re: SWT-Swing Problem! [message #323632 is a reply to message #323618] Fri, 04 January 2008 11:03 Go to previous message
Eclipse UserFriend
Originally posted by: davidhuebel.example.net

Hitesh Nembhwani wrote:
> Hi All,
>
> I created a simple application where I put a JDialog inside a JFrame. When
> I move the JFrame within the editor area or after some interval of time,
> the workbench gets hanged and it doesn't respond at all.
> Can someone please suggest me the correct way of doing it....
>
> Thanks,
> Hitesh...

Hi Hitesh,

I had similar behavior with my first Swing/SWT program. What I forgot to
account for is that there are two event-handling threads, one for Swing and
one for SWT. If you call a Swing method that should only be called from
the Swing event-handling thread, and you call it from the SWT
event-handling thread by mistake, you can get lockups. They might be
sporadic, or they might happen consistently.

-David
Previous Topic:Can a builder be started when the workbench/workspace loads, in addition to builds?
Next Topic:How To Share A POJO Across Plugins?
Goto Forum:
  


Current Time: Sun Jul 06 05:29:37 EDT 2025

Powered by FUDForum. Page generated in 0.03215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top