64,508
Top Comments
see all
Video Responses
see all
All Comments (83)
-
Super Awesome tutorial man thanks a lot.
-
@MrTuhinBagh i thought the same thing at first but actually the JPanel is very necessary because with out it the button would cover the entire frame for some reason i think it help the objects in the frame be arranged or appear properly or something idk
-
Thanks for your explanation. It's a very good tutorials.
-
Should use a modal dialog instead of another frame. Also, realizing the container should be the last thing you do; adding components after the container has been realized may cause serious problems.
-
nice mr. :)
-
suddenly a new import comes at 2:33 "import sun.swing.text........." y is that for y i came like that? you did not not tell any thing about that
Loading...
@AZCHIM @Olemassacre
MULTIPLE ACTIONS FOR MULTIPLE BUTTONS:
1: Transform your Components into Class Variables (after class definition w/ static).
2: Use the "static inner class" MrJavaHelp gave you and insert the following code:
if (e.getSource() == {insert your source component here}) // do shit and return
else if (e.getSource() == {insert your source component here}) // do some more shit and return
3: {insert your source component here}.addActionListener(new Action());
Thumbs up if it helped.
scarfulify 3 months ago 4
i get a error like yours at 5:08 can you show how fix?
gustavoindustry 1 month ago 2