Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: v_borchert@despammed.com (Volker Borchert) Newsgroups: comp.lang.java.programmer Subject: Re: It doesn't like 'super' where ever I put it. Date: 10 Jun 2012 13:49:30 GMT Organization: Private site at Eddersheim, Germany Lines: 16 Distribution: world Message-ID: References: X-Trace: individual.net kUNSCVZqoz6NkJZBvyAdZAPfbARxkyvJvM4ihxNqaSByqX1NaQuobkSfAbbhNbr30q Cancel-Lock: sha1:FAgw68MFip0D82w6I6Gr32RDlCA= Xref: csiph.com comp.lang.java.programmer:15169 bilsch wrote: > Hello, below is my program stripped to bare bones. Java says 'super' > must be first statement in constructor. I've moved it everywhere still > no luck. The program was running yesterday and I can't figure what > could be wrong. Any suggestions? > public class CalcFrame1 extends JFrame{ > > public void CalcFrame1() { This is not a constructor, but a method named like one. -- "I'm a doctor, not a mechanic." Dr Leonard McCoy "I'm a mechanic, not a doctor." Volker Borchert