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!

helo Please! DiveLog.java:61 Class divelog.Welcome not found in type d

Status
Not open for further replies.

elevator

Programmer
Apr 23, 2002
19
0
0
US
Trying to learn Java, I am working on the DiveLog lesson from Java.Sun.Com at:
_
private class DiveLog;

private JTabbbedPane tabbedPane;

private void populateTabbedPane()
// Opens populatedTabbedPane method definition
// Create tabs with titles

tabbedPane.addTab("Welcome",
null,
new Welcome(),
"Welcome to the DiveLog");

The Welcome.class exist in the same directory and the program is ready to add the tabs, but gets the following error.
-------------------------------------------------------
DiveLog.java:61 Class divelog.Welcome not found in type declaration.
new Welcome(),
____/1 error
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top