You can't create the panel and set the BoxLayout in one statement (like you do for the BorderLayout). You need to use two statements since the BoxLayout needs a reference to the panel that you want to use as a BoxLayout.
1) Read the section from the Swing tutorial on How to Use Box Layout. It will show you how to create a panel using a BoxLayout and how to add components to the panel.
2) Or, you can check out the Box
class. It is a convenience class that will allow you to create a container using a BoxLayout in a single statement.
Box timing = new Box(...);
timing.add( t );
Take a look at the table of contents for the tutorial as it contains many tutorial on basic Swing functionality.