Why iam not able to execute without errors in this program | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Why iam not able to execute without errors in this program

https://code.sololearn.com/cxQC28Fg63eH/?ref=app

18th Dec 2019, 2:32 PM
sabbani mahesh kumar
sabbani mahesh kumar - avatar
3 Antworten
0
Type and syntax errors.. Applet //capital A ActionListener //(No space, capital L) actionPerformed(ActionEvent e) //capital P, no space Capital A in actionEvent, no space, object e should be specified. //Capital B in Button repaint() //not re.paint() addActionListener(this); //no space in between, capital L, Graphics // capital G g.drawString(str,20,30); Note: applet, html code will not work in this compiler. so try in other compilers.
18th Dec 2019, 5:11 PM
Jayakrishna 🇮🇳
0
Thanks a lotJayakrishna , it would have been impossible if you have not answered my doubt
18th Dec 2019, 5:23 PM
sabbani mahesh kumar
sabbani mahesh kumar - avatar
0
Wel come...
18th Dec 2019, 5:23 PM
Jayakrishna 🇮🇳