I love it. I can code in Java, but I've never done an application from the very beginning on my own. This video is really valuable and helped me a lot with starting my own project. Thank you
This amount is insane for someone that just learned how whileloops works. I'm looking forward to fixing a typo that exists somewhere in the range of lines 41 - 267 :)
One of my best mates at school 30 years ago was crazy knowledgeable he smashed out a packman game in an hr once in class in z80 assembler just because he had a free hour even the teachers were like can I have a copy of that, I just wished I'd listened more to him and started to learn then and not waited so long.
It's a bit hard to follow because the pace is so fast. People appreciate it when the instructor does the exercises in real-time and is able to comment live, too, as opposed to doing a voice over after-the-fact. That being said, I am glad to have found this tutorial, and I was able to learn some things from it.
I did the whole project but i will have to look at the tutorial again in hopes of figuring this out. Before this project I have made one application in javafx... Thank you for your work 😁
bro , in this game , I am able to delete the numbers generated randomly by the java program , user shouldn't be able to remove these numbers. Also , game is starting from same point from where i left it even after i close the application , How to start a new game ??. Is there any key to press . Also when i am fill all the values in the game and hitting enter . It is not displaying any pop message , like you have won or lost as explained in the video.
public static boolean puzzleIsSolvable(int[][] puzzle) { //step 1: Coordinates[] emptyCells = typeWriterEnumerate(puzzle); //I would like to stress that using lots of nested loops is only appropriate if you are certain that //the size of input O(n) is small. int index = 0; int input = 1; while (index < 10) { Coordinates current = emptyCells[index]; input = 1; while (input < 40) { puzzle[current.getX()][current.getY()] = input; //if puzzle is invalid.... if (GameLogic.sudokuIsInvalid(puzzle)) { //if we hit GRID_BOUNDARY and it is still invalid, move to step 4b if (index == 0 && input == GRID_BOUNDARY) { //first cell can't be solved return false; } else if (input == GRID_BOUNDARY) { //decrement by 2 since the outer loop will increment by 1 when it finishes; we want the previous //cell index--; } input++; } else { index++; if (index == 39) { //last cell, puzzle solved return true; } //input = 10 to break the loop input = 10; } //move to next cell over } } return false; } at 1:11:24 why index less than 10, it has to less than 40 and the loop "while (input < 40) " input need to less than 10 because the value in sudoku just from 1 to 9. Do i think wrong in anything. I am very pleasure to recieve your response
Hi, I've written the code as I was following through your tutorial and made sure that there is no compile error. I can run the program just fine now, but it is just looping in main method without any sudoke GUI popping out. I have no problem with library import and javafx seems to be included already without needing to add dependencies, so the only thing I did differently is that I didnt download javaFX SDK 11 as you did show in (12:09). Could you help me with this? I am using java 8 (1.8.0_341) , Gradle 6.9.3, IntelliJ IDEA 2021.2.4 (Community Edition)
Does this work for anyone? I getting the game board to show up but whenever i put any values in the boxes theres no confirmation or error based off the value inputted... Also how is he getting the sudoku solver to work I don't see it imported into any other packages
Hi! I subscribed the moment you said, u like to teach while building. In programming I believe It too much talking of concept, principles and metric. We end up learning by heart but when we have to apply in terms of coding not many can .. I’m a Msc in software engineering and a part-time teacher too ..
Man you re doing what, It seems like you saying its a fundamental knowledge and begennier can do that. But you only use shortcuts and doesnt give any clue about that , while watching its a bit complicated , I wish you could realize that
Actual tutorial that explains the code here - Link to the actual tutorial explaining this code - ua-cam.com/play/PLEVlop6sMHCoVFZ8nc_HmXOi8Msrah782.html
Yes, in my course Working Class Java, which this tutorial is a compliment to. To answer your question though, I use Intellij IDEA with Dark Theme enabled, and JDK 13. You can probably get away with just using Java 11 though; but it depends on what version of JavaFX you want to use.
@@wiseAss please add your course link in the video description Link to the actual tutorial explaining this code - ua-cam.com/play/PLEVlop6sMHCoVFZ8nc_HmXOi8Msrah782.html
If you plan to be involved in Android Development exclusively, then pick Android Studio. Otherwise, there are three other main options. - Intellij IDEA: This is what Android Studio is based on. I use this in the tutorial here, and I highly recommend it. - Eclipse: Eclipse is a very solid open source community tool. It was my first Java IDE back in 2013, and it is pretty good for anything OTHER THAN ANDROID. DO NOT USE IT FOR ANDROID. I have used it for both Java EE (Web Apps) and Desktop though. - Netbeans: Yeah.... not a fan but some people love it.
When there is no top-down design preliminary explanation, but just a linear copy from source with voice over with random comments thrown in, you know that is going to be a bad/useless tutorial.
In UserInterfaceImpl the "thickness": Why not init thickness by 2 and only change if needed, so the "if else" the "else" can be omitted. Would that be bad style?
Hy i copy exactly what you did but when i run the main i get this: WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @6c6c7c5a' and it show a blanc (exept for the background color) but without the line or number how can i fis that? any advice?
I go over every concept in my course, Working Class Java. This free tutorial is a compliment to that course, and I explain every topic from absolute basic Java to advanced architecture and OOP principles. I have links to the course in the pinned comment, and FreeCodeCamp has also kindly posted them to the description of this video. For my IDE, I use Intellij IDEA with Darcula theme enabled.
I am getting an ERROR when I try to run it " WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @496553fd'" Can anyone help?🤔🤔 Thanx in advance 😁😁😁
Hi thanks buddy for this!I have a question about :setX,...;where is that .which is class ?i see the clip but you don't define ,please help me?!!!!!!!!!!!!!!!!!!!!!!!!!
You are probably thinking of the setX() method from the Rectangle Class in JavaFX. I use the Rectangle class to create lines (among other things), and the setX()/setY() methods will set the X, Y Coordinates of the line relative to the application window. Visit the Open JFX documentation to see what their methods and classes do. I would post the link but it will probably be grabbed up by a spam filter.
I don't know how to finish the game even , because when i am hitting enter after filling all the boards of the sudoku game , it's not displaying a message , rather it's making the field empty on which array is pointing to
If you plan to be involved in Android Development exclusively, then pick Android Studio. Otherwise, there are three other main options. - Intellij IDEA: This is what Android Studio is based on. I use this in the tutorial here, and I highly recommend it. - Eclipse: Eclipse is a very solid open source community tool. It was my first Java IDE back in 2013, and it is pretty good for anything OTHER THAN ANDROID. DO NOT USE IT FOR ANDROID. I have used it for both Java EE (Web Apps) and Desktop though. - Netbeans: Yeah.... not a fan but some people love it.
just finished the course and its awesome but there is just a tiny bit of problem my sudoku generation is wrong like same no is coming in the same block twice can someone help me? i have checked everything is according to the video
When you run the code, a sudoku will be generated. If you close the window without solving it, the same sudoku will be seen next time as well. But if you solve this and then generate a new game with the dialog box it shall give you a new sudoku game with values placed at different locations. If your problem is different do let me know.
ray: "...Not trying to go through this super quickly if you're wondering why I'm going slow"
me: *furiously typing*
I love it. I can code in Java, but I've never done an application from the very beginning on my own. This video is really valuable and helped me a lot with starting my own project. Thank you
This amount is insane for someone that just learned how whileloops works.
I'm looking forward to fixing a typo that exists somewhere in the range of lines 41 - 267 :)
LOL love this guy " I don't have a degree in anything" . While I'm sure many of us here have our masters and could barely write a proper program
i just got a bachelors degree in computer science and have barely any programming experience.
@@alwaysmuede9323 😅 same here.
One of my best mates at school 30 years ago was crazy knowledgeable he smashed out a packman game in an hr once in class in z80 assembler just because he had a free hour even the teachers were like can I have a copy of that, I just wished I'd listened more to him and started to learn then and not waited so long.
@@alwaysmuede9323 The best way to learn coding is to code. :) They wont teach you how to code properly, you should learn it by yourself.
plz someone tell me do i have to install java fx in vs code for this?
"I'm not trying to go through this super quickly, in case you're wondering why I'm moving so slowly..."
I don't know if that was sarcasm or not...lol
For a moment I thought Bjorn Lothbrok :)
Coincidentally, my nickname when I played sports as a kid was "Scrap Iron."
Lol, yea. This is my first time landing on this channel and that was my first thought.
He is: After fasting for 2 months
I was wondering why no one else noticed haha
🤣🤣🤣🤣
Please do more of these videos
You gotta run the application as you go to better visualize the progression of the application
It's a bit hard to follow because the pace is so fast. People appreciate it when the instructor does the exercises in real-time and is able to comment live, too, as opposed to doing a voice over after-the-fact.
That being said, I am glad to have found this tutorial, and I was able to learn some things from it.
That is not a “course”, this is “making desktop app speedrun”
Just promoting his courses every 15 seconds, that is so annoying
@@amroulouay6819 I agree with you, but I just used this as practice and it was a good introduction to javafx
Please start the project with making a UML design, without a design it's very hard to keep track of relation between different classes
nothing is really free
3 hours i code this application without running, now I'm banging my head into the wall.
I did the whole project but i will have to look at the tutorial again in hopes of figuring this out. Before this project I have made one application in javafx... Thank you for your work 😁
It covers everything in Java. Thankyou. This was a Revision Crash Course for Me
My guy just writes the whole thing one shot, no runs in between
I swear you read my mind, I attempted this like 2 weeks ago
"NO ADS" clicks on video and ad starts 😂
Thank you, from Brazil!
We need more!
I am learning java currently and i am putting this video in watch later 👌🏼
Sid welp
U good at Java now?
@@dardanillyr3989 yess !! But i still haven’t watched this vid. I m definitely going to try this one
This was nice. Thank you for sharing rhis tutorial!
great video, I am going deeply on Java programming and it's so cool building a Sudoku game for a first small project! thank you!
bro , in this game , I am able to delete the numbers generated randomly by the java program , user shouldn't be able to remove these numbers. Also , game is starting from same point from where i left it even after i close the application , How to start a new game ??. Is there any key to press . Also when i am fill all the values in the game and hitting enter . It is not displaying any pop message , like you have won or lost as explained in the video.
Thanks i was searching for java application build
public static boolean puzzleIsSolvable(int[][] puzzle) {
//step 1:
Coordinates[] emptyCells = typeWriterEnumerate(puzzle);
//I would like to stress that using lots of nested loops is only appropriate if you are certain that
//the size of input O(n) is small.
int index = 0;
int input = 1;
while (index < 10) {
Coordinates current = emptyCells[index];
input = 1;
while (input < 40) {
puzzle[current.getX()][current.getY()] = input;
//if puzzle is invalid....
if (GameLogic.sudokuIsInvalid(puzzle)) {
//if we hit GRID_BOUNDARY and it is still invalid, move to step 4b
if (index == 0 && input == GRID_BOUNDARY) {
//first cell can't be solved
return false;
} else if (input == GRID_BOUNDARY) {
//decrement by 2 since the outer loop will increment by 1 when it finishes; we want the previous
//cell
index--;
}
input++;
} else {
index++;
if (index == 39) {
//last cell, puzzle solved
return true;
}
//input = 10 to break the loop
input = 10;
}
//move to next cell over
}
}
return false;
} at 1:11:24 why index less than 10, it has to less than 40 and the loop "while (input < 40) " input need to less than 10 because the value in sudoku just from 1 to 9. Do i think wrong in anything. I am very pleasure to recieve your response
Excellent tutorial! I try never to miss any of your videos :-)
Next up: Tutorial on how to insulate a house.
Plumbing and electricity is next, but I'll do the insulation tutorial after that.
I am still so confused on what is happening. Maybe I need to learn more before I watch this video but I fear I’ll never understand.
I just learned functions, while loops and such but this is way over my head! Good to know where it's heading though!
Really enjoyable doing this. :)
that is the kind of teaching I like !! thankyou
Too much competition in the industry. See now Bjorn Ironside doing coding!
Thank you, Bjorn Lothbrok
Please do more like this
Pls make more of these !!!
Thank you Bjorn :)
How do you guys get to know what i am searching for in the Internet.
Literally i experienced the same in the last 13 vids!!!
they can read your mind
Hi, I've written the code as I was following through your tutorial and made sure that there is no compile error. I can run the program just fine now, but it is just looping in main method without any sudoke GUI popping out. I have no problem with library import and javafx seems to be included already without needing to add dependencies, so the only thing I did differently is that I didnt download javaFX SDK 11 as you did show in (12:09). Could you help me with this?
I am using java 8 (1.8.0_341) , Gradle 6.9.3, IntelliJ IDEA 2021.2.4 (Community Edition)
oh nevermind. It seems that I created an infinite loop by not adding any "index++" in a while loop where the condition is index
I'm grateful that I found this video. Thank You!!
Please upload an course on ui/ux.
Cool Start but the first section starts with things thtat are really hard for beginners even though you said that this tutorial is for begiinners
Does this work for anyone? I getting the game board to show up but whenever i put any values in the boxes theres no confirmation or error based off the value inputted... Also how is he getting the sudoku solver to work I don't see it imported into any other packages
same question here bro
same here
i finish mine and no message send :)
Alright let's do this
Are you acted by chance as Björn Ironside in Vikings :)
Thanks for the contents
Hey Guys !!
I m a future Physicist and Only thing i think missing is Tutorial on Fortran Programming so will u guys make on that please.....
thank you so much for this vid!!!!
i swear this video is so much better than wtv they've taught us in my java classes in uni lol
Hi! I subscribed the moment you said, u like to teach while building. In programming I believe It too much talking of concept, principles and metric. We end up learning by heart but when we have to apply in terms of coding not many can .. I’m a Msc in software engineering and a part-time teacher too ..
anyone else not getting the application to work? It's saying "Open JDK Platform Binary is not responding".
Thanks
From Where can i download all jars file for this?
good to see ragnar lothbrok coding
27:00 And here comes a plane....................
Man you re doing what, It seems like you saying its a fundamental knowledge and begennier can do that. But you only use shortcuts and doesnt give any clue about that , while watching its a bit complicated , I wish you could realize that
tutorial seems to be over dependant on IntellIJ IDE. JavaFX related steps are hard reach to understand.
The IDE just lets you to type less repetitive code, but you can still do it by yourself with your preferred editor (even notepad would work)
Damn…the only reason I wanted to watch this was to see how you coded for building the jar file
THANK YOU! This dude wasted my mf time! 😑
@@h-girlradio4699 I skipped to the end to make sure he did or didn’t cover it
you can refer to this video from bro code: ua-cam.com/video/jKlyHG-zbjk/v-deo.html
you can also use gradle build tool which will create an executable jar file for you.
The intro looks he's about to do an orchestra
Hello for some reason i cannot import the javafx can you help, i did what you did and for some reason it is not working
I wish there was testing and information on how to run it because I just have a bunch of code now but I don't know how to run or test it...
At 6:30, what is the (Coordinates) o; to the right of the equals sign doing?
it's casting the object o to a coordinate
You looking like Bjorn ironside from Vikings tv series :)
Any degree? I have to finish this video!! .I will subscribe if I like it 👌. Java is a difficult language.
hey, I didn't find your paid course on skillshare, would you mind share it again?
Idea gang
If it’s too fast just change the playback speed
Hello could you please make a tutorial on how to code an online shop using php, bootstraps and MYSQL 🥺
Php🤦♂️
@@arnav520 why not? php is used for web development
Actual tutorial that explains the code here - Link to the actual tutorial explaining this code - ua-cam.com/play/PLEVlop6sMHCoVFZ8nc_HmXOi8Msrah782.html
is it his complete "working java class" course?
Thank you
Great.
Please make a video on java fxml using intellij idea
where is the video that you talked about app container ?
Hey Bjorn!
Ryan this looks good. Is there a place where it shows what IDE and JDK you are using and how to install them on Mac OSX?
Thank you.
Yes, in my course Working Class Java, which this tutorial is a compliment to. To answer your question though, I use Intellij IDEA with Dark Theme enabled, and JDK 13. You can probably get away with just using Java 11 though; but it depends on what version of JavaFX you want to use.
@@wiseAss Got it - thanks.
@@wiseAss please add your course link in the video description
Link to the actual tutorial explaining this code - ua-cam.com/play/PLEVlop6sMHCoVFZ8nc_HmXOi8Msrah782.html
tf how come nobody noticed ryan exactly looks like ragnar's elder son from vikings
Can someone please tell me which ide is this guy using to code. How can code something without knowing where to code
IntelliJ IDEA
I can't tell you how grateful I am. Thankyou so much. : )@@amroulouay6819
Can i add sudoko game and library managemnet system in my resume. Is that good to get software developer job in a product based company?
What IDE is good for Java?
If you plan to be involved in Android Development exclusively, then pick Android Studio. Otherwise, there are three other main options.
- Intellij IDEA: This is what Android Studio is based on. I use this in the tutorial here, and I highly recommend it.
- Eclipse: Eclipse is a very solid open source community tool. It was my first Java IDE back in 2013, and it is pretty good for anything OTHER THAN ANDROID. DO NOT USE IT FOR ANDROID. I have used it for both Java EE (Web Apps) and Desktop though.
- Netbeans: Yeah.... not a fan but some people love it.
I'm a last year cs (information Systems) student and my teacher uses either Eclipse or Netbeans
IntelliJ Idea
Can this be put in a resume?
When there is no top-down design preliminary explanation, but just a linear copy from source with voice over with random comments thrown in, you know that is going to be a bad/useless tutorial.
Does this work on Andriod too? Will try to improvise.
how to start this sudoku application as a new game , it is starting the application from same place where i am leaving the puzzle , even if close it.
Is there a simpler project for my first time making one? 17 minutes into the video and it feels pretty overwhelming.
Which software you are using for writing code
I think it's IntelliJ.
In UserInterfaceImpl the "thickness": Why not init thickness by 2 and only change if needed, so the "if else" the "else" can be omitted. Would that be bad style?
In which platform did you code? I am trying to do it in eclipse and it's not that accurate. Can you please reply about it.
when i finish solving the sudoku, it doens't show message for new game. Do you guy have the same issue?
Hy i copy exactly what you did but when i run the main i get this:
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @6c6c7c5a' and it show a blanc (exept for the background color) but without the line or number how can i fis that? any advice?
What is most popular programming language for building desktop applications, Java or C#? Or are there others?
Java because u can build for windows, mac, linux. But with C# u are limited to windows only
@@waqasahmed8660 so why people still saying java is dead
@@ahmedbathily7013 bcoz they only know about their workplace where java is not being used lol
Need more
Why make an utility method to clone arrays isn't arr.clone() or Arrays.copyOf(arr) identical?
Nice!
that would be great tutorial if you don't rush so much
Hey, what all concepts should one be thorough with... In order to code for the above sudoku...?
AND BTW which IDE is that one?
I go over every concept in my course, Working Class Java. This free tutorial is a compliment to that course, and I explain every topic from absolute basic Java to advanced architecture and OOP principles. I have links to the course in the pinned comment, and FreeCodeCamp has also kindly posted them to the description of this video.
For my IDE, I use Intellij IDEA with Darcula theme enabled.
I think youtube hear me...
It's recommendation algorithm is quite lit
Bro what app you are using for java
I am getting an ERROR when I try to run it " WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @496553fd'"
Can anyone help?🤔🤔
Thanx in advance 😁😁😁
Another thing that the gridlines and the textfields do not show😅😅
I don't see any comments about the "it's like this and like that", I'll come later!
How to run the suduko project in intellij?
Hi thanks buddy for this!I have a question about :setX,...;where is that .which is class ?i see the clip but you don't define ,please help me?!!!!!!!!!!!!!!!!!!!!!!!!!
You are probably thinking of the setX() method from the Rectangle Class in JavaFX. I use the Rectangle class to create lines (among other things), and the setX()/setY() methods will set the X, Y Coordinates of the line relative to the application window.
Visit the Open JFX documentation to see what their methods and classes do. I would post the link but it will probably be grabbed up by a spam filter.
After running the app, the sudoku board displays texts in a foreign language, how can I change it to english?
I don't know how to finish the game even , because when i am hitting enter after filling all the boards of the sudoku game , it's not displaying a message , rather it's making the field empty on which array is pointing to
What IDE is usual for Java?
If you plan to be involved in Android Development exclusively, then pick Android Studio. Otherwise, there are three other main options.
- Intellij IDEA: This is what Android Studio is based on. I use this in the tutorial here, and I highly recommend it.
- Eclipse: Eclipse is a very solid open source community tool. It was my first Java IDE back in 2013, and it is pretty good for anything OTHER THAN ANDROID. DO NOT USE IT FOR ANDROID. I have used it for both Java EE (Web Apps) and Desktop though.
- Netbeans: Yeah.... not a fan but some people love it.
@wiseAss thnq
Ur done in visual studio know
can you make it flutter as well if yes then how?
just finished the course
and its awesome
but there is just a tiny bit of problem
my sudoku generation is wrong
like same no is coming in the same block twice
can someone help me?
i have checked everything is according to the video
got the same issue, did you find any solution?
When you run the code, a sudoku will be generated. If you close the window without solving it, the same sudoku will be seen next time as well. But if you solve this and then generate a new game with the dialog box it shall give you a new sudoku game with values placed at different locations. If your problem is different do let me know.