# Does Anyone Know Java?

**URL:** <https://forum.kirupa.com/t/does-anyone-know-java/31146>\
**Category:** random\
**Created:** [September 18, 2003, 7:49pm UTC](https://forum.kirupa.com/t/does-anyone-know-java/31146 "2003-09-18T19:49:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aislin](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@Aislin](https://forum.kirupa.com/u/Aislin)\
**Post date:** [September 18, 2003, 7:49pm UTC](https://forum.kirupa.com/t/does-anyone-know-java/31146/1 "2003-09-18T19:49:33Z")

</div>

I don’t know what I’m doing wrong. I’m doing this for my programming class. i’ve never touched java before, and I switched into this class late (I hated foods.)  
Catching up isn’t going well when I don’t understand anything. Anybody know what I’m doing wrong? None of this stuff even shows up when i click run…

[AS]  
// The “Pay” class.  
import java.applet._;  
import java.awt._;

public class Pay extends Applet  
{  
// Place instance variables here  
Label yourname;  
Label yourwage;  
Label yourpay;  
Button calculate;  
TextField name;  
TextField wage;  
TextField pay;  
public void init ()  
{  
yourname = new Label (“Enter your name here.”);  
name = new TextField (15);  
yourwage = new Label (“Enter your wage here.”);  
wage = new TextField (15);  
yourpay = new Label (“This is your pay:”);  
pay = new TextField (15);

```
// Place the body of the initialization method here
} // init method

public void paint (Graphics g)
{
    // Place the body of the drawing method here
} // paint method

```

} // Pay class  
[/AS]
