you want to look at code and simply learn just from that? No explanation or anything?
You won't learn anything like that... use tutorials and books.
everyone learns differendly, sure this poking and trial/error might have it's pitfalls but as with any practice. who are me or you to claim methode x is the best?
that last one was some help, i found out what i was wanting to know
Interfaces are classes that if another class implements it it has to use all of the interfaces methods
and an Abstract class is a class that doesnt have to be instansiated to use, or same with the methods in a class...
What i ment by tutorials, is that i dont quite understand JFrame and JPanel that well, i mean i know how to instantiate them and create a game using them, but i dont relaly understand how they relaly work with each other, and thats what i was wondering.
Interfaces are abstract classes of which all methodes are abstract. because it of it's additional constrains over abstract classes interfaces support can support multiply inheritance.
An abstract class is a class which is demoted /decorated with the abstract keyword. Abstract classes can not be instanciated and can declare 1 or more abstract methodes.
classes that derive from abstract classes must implent all abstract methodes of the parent classes(unless already implentented in an other parent class) or the derived class itself must be declared as abstract/ become an abstract class.
the reason you probebly wont find tourials about it is because its considered trival/ common knowlage. however if you would want to look up information try going trought a few wiki's.
as for JFrame JWindow JDialog and JPanel. JPanel's are JComponents and can be add to a container. JFrame JDialog and JWindow use peers (http://www.jguru.com/faq/view.jsp?EID=11353
) and are thus heavywaight in the respct that they use peers
JComponents are lightweight. they don't use peers and depend on there plaf to give them a native look.. or not.
laying out JComponents is done by a layout manager etc and more can be found in the java tourial.
anyways I supect this has to do with a game since your postign on java-gaming.org and not forum x, what is the question with respect to gaming?