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 15:44:04 GMT Organization: Private site at Eddersheim, Germany Lines: 18 Distribution: world Message-ID: References: X-Trace: individual.net US/KhZwqcVIrwe1YvaOIygLQvZDqvyH4wD/wYJvLp57I/6BaoRBd+S38jc3ylzQFwu Cancel-Lock: sha1:qQZ7/8vt1z4+DGdjaZygfjbxRqQ= Xref: csiph.com comp.lang.java.programmer:15176 bilsch wrote: > Please tell me what I need to add to the program to create a > proper constructor. Others already have done so. I'd like to augment this with a) Go back to your text book and reread the chapter on constructors. If the definition and explanation there is too vague, get a better text book. If you don't have any text book yet, get one. b) Check out the online tutorials on wherever java.sun.com redirects. c) Look into the sources of JFrame to see how its constructors are defined. Not all of the JRE is perfect in design and style, in fact there are some flaws they have decided to let live on for compatibility's sake, but as examples for the basics, it'll do. -- "I'm a doctor, not a mechanic." Dr Leonard McCoy "I'm a mechanic, not a doctor." Volker Borchert