aspose file tools*
The moose likes Mac OS and the fly likes Swing Applications hangs with some errorr Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Swing Applications hangs with some errorr" Watch "Swing Applications hangs with some errorr" New topic
Author

Swing Applications hangs with some errorr

jaibhim max
Greenhorn

Joined: Nov 15, 2010
Posts: 21
Hi All,

I have created a simple swing application, that has 3 textfields, and 2 buttons. When I try to run the code, following error comes and GUI hangs.



I have googled through above error message and got to know that if I provide"-XstartOnFirstThread" as a VM argument then everything will work fine. But noting is fruitful in my case.

Please help me out since its too urgent.


Regards,
max
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

You say you've created a simple Swing application, but the error message says otherwise:


Setting timeout for SWT to 0.100000


So is it Swing or is it SWT? Or perhaps it's some weird combination of both, and there's why you're hanging?


[Jess in Action][AskingGoodQuestions]
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

The error message tells you that you are sending autorelease message to an object but you didn't create an auto released pool.
Which I think it is strange since this the heart of Cocoa programming and you said you are doing Java programming.
Are you creating Swing, SWT or Cocoa application?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Andy Duplain, your post was split to a new topic in the IDEs forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing Applications hangs with some errorr