This video shows you how to arrange objects and components (buttons, labels) in a panel within a frame in Java Swing without a visual editor, using GridLayout.
A previous video of mine did this using GridBagLayout, but often, using GridLayout is faster and can get the same thing accomplished. This video shows an example of this and adds 12 labels/buttons to a frame using GridLayout, which divides the frame into 12 equal rectangular cells with 3 rows and 4 columns.
Let me know if you have any questions or need any help with the concepts covered in the video.
Sur cette page du site, vous pouvez voir la vidéo en ligne Grid Layout in Java Swing- Arranging objects in a panel/frame durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MrJavaHelp 24 décembre 2010, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 147,329 fois et il a aimé 545 téléspectateurs. Bon visionnage!