I'm working on a slightly intricate GUI program with a lot of JButtons, JTextFields, and the sort. In classes, all the examples were written as such:



public class Foo
{
private...