using Inheritence with GUI (graphical user interfaces) in Java
Posted
by maya
on Stack Overflow
See other posts from Stack Overflow
or by maya
Published on 2010-03-25T09:52:42Z
Indexed on
2010/03/25
10:03 UTC
Read the original article
Hit count: 260
java
hi everyone,
I work on inheritence with GUI (graphical user interfaces)
let me explain for example I made super class which is vehicle and the subclass is car, so the code to make inheritence will be
public class Car extends Vehicle
then I want to build the class Car as JFrame like
public class Car JFrame implements ActionListener {
so the problem is that I couldn't put both codes in the same class, and I need to do that.
anyone help me. thanks in advance
I wish that the question would be clear
© Stack Overflow or respective owner