Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1502

Re: Exception in thread "

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Exception in thread "
Message-ID <70f8c847739be@uwe> (permalink)
Newsgroups comp.lang.java.gui
References <rsXVh.594122$BK1.242910@newsfe13.lga>
Date 2011-04-27 15:33 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Knute Johnson wrote:
>> Hi, I know this is a common error, but this occurs only in some of my
>> programs.
.
>I don't know how you get it to compile if it is in a file named 
>sampl.java?  

A file with a public class named sampl, can contain as many
'default' classes as the developer likes.  Since this class as 
'default' access, I guess it can reside in a .java of any name.
So if the OP types..
java swing_app
.they will get to the..
Exception in thread "main" java.lang.IllegalArgumentException: 
adding container's parent to itself

-- 
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via http://www.javakb.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread


Thread

Re: Exception in thread " "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000

csiph-web