Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to combine different Frame.java files in a project?

Status
Not open for further replies.

TTCC

Programmer
Sep 16, 2000
2
0
0
HK
Dear all,

I have created 2 projects. One is menu.jpr (with MenuFrame1.java and MenuApplication1.java) and one is password (with PasswordFrame1.java and PasswordApplication1.java). My question how to I add  PasswordFrame1.java into menu project?

I have tried to add the file, PasswordFrame1.java in menu.jpr directly. But error is found.

Warning #: 908 : check source /root/jbproject/password/src/password/PasswordFrame1.java cannot be found on sourcepath by appending /menu/PasswordFrame1.java to each sourcepath entry

"MenuFrame1.java": Error #: 300 : constructor PasswordFram1 (menu.MenuFrame1) not found in class menu.PasswordFrame1 at line 102, column 29

In line 102, I wrote
PasswordFrame1 pf = new PasswordFrame1(this);

What is my problem? Can anyone help?

Thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top