Search:

Type: Posts; User: javapenguin

Search: Search took 0.08 seconds.

  1. Re: please tell me why this code does not work

    You probably are missing a bracket somewhere.
  2. Re: please tell me why this code does not work

    Yes.

    Also, I think it'd be best if your two classes

    MainFrame and SubFrame were in separate java files from the main one, and from each other.

    Also, you don't have a constructor in MainFrame...
  3. Re: please tell me why this code does not work

    Well, you don't have constructors for your two classes,

    MainFrame and Subframe.

    That might be part of the problem.
Results 1 to 3 of 3