Comment faire pour centrer le texte dans un JLabel?

malgré de nombreuses tentatives, je ne peux pas obtenir le résultat que je voudrais voir texte centré dans le JLabel et le JLabel un peu centré dans le BorderLayout. J'ai dit "un peu" car il existe aussi une autre étiquette de "statut" dans le coin inférieur droit de la fenêtre. Voici le morceau de code responsable de l':

setLayout(new BorderLayout());
JPanel area = new JPanel();
JLabel text = new JLabel(
        "<html>In early March, the city of Topeka," +
        " Kansas,<br>temporarily changed its name to Google..." +
        "<br><br>...in an attempt to capture a spot<br>" +
        "in Google's new broadband/fiber-optics project." +
        "<br><br><br>source: http://en.wikipedia.org/wiki/Google_server" +
        "#Oil_Tanker_Data_Center</html>", SwingConstants.CENTER);
text.setVerticalAlignment(SwingConstants.CENTER);
JLabel status = new JLabel("status", SwingConstants.SOUTH_EAST);
status.setVerticalAlignment(SwingConstants.CENTER);
Font font = new Font("SansSerif", Font.BOLD, 30);
text.setFont(font);
area.setBackground(Color.darkGray);
text.setForeground(Color.green);
//text.setAlignmentX(CENTER_ALIGNMENT);
//text.setAlignmentY(CENTER_ALIGNMENT);
//text.setHorizontalAlignment(JLabel.CENTER);
//text.setVerticalAlignment(JLabel.CENTER);
Font font2 = new Font("SansSerif", Font.BOLD, 20);
status.setFont(font2);
status.setForeground(Color.green);      
area.add(text, BorderLayout.CENTER);        
area.add(status, BorderLayout.EAST);
this.add(area);

Merci pour toute l'aide fournie.

InformationsquelleAutor Hurdler | 2011-07-25