aspose file tools*
The moose likes Applets and the fly likes simple code problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "simple code problem" Watch "simple code problem" New topic
Author

simple code problem

Abdullah Bukhari
Greenhorn

Joined: Jun 05, 2010
Posts: 2
Hi all
i hope everyone is doing well

before i start, i would like to let you know that i am so beginner in Java, i have a homework to do about writing student names and grades, the number of students in given by the user, i tried my best to solve this homework but there is something wrong in my program where i could move further

can you please take a look at my code and tell me what is the problem (i think the problem is to define and initialization method, but i do not know how?

please replay and let me how can i continue my homework

regards
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42608
    
  65
What does the code do now, and how does that deviate from what it is supposed to do?

In the future, please UseCodeTags. It's unnecessarily hard to read the code as it was, making it less likely that people will bother to do so.


Ping & DNS - my free Android networking tools app
Abdullah Bukhari
Greenhorn

Joined: Jun 05, 2010
Posts: 2
thank you very much for your reply
what happens is that the applet shows only the labels and text field for the user to enter the student numbers, and a button to be pressed,
when the user enter the number and press the button, nothing happen after that

and sorry for the code it is below in tags

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42608
    
  65
Check the Java Console, there's probably an exception occurring.
 
 
subject: simple code problem