

Hey guys! Another video out on Java 2d Graphics, sorry for being a bit wordy, I will try to be a bit more concise next time, 😉 Thanks for watching, see you guys next time!
Hey guys! Another video out on Java 2d Graphics, sorry for being a bit wordy, I will try to be a bit more concise next time, 😉 Thanks for watching, see you guys next time!
I copy paste. this code and error error errors every where : ((((
mines is not working
I copied the code word for word and then updated my code to what the newer versions ask for to perform but the compiler just keeps saying that the ‘d’s in drawingComponent aren’t right
Does it work also with: ‘extends JPanel’ ?
does this work on netbeans?
this is one of the hardest way to draw a rectangle on computer
also make sure to window.add(DC) BEFORE you window.setVisable(true); or your rectangle will not show up. This is in the newer versions of java, so he did not have to do it.
I dont have the draw() method in my g2 object and I used all the same imports and copied the code exactly
very good explanation
When I run it, it says Unable to Launch,
The selection cannot be launched. and there are no recent launches.
I am somewhat new to Java and I am not familiar with the following syntax: ‘ = (Graphics2D) g; ‘
good test java code Web site????
How can I used two separate threads for graphics updating and logic updating ?
Thank You for this tutorial 🙂
Thanks man!
thanks – you educate very well and also entertain a bit ^^
nice tutorials – good balance between formal and intuitive explanation
great explanation!!!
HAHA, "let’s sell this on the market" 😀
Thank you!
always make your class starts with a capital letter.. it will be very hard for you later to seperate a class from a method
Thank You for this tutorial 🙂
All extends means is that a class will inherit methods, constructors, and variables from another class higher in the hierarchy.
thank you an excellent video
thanks!
Don’t skip out on naming conventions. It might not seem important but it is, never should a class name begin with a lowercase letter.
Shouldn’t you follow naming conventions? The class drawingComponent should be DrawingComponent.
Trying to figure out if these videos are what I need before I actually spend the time watching them. If this is java graphics how come you don’t display the graphics at all to test them or show us what you’re doing?
REALLY HELPFUL !!!
I think its easier to think that the computer reads from the top left and that it is defined as lines and columns. x =1 and y = 1 is then the top left corner because x = column and y = line (got it from QBasic xD). Next line would then increase (y = y + 1 or y ++)
I spent hours trying to find out why my frame was totally empty,
turns out I misspelled paintComponent on accident…
Please learn from my mistakes!
For paintComponent(graphics g); how this work automatically without passing Graphics g value to paintComponent. what they are passing to drawingComponent?