N
NickName
Hi,
First of all, I'm a java newbie.
I'm exploring the Java's Inheritance feature. The guiding doc is a
piece from Borland, seems not bad, the IDE is JBuilder 2005. A super
class is called MammalClass and two subclasses are named DogClass and
ManClass respectively, conceptually I don't seem to have any problem
writing some Accessor methods for the super class and then
call/reference them from the two subclasses, however, to demo how they
works, one needs some sort of interface like a frame or window to
display each subclass's properties, and I find the Frame, JFrame and
JPanel etc. very annoying in the sense that JBuilder provides some GUI
to use them and yet, the fields for each subclass do not appear right,
so, I did not even run the code. Any alternative to Frame? What would
it take to use Web form? Or ???? to let me test them out.
TIA.
First of all, I'm a java newbie.
I'm exploring the Java's Inheritance feature. The guiding doc is a
piece from Borland, seems not bad, the IDE is JBuilder 2005. A super
class is called MammalClass and two subclasses are named DogClass and
ManClass respectively, conceptually I don't seem to have any problem
writing some Accessor methods for the super class and then
call/reference them from the two subclasses, however, to demo how they
works, one needs some sort of interface like a frame or window to
display each subclass's properties, and I find the Frame, JFrame and
JPanel etc. very annoying in the sense that JBuilder provides some GUI
to use them and yet, the fields for each subclass do not appear right,
so, I did not even run the code. Any alternative to Frame? What would
it take to use Web form? Or ???? to let me test them out.
TIA.