Java FlowLayout 🌊

preview_player
Показать описание
Java flowlayout manager GUI swing tutorial for beginners

#Java #flowlayout #manager #GUI #swing #tutorial #beginners

Coding boot camps hate him! See how you can teach you to code with this one weird trick...

Drop a comment down below and subscribe if you'd like to become a fellow bro.

This is a tutorial channel for beginners to learn how to code.

A few languages I plan on covering include, but are not limited to:

Python
Java
C#
C++
C
Javascript
HTML
CSS
Django
MySQL

and more probably...maybe

¯\_(ツ)_/¯
Рекомендации по теме
Комментарии
Автор

import java.awt.FlowLayout;
import javax.swing.JButton;
import javax.swing.JFrame;

public class Main{

public static void main(String[] args) {

// Layout Manager = Defines the natural layout for components within a container

// FlowLayout = places components in a row, sized at their preferred size.
the horizontal space in the container is too small,
FlowLayout class uses the next available row.

JFrame frame = new JFrame();

frame.setSize(500, 500);
frame.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0));

frame.add(new JButton("1"));
frame.add(new JButton("2"));
frame.add(new JButton("3"));
frame.add(new JButton("4"));
frame.add(new JButton("5"));
frame.add(new JButton("6"));
frame.add(new JButton("7"));
frame.add(new JButton("8"));
frame.add(new JButton("9"));

frame.setVisible(true);
}
}

BroCodez
Автор

This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro

pavelkvasnicka
Автор

Thank you soooo much for your tutorial, it is so simple and beginner friendly, even me who don't speak fluently english i understood everything. Thank You!!

Paris_Cherry
Автор

Thanks 🙏 prof 👨‍🏫. I had benefited a lot from your previous videos..

ousmanjallow
Автор

Free Java & Python 🎉. Bro you're 💯 😇

monwil
Автор

Awesome! Just waiting for a neural network tutorial in Java

noah
Автор

You're the best youtube prof bro. keep it up!

seanvinluan
Автор

College professors hate BroCode but no one can stop him

omark
Автор

Learned a lot. Haven’t seen all your videos but would like to see some Java programming projects importing files, adding to sql table and run query to fill out forms etc. Thanks

megamotion
Автор

Great work bro. Please make video for mobile app development

kaushalprasadyadav
Автор

Thank you for this video many doubts got clear 😊

mayureebawane
Автор

Thank you so much you are a live saver

CJ-ricf
Автор

I love you sir 😘💖😘💖 your video is very useful n understanding but i have only little bit English 😅

himanshubokde
Автор

Regarding the order of frame.setVisible(true) and frame.add(component), the bug has been fixed .

maxwong
Автор

how can i change the size of the button. I used setSize() method but no use.

surendramaharjan
Автор

bro, i used the shortcut to create an object of the JButton but if i want to modify my button using methods how should i call the methods with no name?

sushantlama
Автор

This is the best of all thanks bro code

matthewade
Автор

I think what will be left in the WORLD if your channel never existed!!

ctluwua