Java Tutorial 29 (GUI) - Draw Lines

preview_player
Показать описание
After watching this, you'll know how to create lines and you'll know how to add colors.
Рекомендации по теме
Комментарии
Автор

You know it is a good video when it is top listed (literally), even though it is a DECADE old.

hfitfxhfhfufgugugu
Автор

My stupid professor never teaches codes in class. These videos saved my life. LOL.

anitasun
Автор

DUDE STOP WITH THE ZOOM!!!! just up your quality

nathancrawley
Автор

Man awesome, please teach also how to change the thickness of the line

javlontursunov
Автор

Why does this work if the paint method is never called in main?

karensarmiento
Автор

I have to thank you for this. you just saved my homework.I totally forgot how to do this stuff^^

MutntGmr
Автор

for a "drawPolyline" i have this:
screen.setColor(Color.red);
int[ ]blablaX={188, 197, 213, 223};
int[ ]blablaY={146, 141, 142, 146};
screen.drawPolyline(blablaX, blablaY, 4);

//i have a doubt on this line and whats the diference in:

ahivan
Автор

Where are you calling the paint method

ericsellers
Автор

Is there any way to save all of those lines as a shape so that whenever it is called it summons the entire shape?

mpforeverunlimited
Автор

dude how do you change the stroke of drawLine? is that possible?

hermanomark
Автор

I want to draw a line under the pointer. i do like? pls help me? tks a lot!

tranhoa
Автор

@MrGIZDICH is it possible to make random lines with the random number class? if so can you tell me how? thanks

xXxESPINOZAxXx
Автор

How to make dynamic cross(diagonal) in java?

testujemyAutaTV
Автор

That's not a color library, that's a Color class.

seitenichtgefunde
Автор

@hellsing357 Yeah, it is possible. Thank you and np.

JohnGizdich
Автор

How do you do vertical and parallel lines

AghLetMeMakeAnACC
Автор

Sir, How to create a thick line in java ?

MrRabi
Автор

Can you show how to draw a straight line?

todd
Автор

Wow

Great video

Thank you.
:D


Question : Can I make a line on top of other components ?
For example a have a label with picture and I want to draw a line across it
is that possible.



Thank you in advance
More powers

hellsing
Автор

it tells me to delete the g token (after (graphics g))????can you tell me how to fix it????please i would give you cake :D

jakubk.
visit shbcf.ru