CodeProject.TV will close July 31. Remember to ensure you’ve watched or download your videos! Full details here.

Setting Component Sizes: Mastering Java Swing Part 9

5m 10s
Download
Caveofprogramming

Cave of Programming

After working as a software developer and contractor for over 14 years for a whole bunch of companies including CSC, Proquest, SPSS and AT&T in the UK and... Read more

A tutorial on sizing your components in Java Swing.

How to change the sizes of your components.

Preferred Size
The Dimension class
setPreferredSize() vs. setSize()
How layout managers handle component sizing