4 Replies Latest reply on Sep 20, 2007 4:37 PM by 807605

    Abstract classes

      I am using a GBPanel, running on a GBFrame. Because of the MouseListener I am using, the GBPanel has to be abstract. When I try to run the GBFrame, however, the abstract class gives me an error. This is what the GBFrame, or the program that runs the other, looks like :
      import BreezySwing.*;
      import java.awt.*;

      public class connect4game extends GBFrame
           private GBPanel panel;
           public connect4game()
                panel = addPanel (new connect4(),1,1,1,1);
           public static void main (String args []);
                connect4game tpo = new connect4game();

      What am I doing wrong?

      -Jorge Mondo