@kurazaz Good code depends on how modular it is, if someone besides your self can't decipher it and the organization is a mess, then it's close to useless.
Hi These videos are great!!! Havning a problem with this one though! Im working with netbeans and when i try to run this program it cant find a main class for it even after i have clicked "clean & build main project"? is there something else i need to to? Iv followed the tutorial perfectly????
hey, videos are so useful, but can you make a video with how to implement Runnable in a JFrame pls?
I want to create a JFrame wich have in a JPanel.In this panel i want animate something. Can you make a video with this pls :) sorry for my poor english...tnx :)
Could you give me a hand? im suppose to make basically the same program but incorporate arrays and im not sure how you would do that. any ideas? if you made a video tutorial for it that would be awesome i could send you what it has to do too so it would be the same kind of idea.
I have tried this tutorial a few times and every time I try to compile and run I get a main class not found error??? I followed exactly what you did and dont understand what I'm doing wrong can you please advise? Thanks.
the Sleep method may fail (for example if it is interrupted while its sleeping in which case it may throw a ThreadInterrupted exception (or something). You need to catch that with a try catch block. If you don't catch it (besides Java not running) it would technically fail without you knowing what happened
hmmm nice i subbed but im wondering if u can make the text dim out and dissapear
theskells3 1 month ago
you are my God man! All your tutorials help me! You are awesom! liked favorited and subscribed
gt99andcsmccs 1 month ago in playlist More videos from MrJavaHelp
No! Stop importing everything in packages! There's no need :'(
w1ndwaker1 1 month ago
@w1ndwaker1 What are you talking about? you HAVE to do that.
bdbbdb2727 2 weeks ago
@bdbbdb2727 That made no discernible sense from my comment.
w1ndwaker1 1 week ago
@w1ndwaker1 Yes it did, you have to import the classes or the code will become an error.
bdbbdb2727 1 week ago
@bdbbdb2727 Did I say anything about not importing classes?
w1ndwaker1 1 week ago
@w1ndwaker1 Or you could just call the class when you make an object, but you would have to redo it every time and that would take much longer.
bdbbdb2727 1 week ago
This is easily the best video for java freely available, and I appreciate your work.
ProvenScience 2 months ago
how can i do it with a picture
dalhiadnane 2 months ago
How can change Font Size and Style?
macmac 2 months ago
How do i know the name of the prev vid?
so i can understand repaint() ??
Would please number your videos so we can start sequentially :D
mjoraid 4 months ago
MY YOUTUBE SCREEN IS MESSING UP O_O
BSC148 6 months ago
your Java conventions are terrible
hjjais 7 months ago 12
@hjjais Conventions..? Really? The code compiles, that's that. Conventions are becoming obsolete.
kurazaz 2 months ago
@kurazaz Good code depends on how modular it is, if someone besides your self can't decipher it and the organization is a mess, then it's close to useless.
w1ndwaker1 1 month ago
how can i creat a animation of basic shapes :)
naesor8 7 months ago
thank you! I learned more here than in class
gijane0181 8 months ago
isn't it more precise to say a "minimum" of 30ms instead?
thanks
Nalminji 11 months ago
thanks alot
FunkyKaris 1 year ago
Hi These videos are great!!! Havning a problem with this one though! Im working with netbeans and when i try to run this program it cant find a main class for it even after i have clicked "clean & build main project"? is there something else i need to to? Iv followed the tutorial perfectly????
OriginalSpaceCowboy 1 year ago
i dont know why, but everytime i call repaint it paints over the previous repaint. so it never clears the screen.
Randude14 1 year ago
hey, videos are so useful, but can you make a video with how to implement Runnable in a JFrame pls?
I want to create a JFrame wich have in a JPanel.In this panel i want animate something. Can you make a video with this pls :) sorry for my poor english...tnx :)
jahpengu 1 year ago
7:24 Epic ummmmmmmmmmm lol.... been there b4!!
icyhassan 1 year ago 4
how did u do the animation???
yemenhar 1 year ago
does anybody knw how 2 do animation in the command line of java
TheYoosuf 1 year ago
help me a lot thanks so far
killedbymonkeys 1 year ago
Could you give me a hand? im suppose to make basically the same program but incorporate arrays and im not sure how you would do that. any ideas? if you made a video tutorial for it that would be awesome i could send you what it has to do too so it would be the same kind of idea.
ben4011 1 year ago
nice vid, helped a lot with the threading :)
8gogochristov8 1 year ago
uhmm dude, isn't that 30 miliseconds ?
Allithus 1 year ago
if u do that on note pad how do u save it .java and on my pc theres like 4 java programs i could run it with
GutierrezDeVelasco 2 years ago
thanks man! I learn more from u than from my teacher..
naistinali 2 years ago
yeah me too haha
MrFlexx21 2 years ago
You don't need a Main class for this class?
yasamih 2 years ago
@yasamih It's a Java applet which does only require to implement the start() en stop() methods. No main involved here!
T1mm0s 1 year ago
I have tried this tutorial a few times and every time I try to compile and run I get a main class not found error??? I followed exactly what you did and dont understand what I'm doing wrong can you please advise? Thanks.
SuperDuperShahn 2 years ago
Applets do not have a main method. They should be compiled and then "run as applet". By the way what IDE do you use?
sparkignited 2 years ago
Looks like eclipse.
thebra 2 years ago
were you trying to write this in notepad and run in cmd? if so, try using Eclipse
shanetalbert 2 years ago
You need to implement Runnable..
phytra 2 years ago
what does try and catch do?
MrKontraproduktiv 2 years ago
the Sleep method may fail (for example if it is interrupted while its sleeping in which case it may throw a ThreadInterrupted exception (or something). You need to catch that with a try catch block. If you don't catch it (besides Java not running) it would technically fail without you knowing what happened
macbeasty 2 years ago