Java Swing Tutorial - GridLayout Example








Constructor

  1. Java GridLayout() Constructor
  2. Java GridLayout(int rows, int cols) Constructor
  3. Java GridLayout(int rows, int cols, int hgap, int vgap) Constructor

Method

  1. Java GridLayout.getColumns()
  2. Java GridLayout.getHgap()
  3. Java GridLayout.getRows()
  4. Java GridLayout.getVgap()
  5. Java GridLayout .layoutContainer (Container parent)
  6. Java GridLayout .minimumLayoutSize (Container parent)
  7. Java GridLayout .preferredLayoutSize (Container parent)
  8. Java GridLayout .removeLayoutComponent (Component comp)
  9. Java GridLayout.setColumns(int cols)
  10. Java GridLayout.setHgap(int hgap)
  11. Java GridLayout.setRows(int rows)
  12. Java GridLayout.setVgap(int vgap)
  13. Java GridLayout.toString()