Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters > Algorithms
Register

Reply
 
LinkBack Thread Tools
Old 01.12.2003, 02:02   #1
Banned
 
DaNYer's Avatar
 
Join Date: 10 2002
Location: Brooklyn, New York
Age: 39
Posts: 3,760
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default Java applet trouble

Podskajite plz, mne provincialu, v chem tut problema?

Code:
import java.awt.*;
import java.applet.*;

public class MinimizerApplet extends Applet {
    public void init() {
       add(new Label("Value:"));
       valueField = new TextField(30);
       add(valueField);
       minButton = new Button("Minimize!");
       add(minButton);
       resultLabel = new Label(" ");
       add(resultLabel);
       m = new Minimizer();
    }
    private TextField valueField;
    private Button minButton;
    private Label resultLabel;
    private Minimizer m;
}
vot chto pokazivaet compilyator:
Code:
MinimizerApplet.java [18:1] cannot resolve symbol
symbol  : class Minimizer 
location: class MinimizerApplet
    private Minimizer m;
            ^
MinimizerApplet.java [13:1] cannot resolve symbol
symbol  : class Minimizer 
location: class MinimizerApplet
       m = new Minimizer();
               ^
2 errors
Errors compiling MinimizerApplet.
Reply With Quote
Old 02.12.2003, 18:24   #2
Дошкольник
 
Dark Abyss of Yerevan's Avatar
 
Join Date: 01 2002
Location: hell
Posts: 124
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

а что там подсказывать? че за Minimizer? нету такого класса, вот и ругается
Reply With Quote
Old 02.12.2003, 18:51   #3
Banned
 
DaNYer's Avatar
 
Join Date: 10 2002
Location: Brooklyn, New York
Age: 39
Posts: 3,760
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

aga.. mne uje podskazali dva raza. spasibo.
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 05:10.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.