Grid Layout in Java Swing- Arranging objects in a panel/frame

Pubblicato il: 24 dicembre 2010
sul canale di: MrJavaHelp
147,329
545

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.


In questa pagina del sito puoi guardare il video online Grid Layout in Java Swing- Arranging objects in a panel/frame della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MrJavaHelp 24 dicembre 2010, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 147,329 volte e gli è piaciuto 545 spettatori. Buona visione!