how to set location of buttons ... i am not able to do that ... my buttons come right next to my panel label ... plzzz help
veda4u1989 3 months ago
@veda4u1989 would you be able to show me what you have so far and I will be more than glad to try and help. Thanks
kakashura 3 months ago
@kakashura he means stuff like gridbaglayout
BenGeocth 1 week ago
@veda4u1989
set the layut to null
setLayout(null);
and then use set Bounds
for example, you have a variable boy:
boy.setBounds(20,50,20,20);
20,50 --- that was for the positioning, 20 for x axis and 50 for y axis, x axis goes from left or up, while y axis goes upward from the bottom,
the next two digits was for the size..
MrTripi17 1 week ago
great videos! Only thing you can do better is get a clearer mic :)
briancatch 5 months ago in playlist More videos from kakashura
I love you
SuperFrozenNinja 5 months ago in playlist More videos from kakashura
how to set location of buttons ... i am not able to do that ... my buttons come right next to my panel label ... plzzz help
veda4u1989 3 months ago
@veda4u1989 would you be able to show me what you have so far and I will be more than glad to try and help. Thanks
kakashura 3 months ago
@kakashura he means stuff like gridbaglayout
BenGeocth 1 week ago
@veda4u1989
set the layut to null
setLayout(null);
and then use set Bounds
for example, you have a variable boy:
boy.setBounds(20,50,20,20);
20,50 --- that was for the positioning, 20 for x axis and 50 for y axis, x axis goes from left or up, while y axis goes upward from the bottom,
the next two digits was for the size..
MrTripi17 1 week ago
great videos! Only thing you can do better is get a clearer mic :)
briancatch 5 months ago in playlist More videos from kakashura
I love you
SuperFrozenNinja 5 months ago in playlist More videos from kakashura