Article View: borland.public.jbuilder.java.swing
Article #11982java.lang.IllegalMonitorStateException
From: Shannon Brown
Date: Wed, 03 Mar 1999 00:00
Date: Wed, 03 Mar 1999 00:00
37 lines
2037 bytes
2037 bytes
JBuilder 2.01 (non- JFC 1.1 beta version)
Java Application (not a Applet)
Platform Windows NT 4.0 SP 4
Running stanbdlone -- not from within JBuilder
JDK 1.1.7
Using Swing 1.0
java.lang.IllegalMonitorStateException
The above error is thrown when I try to do the following:
I have a normal frame that has a form on it. When the user presses
submit, and a field is missing, I want an error dialogue to appear. I
can get everything to work but the following. When the user presses the
OK button on the dialogue window, the
java.lang.IllegalMonitorStateException is thrown. Note this now only
occurs the very first time the error box appears. I placed code in try
catch blocks, etc. and the problem does not interfere with operations.
I do wonder why this is ahppening and what can i do to prevent it from
occurring?
(I researched the Internet and found a few old postings (1996)
remotely related to java.lang.IllegalMonitorStateException but no
explainations. The API is also vague.)
Thanks in advance.
Shannon
--
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Shannon Brown, President <<< shannonbrown@rubicongulch.com >>>
Rubicon Gulch Software LLC
38 Doe Run Road Suite 260
Manheim PA 17545
http://www.rubicongulch.com
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Technical Details
Message-ID:
<36DDC3EC.78EA26D5@ptdprolog.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3bfd3bcd3c69cb,start X-Google-Attributes: gid111d45,public From: Shannon Brown <rubicon@ptdprolog.net> Subject: java.lang.IllegalMonitorStateException Date: 1999/03/03 Message-ID: <36DDC3EC.78EA26D5@ptdprolog.net> X-Deja-AN: 450942020 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Rubicon Gulch Software LLC Mime-Version: 1.0 Reply-To: shannonbrown@rubicongulch.com Newsgroups: borland.public.jbuilder.java.swing