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
_
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