// Construct the refresh button and add it to this panel
btnRefresh = new JButton("Refresh");
// Add the get messages controller to the button
btnRefresh.addActionListener(new GetMessagesController(boardModel));
// Add the button to this panel
add(btnRefresh);
}