Eclipse Hangs when I try to modify JTable model [message #774943] |
Thu, 05 January 2012 00:44  |
Eclipse User |
|
|
|
Eclipse / WindowBuilder Folks,
Help! I'm not sure what I'm doing wrong. If this is the wrong forum for tech help, please let me know where to ask this.
I am running Indigo Version: Indigo Service Release 1 Build id: 20110916-0149 and WindowBuilder 1.2.0r37x201109270310 on Mac OS X Version 10.6.8
I've run updates and no further updates are available.
I am a able to create applications which run no problem.
However, when I create a JTable, and then click on the model ... in the Properties area, Eclipse hangs and must be killed.
Any thoughts on what I'm doing wrong?
Cheers,
Eric
|
|
|
|
Re: Eclipse Hangs when I try to modify JTable model [message #774948 is a reply to message #774944] |
Thu, 05 January 2012 00:59   |
Eclipse User |
|
|
|
Thanks for the quick reply!
But I'm not sure I understand it -- it doesn't lock when I run the application: it locks, literally, when I click the ... control in the WindowBuilder Properties box.
Are you saying that the WindowBuilder plug-in doesn't work well for Swing in OS X?
Edited to add: Are you saying I'm interoperating SWT and Swing? I'm just using a JFrame (the app window), and a JTable. No SWT or AWT involved, as far as I can tell.
Cheers,
-E.
[Updated on: Thu, 05 January 2012 01:00] by Moderator Report message to a moderator
|
|
|
Re: Eclipse Hangs when I try to modify JTable model [message #774979 is a reply to message #774948] |
Thu, 05 January 2012 03:20   |
Eclipse User |
|
|
|
Swing sits on top of AWT and you are developing inside of Eclipse which uses SWT. Doing design time WYSIWYG rendering of Swing code within Eclipse ends up requiring a great deal of SWT/AWT interop which can be a bit fragile under OSX. For the most part, it works fine, but it looks like you ran across one of the few cases where AWT locks up.
I don't know if there us a work around for that or not, but the source is available for anyone who wants to try and create a patch. In the mean time, do all of you layout in the design view and edit the table model in the source view. You can also submit a bug report to Bugzilla (Tools > WindowBuilder), and we can look into at some point. Make sure to include a test case and any relevant stack traces or crash logs.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03044 seconds