Java GUI Lesson 10 | Drawing Graphics

preview_player
Показать описание
drawing basic graphics in java
Рекомендации по теме
Комментарии
Автор

I typed the code as same as you but it still didnt show any graphics.
OMG!!
what should i do? :'(

maimairanger
Автор

i dont get it, where do you call the paintComponent method ?

FrantisekNovak
Автор

its not nececary(im not sur ive spelled that rigth) to declare an object and only then fill it, you can create an annonymous object, wich is much easier:
g2.fill(new Ellipse2D.Double(0, 50, 100, 100));

oribarmatz
Автор

how can i download this video plz...i realy like it

Mannoosh
Автор

keepvid.com can download the vid for u,

brenelec
welcome to shbcf.ru