Bucky, after I watched this 66th video in the series, I have to say... I have learned more from you this week (in the 3 days watching them) than 10 weeks at college! You are awesome! Look forward to the rest of the videos...
Hello Bucky. You are fun guy. Great sense of humor. I didn't know Java and in one day went through 66 of your videos. That's how interested I was. Cheers
You're amazing man! Your tutorials are the best I could find on the internet (by far!) and you got a really awesome personality! Always stay yourself and keep doing what you love! Thanks a lot for all the tutorials and the jokes
I don't know if bucky didn't show it because it's considered bad practice or something, but when you are defining multiple variables of the same type, you can define them all at once instead of typing Font whatever four times on four lines, just do Font pf, bf, itf, bif; hopefully this helps somebody save time
Buckey, your tutorials are very simple and make learning java very easy! I have one suggestion to save some typing effort. At the beginning when you declare your private variables, you say private Font pf; private font bf; private Font itf; and so on... This can be made simpler by just typing private Font pf, bf, itf, bif; Just a suggestion :P Thanks again!
ujjwal mainali Late response, but maybe it’ll help anyone watching this video in the future: add() is a method that accepts a component (and some other optional things) as a parameter. Method parameters MUST be followed; you cannot pass in anything more or anything less. This is why there are often multiple methods with the same name, but different parameters. The method that you are describing, add(Component c1, Component c2, Component c3, Component c4), simply doesn’t exist. You could create your own method that achieves the effect that you are looking for (this is called overloading, I believe), but it would be it’s own separate method, and you would then HAVE to pass in four components for the method to work. I’m still relatively new to Java, so please feel free to add info and/or correct me if anything I said was inaccurate.
@12me91 using the * when importing saves alot of typing, but is bad programming style,as you will import alot of stuff that will make your application full off stuff that you may not need. So if you know all the stuff you need its much better;-).
What would happen if in the source code you set more than one radio button to true? Would there be an error, or does Java have a default setting or something it would go to?
Not only were radio buttons designed that way, channel changers where too. They would make a loud clicking sound every time you changed the channel as the spring of the previously pressed button was released. Hence the name "clicker". Guess I'm old now. Fuck, how did that happen.
no its that some people always go like back to episode 1, nd im sayin that the first 2 are installing, plus the first vid has so much more views than the 2nd and i don't what the deal with that is
to get all the fonts do this>>> import this>>>> import java.awt.Font; import java.awt.GraphicsEnvironment; GraphicsEnvironment e = GraphicsEnvironment.getLocalGraphicsEnvironment(); Font[] fonts = e.getAllFonts(); //gets the fonts for (Font f : fonts) { System.out.println(f.getFontName()); }
I tried adding multiple items at one time last tutorial, like add(italicbox, boldbox); It didn't show any errors, but when I ran the program it didn't show my bold box!
thank sir.. sir can you make a tutorial how to make a product design tool or a paint.. thanks to your tutorial.. please make more tutorial about java.. thanks again :D
bucky... I stopped at Burger King today and picked up a couple of the Spicy Chicken sandwiches not thinking anything of it. Came back to my desk and every bite all I could think of was the "special sauce" your girlfriend got sick on... :-(
When you create pb= new JRadioButton(); or group = new ButtonGroup(); Are these objects we are creating? I know it's actually making the button and such but is this considered an object/instance? TIA!
Parth yep! He says it a few times in the next video I believe, but When we do pb= new JRadioButton(); we're making a JRadioButton object named/references as pb
Only one JRadioButton in a group can be selected at a time. If they were not grouped, the program would not be able to tell which buttons to unselect whenever another one was selected.
The serializable class Javabt does not declare a static final serialVersionUID field of type long I get this messege with the public class Gui extends JFrame{ } why???
I have 0 expectation of you reading or replying to this after 9 years but I'm putting this here to help others with the same question, I believe it simply imports everything from that specific thing I don't know the technical words but instead of having to import like 10 different things all at once that all start with java.awt or javax.swing or something, you could just import all of java.awt or javax.swing or whatever to save time (recall the earlier tutorials where we had to import a bunch of things in the Gui class)
@@12me91 Wow, can't believe people can be active on the same account for so long that they respond to a reply on a 9 year old comment! Congrats on your career!
I'm not sure what happened but around tutorial 50 you went from "I can follow this" to "HOLY CRAP WHAT ARE YOU DOING!?" It is like you just threw the KISS (Keep It Simple Stupid) philosophy out the window. Remember it was a true beginner tutorials, not just try and keep up.
+Clinton Knight I don't mean to disrepect or belittle you, but I've found him to be very easy to keep up with! HOWEVER, I've been tinkering with the code after every tutorial. I NEVER copy and paste when he does (so I write it more and memorise it) and I have been making notes after each tutorial from #55+ I really hope you can go over some of the videos and reinforce your knowledge and get back on track! I promise you it's not too hard, it just takes some practice. Good luck fellow java newbie!
+fuckyeahlions It took me several examples from others before I pieced together using JRadioButton's correctly. Not to mention understanding JSlider, JTextfield, JCheckBox. OOP (object oriented programming) has never been my strong suit. Having to push the "I believe" button about what is built into Java has not been easy for me. So watching this video and the several around Java GUI has been exceedingly difficult. Just getting beyond the basic form of these to being able to actually use the code outside of the example has kept me busy for a couple of days. I apologize for venting in such a fashion, but frustration levels have been very high for me in learning Java.
no problem! I'm just starting this particular video myself, so I may be about to share your frustration! I don't know any programming languages so far, so OOP (assuming all of java is object oriented) is alls I know.
I found a really simple way to understand and follow the GUI tutorials. All I do is set the button's size and visibility to true in the main class before Bucky starts the tutorial. Then, as I am coding in the secondary class, I can run the code to see what each line of code does (unlike Bucky who only sees the program run in the end). For example, before the group variable was added, I saw all Radio Buttons could be checked at once. However, once it was added, only one button could be checked at a time. Using this method, its easy to isolate specific lines of codes to their function and uses. Viewing each line is more efficient than viewing the whole code at once.
The difficulty is perfect. Hanging at these subject a bit longer is perfectly fine and understandable. Yes the difficulty has been raised but it can't stay that easy forever, it's still is easy however, it just might take a littl ebit more effort now to get these. He's gradually raising the difficulty in a good pace.
public gui(){ super("naslov"); setLayout(new FlowLayout()); tf = new JTextField("ACE GULABOT",25); add(tf); Why i am having problems here. I repeat the same steps like in the tutorial.
hei, It's really very usefull to me, i want to know how to make this all programs to executable files, then only we can use it with any other pc's, so, plz tell about that>>> ok,, thx... Keeeeeeeeeeep Rockkkkkkkiiiiiiinnnnnnnnngggggg>>>>
19 February 2017:
Java Programming Tutorial - 1 - Installing the JDK >>> 4,780,783 views
Java Programming Tutorial - 66 - JRadioButton >>> 162,342 views
Lol many people thought java is like those tic toc toe but later found out its COD
LOL...
Bucky, after I watched this 66th video in the series, I have to say... I have learned more from you this week (in the 3 days watching them) than 10 weeks at college! You are awesome! Look forward to the rest of the videos...
Hello Bucky. You are fun guy. Great sense of humor. I didn't know Java and in one day went through 66 of your videos. That's how interested I was. Cheers
In one day?
Bucky very good tutorials you can turn a complete newbie into a very good programmer well done!
You're amazing man! Your tutorials are the best I could find on the internet (by far!) and you got a really awesome personality! Always stay yourself and keep doing what you love! Thanks a lot for all the tutorials and the jokes
Mad beatboxing skillz.
This is probably the most useful channel I have ever subscribed to on youtube :D
"Oh ya that feels good, oh ya get in there"
hah
I don't know if bucky didn't show it because it's considered bad practice or something, but when you are defining multiple variables of the same type, you can define them all at once instead of typing Font whatever four times on four lines, just do Font pf, bf, itf, bif;
hopefully this helps somebody save time
Buckey, your tutorials are very simple and make learning java very easy! I have one suggestion to save some typing effort. At the beginning when you declare your private variables, you say private Font pf; private font bf; private Font itf; and so on...
This can be made simpler by just typing private Font pf, bf, itf, bif;
Just a suggestion :P
Thanks again!
EXCELLENT tutorial!!!
I have a tutorial for you Bucky. Its called the copy (Ctrl+c) and paste (Ctrl+v) tutorial. In case you missed it, that was it. lol
Good tutorial btw
i realy like when i look back at my program and see lots of stuff :D
Now for your" buckies greatest hits"... ever fucking second of this video.....
where were you in last threee video god
Awesome tutorials!!!
Bucky thanks for the Java tutorials.
@HaplyKneels O.O that is so useful! I was worried about having to memorize all of them, but this makes it so easy!
4:58 - 5:01 Yes officer, this video right here.
i got the 200th like, that feels good.
and 0 dislikes, that's how it should be on these types of videos.
damn, this dude is funny! and intelligent and a great instructor too!
Why can't we just type add(pb,bb,ib,bib); to add all the items in the window.
ujjwal mainali Late response, but maybe it’ll help anyone watching this video in the future:
add() is a method that accepts a component (and some other optional things) as a parameter. Method parameters MUST be followed; you cannot pass in anything more or anything less. This is why there are often multiple methods with the same name, but different parameters. The method that you are describing, add(Component c1, Component c2, Component c3, Component c4), simply doesn’t exist. You could create your own method that achieves the effect that you are looking for (this is called overloading, I believe), but it would be it’s own separate method, and you would then HAVE to pass in four components for the method to work.
I’m still relatively new to Java, so please feel free to add info and/or correct me if anything I said was inaccurate.
This may help.
private JRadioButton but1,but2,but3,but4;
private JTextField tf;
private Font pf,bf,itf,bif;
Wow, thats a pretty cool title.
Epic beat box: 6:34
@12me91 using the * when importing saves alot of typing, but is bad programming style,as you will import alot of stuff that will make your application full off stuff that you may not need. So if you know all the stuff you need its much better;-).
I love you man
I find doing this: ButtonGroup group = new ButtonGroup(); is easier for making the group, is there anything bad about doing it this way?
I use to have a toy that had that radio button concept. That's all I remember is the buttons.
What would happen if in the source code you set more than one radio button to true? Would there be an error, or does Java have a default setting or something it would go to?
oooh....Congrats........We made it so far
Not only were radio buttons designed that way, channel changers where too. They would make a loud clicking sound every time you changed the channel as the spring of the previously pressed button was released. Hence the name "clicker". Guess I'm old now. Fuck, how did that happen.
I have been coding for the past couple years and whenever I make a gui, i extend JPanel rather than JFrame. Any reason why you extend JFrame?
6:35 Lmao, literally
Thank you
The way he said "best friend at 1:25 was really creepy...
no its that some people always go like back to episode 1, nd im sayin that the first 2 are installing, plus the first vid has so much more views than the 2nd and i don't what the deal with that is
to get all the fonts do this>>>
import this>>>> import java.awt.Font;
import java.awt.GraphicsEnvironment;
GraphicsEnvironment e = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font[] fonts = e.getAllFonts(); //gets the fonts
for (Font f : fonts) {
System.out.println(f.getFontName());
}
"Bucky is awesome and hot" - That is what the girls say, the size is 25.... if you know what I mean!
+Risto Bozinov I understand even I don't want to...
+Risto Bozinov hehehe
Beatboxing like a pro. 6:35
great sense of humor!
lol 5+
I tried adding multiple items at one time last tutorial, like
add(italicbox, boldbox);
It didn't show any errors, but when I ran the program it didn't show my bold box!
you can actually just type :
private Font pf,bf,itf,bif;
private JRadioButton pb,bb,ib,bib;
Im gonna take a break, so i can practice all this shnaz
thank u
Bucky u broke the rule....."Make sure you spell it wrong"........You changed "buckt" to "bucky"...:D
boom chika boom boom chika boom :D
asmr with bucky
eclipse is giving me the next solution: remove argument to match object(to remove naslov to match public gui())
you're funny you know :D
4:59 ...that's what he said :)))))
How can I place a RadioButton in a null layout?? it doen't work :/
thank sir.. sir can you make a tutorial how to make a product design tool or a paint..
thanks to your tutorial.. please make more tutorial about java.. thanks again :D
bucky... I stopped at Burger King today and picked up a couple of the Spicy Chicken sandwiches not thinking anything of it. Came back to my desk and every bite all I could think of was the "special sauce" your girlfriend got sick on... :-(
When you create pb= new JRadioButton(); or group = new ButtonGroup();
Are these objects we are creating? I know it's actually making the button and such but is this considered an object/instance?
TIA!
figured the answer yet? I am confused about that too
Parth yep! He says it a few times in the next video I believe, but When we do pb= new JRadioButton(); we're making a JRadioButton object named/references as pb
exactly 1000 likes right now
why do we need the "group"?
Only one JRadioButton in a group can be selected at a time. If they were not grouped, the program would not be able to tell which buttons to unselect whenever another one was selected.
The serializable class Javabt does not declare a static final serialVersionUID field of type long
I get this messege with the public class Gui extends JFrame{
}
why???
I typed just "Bucky is awesome" without hot if you don't mind ))))
Now we are down to 80,000
even radio buttons live in families! poor me!
Gud
That's the girl saying to you hah. HAHHHAHA
why cant you set the DefaultCloseOperation, setVisibility, setSize, all in the constructor?
You can... i do.
Ahh ok i was jkw
*****
hoooooowwwwwwwwww
4:10 🧢🎓
"Bucky is awesome and hot, twenty-five in size."
look at the date of his comment, dude.
bib bib bib bib bom chicka boomboom. xD
back... I have made progress
yea but the first 2 vids are just installing, it actually begins at the third vid.
I like how da top comments section doesn't have nothin to wit da tutorial and da new comments section have some stuff bout da tutorial XD
Whats the * for at the end of the import statements?
I have 0 expectation of you reading or replying to this after 9 years but I'm putting this here to help others with the same question, I believe it simply imports everything from that specific thing
I don't know the technical words but instead of having to import like 10 different things all at once that all start with java.awt or javax.swing or something, you could just import all of java.awt or javax.swing or whatever to save time (recall the earlier tutorials where we had to import a bunch of things in the Gui class)
@@omerd602 You are correct. 9 years later I have a masters degree in computer science and am a professional developer. I use the * all the time now.
@@12me91 Wow, can't believe people can be active on the same account for so long that they respond to a reply on a 9 year old comment! Congrats on your career!
@@omerd602 Thanks! luckily my lazy ass prevents me from making new accounts
its most watched in the year 2012
Nice tutorial, but I would really like for you to go back to C++. I went through all the tutorials and understand them completely.
I want more.
I'm not sure what happened but around tutorial 50 you went from "I can follow this" to "HOLY CRAP WHAT ARE YOU DOING!?"
It is like you just threw the KISS (Keep It Simple Stupid) philosophy out the window. Remember it was a true beginner tutorials, not just try and keep up.
+Clinton Knight I don't mean to disrepect or belittle you, but I've found him to be very easy to keep up with!
HOWEVER, I've been tinkering with the code after every tutorial. I NEVER copy and paste when he does (so I write it more and memorise it) and I have been making notes after each tutorial from #55+
I really hope you can go over some of the videos and reinforce your knowledge and get back on track! I promise you it's not too hard, it just takes some practice. Good luck fellow java newbie!
+fuckyeahlions It took me several examples from others before I pieced together using JRadioButton's correctly. Not to mention understanding JSlider, JTextfield, JCheckBox. OOP (object oriented programming) has never been my strong suit. Having to push the "I believe" button about what is built into Java has not been easy for me. So watching this video and the several around Java GUI has been exceedingly difficult.
Just getting beyond the basic form of these to being able to actually use the code outside of the example has kept me busy for a couple of days.
I apologize for venting in such a fashion, but frustration levels have been very high for me in learning Java.
no problem! I'm just starting this particular video myself, so I may be about to share your frustration!
I don't know any programming languages so far, so OOP (assuming all of java is object oriented) is alls I know.
I found a really simple way to understand and follow the GUI tutorials. All I do is set the button's size and visibility to true in the main class before Bucky starts the tutorial. Then, as I am coding in the secondary class, I can run the code to see what each line of code does (unlike Bucky who only sees the program run in the end). For example, before the group variable was added, I saw all Radio Buttons could be checked at once. However, once it was added, only one button could be checked at a time. Using this method, its easy to isolate specific lines of codes to their function and uses. Viewing each line is more efficient than viewing the whole code at once.
The difficulty is perfect. Hanging at these subject a bit longer is perfectly fine and understandable. Yes the difficulty has been raised but it can't stay that easy forever, it's still is easy however, it just might take a littl ebit more effort now to get these. He's gradually raising the difficulty in a good pace.
turn the transcript on and play :D
yeah..suuure, your ear ...
because im guessing first you have learn Jframe so you can learn JPanel much easier, its like the process of learning i guess
That's why I eat Wendy's.
1:46 lol
@12me91 It imports everything.
can someone tell me what * mean?
public gui(){
super("naslov");
setLayout(new FlowLayout());
tf = new JTextField("ACE GULABOT",25);
add(tf);
Why i am having problems here. I repeat the same steps like in the tutorial.
"1 year ago"
LOL Bucky has java groupies LOL
hei, It's really very usefull to me, i want to know how to make this all programs to executable files, then only we can use it with any other pc's, so, plz tell about that>>>
ok,, thx... Keeeeeeeeeeep Rockkkkkkkiiiiiiinnnnnnnnngggggg>>>>
cmd+option+down arrow
its the only error and it wont run the program with it.
I didn't name it bif, i named it beefstake:)
prizes!? :D
Who doesn't like free education?
main...?
I didn't say anything abaout video 1 and 2 o_o
Execute tutorial 66
bucky is still awsome and hot!
There's 464 likes and 6 dislikes!
Thats 469 likes and 6 dislikes!
instead of writing:
JRadioButton ...;
JRadioButton ...;
JRadioButton ...;
JRadioButton ...;
one can also write
JRadioButton ...,....,....,....;
*read
thers 406 likes and 6 dislikes
private JTextField tf;
tf = new JTextField("TREASON!!", 5000);