Boa tarde
gOSTARIA DE UM HELP NA PARTE DE BORDAS, ESTOU TENTANDO COLOCAR BORDR EM UM JLABEL E 2 BOTÕES, ESTOU CRIANDO EM LAYOUTE NULL E PELO NETBEANS.
ESTOU DESDE ONTEM E NÃO OBTIVE NENHUM RESULTADO , SO APARECE O BORDA NO LAYOUTE NO JLABEL…
VOU DEIXAR SEM O CODIGO Q EU FIZ APENAS APARECENDO A BORDA COM O JLABEL…, SE POSSIVEL ME AJUDEM
[code]/*
- NovoJFrame.java
- Created on 24 de Maio de 2007, 12:16
 */
package teste;
/**
*
- 
@author Thiago Passos 
 */
 public class NovoJFrame extends javax.swing.JFrame {/** Creates new form NovoJFrame */ 
 public NovoJFrame() {
 initComponents();
 }/** This method is called from within the constructor to - 
initialize the form. 
- 
WARNING: Do NOT modify this code. The content of this method is 
- 
always regenerated by the Form Editor. 
 */
 //
 private void initComponents() {
 jLabel1 = new javax.swing.JLabel();
 jButton1 = new javax.swing.JButton();
 jButton2 = new javax.swing.JButton();getContentPane().setLayout(null); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 
 jLabel1.setFont(new java.awt.Font(“Tahoma”, 0, 18));
 jLabel1.setText(“TESTE”);
 jLabel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, “TESTE - TESTE”, javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION));
 getContentPane().add(jLabel1);
 jLabel1.setBounds(40, 30, 68, 52);jButton1.setText(“jButton1”); 
 getContentPane().add(jButton1);
 jButton1.setBounds(40, 110, 73, 23);jButton2.setText(“jButton2”); 
 getContentPane().add(jButton2);
 jButton2.setBounds(40, 140, 73, 23);pack(); 
 }//
 /** - 
@param args the command line arguments
 */
 public static void main(String args[]) {
 java.awt.EventQueue.invokeLater(new Runnable() {
 public void run() {
 new NovoJFrame().setVisible(true);
 }
 });
 }
 // Declaração de variáveis - não modifique 
 private javax.swing.JButton jButton1;
 private javax.swing.JButton jButton2;
 private javax.swing.JLabel jLabel1;
 // Fim da declaração de variáveis
- 
}
[/code]