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


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

Re: Exception in thread "

Started by"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
First post2011-04-27 15:33 +0000
Last post2011-04-27 15:33 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.gui

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1502 — Re: Exception in thread "

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectRe: Exception in thread "
Message-ID<70f8c847739be@uwe>
  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

[toc] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web