Excellent! I have subscribed. I am learning Java and Visual Studio Code. Thank you. I am watching your other Java videos later today. You deserve many more subscribers.
Thank you so much this helped me a lott!! I was totally blank i wasn't able to understand anything was getting tons of errors on the code finally after doing what you told its all clean. You're a lifesaver!!
I have installed Java, Maven & Cucumber extensions for VSCode IDE. But in my VSCode IDE, there is no 'Create Java Project' button. Then how can I create a Java Maven project in VSCode.?
Hello, I want to ask something. Every time I open the vs code, a message saying "Java projects are opening, check the details" appears. It wasn't there before, is it normal? The laptop gets very hot while this is happening, that's why I asked.
thank you for not adding unnecessary fluff to the video and for getting to the point clear and quick 👍👍
This is called a fucking lecture, i freaking love, what i love more is his accent, its just cute and nice
i am dropping you a subscribe just becuase of this video
very soothing and simple. Great style of delivery. keeping the same pace while talking. Great! ty.
thanks for the comment
Simple, straight to the point, and works. Thank you!
Excellent! I have subscribed. I am learning Java and Visual Studio Code. Thank you. I am watching your other Java videos later today. You deserve many more subscribers.
You're welcome, and thank you for your subscription
Excellent video mate, easy to follow and simple. Perfect!!
Watched many videos but yours is very easy to understand..thanks man
very basic to know but that is the reason of sharing the fundamentals, great job!
This was a huge help. Super straight forward. Thanks!
Excellent introductory video. Crystal clear. Thank you.
A nice small tutorial. Excellent delivery of the information.
Thank you! It’s very helpful
as i m new to coding this really helped
Thank you so much for this video, very important information, hi from Kazakhstan:)
I love your voice, sound like mix beetwen russian, morocan and fresh
This really simple and to the point thanks man
Thank you so much this helped me a lott!! I was totally blank i wasn't able to understand anything was getting tons of errors on the code finally after doing what you told its all clean. You're a lifesaver!!
Very useful and clear tutorial. Thank you!
thankou sir for very simple understanding each and every point.
you are awesome .. love the way u teach
Good to have this kind of helpful lecture
Simple and Understandable. 👍👍
Thanks Bro,u help me very much,greetings from Brazil
very helpful, truly grateful for this video, it is godsend
Thank you so much for making the tutorial
Thanks man!
nice one bro!
Thank you for this video!
Thank you for this video ❤
I have installed Java, Maven & Cucumber extensions for VSCode IDE.
But in my VSCode IDE, there is no 'Create Java Project' button.
Then how can I create a Java Maven project in VSCode.?
same here
@@tamzidalmasum4831 Click the Explorer icon (Ctrl + Shift + E).
Then refresh the VSCode IDE. Then 'JAVA PROJECTS' menu will appear. 📝
click ctrl+shift+p thin in above option will come to create java project .. or after ctrl+shift+p type java then option will come to make it
i need more and more projects like this and also advance projects
10/10, thx for the video
Thank you ❤
It works ..Thank you sir..
how to create class under a package
How to delete the "FIRSTPROJECT" From our computer
THANK YOOOU!!!
Thank you
what the name extension do u use?
Thank you👍
Thank you
Thank you man
يسعد ام الهنود ياشيخ الله يحفظكم
my mind is blown
Amazing thanks
Why in my Frame the logo is not "Java" but logo of "Linux" penguin?
I did as you said and when I open the project in Intellij Idea, it says sdk is not installed.
What is Problem ? (Project running in VSCode)
thanks!
Hello, I want to ask something. Every time I open the vs code, a message saying "Java projects are opening, check the details" appears. It wasn't there before, is it normal? The laptop gets very hot while this is happening, that's why I asked.
İ mean is that mean vscode trying to open all java projects background?
Noice
Tq
how to insall java ?
Vs code lo program Ela run cheyalo cheppandi sir please
what if it says scanner cannot be resolved to a class
Do scanner.close()
Hello friend can you help me please
Error: Could not find or load main class Mainclass
Caused by: java.lang.ClassNotFoundException: Mainclass
Clickbait sala
👎👎👎👎
Thanks a lot sir ,🥹🥹 .
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class TicTacToc {
int boardWidth = 600;
int boardHeight = 650;//50px for the text panel on top
JFrame frame =new JFrame( "Tic-Tac-Toc");
JLabel textLabel = new JLabel();
JPanel textPanel = new JPanel();
JPanel boardPanel = new JPanel();
JButton[][] board = new JButton[3][3];
String playerX = "X";
String playerO = "O";
String currentPlayer = playerX;
boolean gameOver = false;
TicTacToc() {
frame.setVisible(true);
frame.setSize(boardWidth, boardHeight);
frame.setLocationRelativeTo(null);
frame.setResizable(false);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLayout(new BorderLayout());
textLabel.setBackground(Color.darkGray);
textLabel.setForeground(Color.white);
textLabel.setFont(new Font("Arial", Font.BOLD,50));
textLabel.setHorizontalAlignment(JLabel.CENTER);
textLabel.setText("Tic-Tac-Toc");
textLabel.setOpaque(true);
textPanel.setLayout(new BorderLayout());
textPanel.add(textLabel);
frame.add(textPanel, BorderLayout.NORTH);
boardPanel.setLayout(new GridLayout(3,3));
boardPanel.setBackground(Color.darkGray);
frame.add(boardPanel);
for (int r = 0; r < 3; r++ ) {
for (int c = 0; c< 3; c++) {
JButton tile = new JButton();
board[r][c] = tile;
boardPanel.add(tile);
tile.setBackground(Color.darkGray);
tile.setForeground(Color.white);
tile.setFont(new Font("Arial", Font.BOLD, 120));
tile.setFocusable(false);
// tile.setText(currentPlayer);
tile.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (gameOver) return;
JButton tile = (JButton) e.getSource();
if (tile.getText() == "") {
tile.setText(currentPlayer);
checkWinner();
if (!gameOver){
currentPlayer = currentPlayer == playerX ? playerO : playerX;
textLabel.setText(currentPlayer + "'s turn.");
}
}
}
});
}
}
}
void checkWinner() {
//horizontal
for (int r = 0; r < 3; r++) {
if (board[r][0].getText()== "") continue;
if (board[r][0].getText() == board[r][1].getText() &&
board[r][1].getText() == board[r][2].getText ()) {
for (int i =0; i < 3; i++) {
setWinner(board[r][i]);
}
gameOver = true;
return;
}
}
//vertical
for (int c = 0; c
seems very tedious to run simple codes