Y
y0n
Gast
hi,
ich wollte ein tutorial machen wo es um eine user registration geht ich habe alles befolgt wie beschrieben doch ich erhalte jedesmal einen fehler. an was kann das liegen?!
hier das tut: http://www.javaworld.com/javaworld/jw-04-2001/jw-0427-forms.html
wenn ich z.B wie in dem tutorial beschrieben die MyForm.java compilieren will passiert folgendes:
kann mir da jmd. helfen sorry bin noch anfaenger.
vielen dank im vorraus
ich wollte ein tutorial machen wo es um eine user registration geht ich habe alles befolgt wie beschrieben doch ich erhalte jedesmal einen fehler. an was kann das liegen?!
hier das tut: http://www.javaworld.com/javaworld/jw-04-2001/jw-0427-forms.html
wenn ich z.B wie in dem tutorial beschrieben die MyForm.java compilieren will passiert folgendes:
Code:
javac MyForm.java
MyForm.java:3: package iostrovica.form does not exist
import iostrovica.form.*;
^
MyForm.java:4: package mypackage.fieldcontroll does not exist
import mypackage.fieldcontroll.*;
^
MyForm.java:10: cannot find symbol
symbol: class Form
public class MyForm extends Form {
^
MyForm.java:12: cannot find symbol
symbol : class CharRestriction
location: class mypackage.MyForm
private CharRestriction charRes;
^
MyForm.java:13: cannot find symbol
symbol : class LoginRestriction
location: class mypackage.MyForm
private LoginRestriction loginRes;
^
MyForm.java:14: cannot find symbol
symbol : class TextRestriction
location: class mypackage.MyForm
private TextRestriction textResForLogin;
^
MyForm.java:15: cannot find symbol
symbol : class TextRestriction
location: class mypackage.MyForm
private TextRestriction textResForPassword;
^
MyForm.java:34: cannot find symbol
symbol : class FormElement
location: class mypackage.MyForm
public FormElement[] getFormElements() {
^
MyForm.java:18: cannot find symbol
symbol : class CharRestriction
location: class mypackage.MyForm
charRes = new CharRestriction();
^
MyForm.java:19: cannot find symbol
symbol : class LoginRestriction
location: class mypackage.MyForm
loginRes = new LoginRestriction();
^
MyForm.java:21: cannot find symbol
symbol : class TextRestriction
location: class mypackage.MyForm
textResForLogin = new TextRestriction();
^
MyForm.java:25: cannot find symbol
symbol : class TextRestriction
location: class mypackage.MyForm
textResForPassword = new TextRestriction();
^
MyForm.java:36: cannot find symbol
symbol : class TextBox
location: class mypackage.MyForm
TextBox login = new TextBox();
^
MyForm.java:36: cannot find symbol
symbol : class TextBox
location: class mypackage.MyForm
TextBox login = new TextBox();
^
MyForm.java:43: cannot find symbol
symbol : class PasswordBox
location: class mypackage.MyForm
PasswordBox password = new PasswordBox();
^
MyForm.java:43: cannot find symbol
symbol : class PasswordBox
location: class mypackage.MyForm
PasswordBox password = new PasswordBox();
^
MyForm.java:48: cannot find symbol
symbol : class PasswordBox
location: class mypackage.MyForm
PasswordBox passwordAgain = new PasswordBox();
^
MyForm.java:48: cannot find symbol
symbol : class PasswordBox
location: class mypackage.MyForm
PasswordBox passwordAgain = new PasswordBox();
^
MyForm.java:53: cannot find symbol
symbol : class RadioButton
location: class mypackage.MyForm
RadioButton gender = new RadioButton();
^
MyForm.java:53: cannot find symbol
symbol : class RadioButton
location: class mypackage.MyForm
RadioButton gender = new RadioButton();
^
MyForm.java:57: cannot find symbol
symbol : class CheckBox
location: class mypackage.MyForm
CheckBox lookingFor = new CheckBox();
^
MyForm.java:57: cannot find symbol
symbol : class CheckBox
location: class mypackage.MyForm
CheckBox lookingFor = new CheckBox();
^
MyForm.java:62: cannot find symbol
symbol : class MenuBox
location: class mypackage.MyForm
MenuBox province = new MenuBox();
^
MyForm.java:62: cannot find symbol
symbol : class MenuBox
location: class mypackage.MyForm
MenuBox province = new MenuBox();
^
MyForm.java:65: cannot find symbol
symbol : class TextBox
location: class mypackage.MyForm
TextBox comments = new TextBox();
^
MyForm.java:65: cannot find symbol
symbol : class TextBox
location: class mypackage.MyForm
TextBox comments = new TextBox();
^
MyForm.java:69: cannot find symbol
symbol : class FormElement
location: class mypackage.MyForm
return new FormElement[]{login, password, passwordAgain, gender, lookingFor, province, comments};
^
27 errors
kann mir da jmd. helfen sorry bin noch anfaenger.
vielen dank im vorraus