CoCreate User Forum  

Go Back   CoCreate User Forum > General > Make Test Posts Here

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-29-2012, 01:39 PM
Rodney Schuler Rodney Schuler is offline
Registered User
 
Join Date: Nov 2012
Posts: 2
First post

I am trying to write some java code that will run during the release process that gathers some user input related to the item being released and stores that in a custom database class.

My approach is to add a DocStateChangeListener that creates a dialog using a class that extends WMJDialog. I am using .setVisible(true) to show the dialog.

I am getting deadlocked threads in the UI. One of the threads is the 'RELEASED' thread that enters my code in the DocStateChangeListener that has a lock on the pdm.semaphore object and wants to acquire a lock on the UI tree in Component.setVisible. The other thread is running JComponent.paintChildren and has a lock on the UI tree and is trying to acquire a lock on the pdm.semaphore object.

Are there special rules on what can be called/done in a DocStateChangeListener that is preventing me from running a dialog using .setVisible()?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:48 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.