i changed the name of the class and the application name and it works :) thx

mmm anyway thank you alot for your help :)...the codes woked properly with you?

sorry that's my typing mistake the error message is :
cannot find symbol
symbol: constructor CompteBancaire()
location: class javaapplication18.CompteBancaire

[COLOR="Red"]hey,i'm having trouble with this code...it keeps saying there is an error..can you help me please...thank you in advance[/COLOR]
cannot find symbol
symbol: constructor CompteBancaire()
location: class javaapplication18.compteBancaire
this is the class:
[CODE]
package javaapplication18;

import javax.swing.*;
import java.util.Scanner;

public class CompteBancaire
{

 private String nom,prenom,typecompte,currency;

 private int numerocompte;

 private double credit,debit,solde;

 private String dateouverture;

 private double couverture;

public CompteBancaire()

{

                 nom=JOptionPane.showInputDialog("Entrer le nom du client");

                 prenom=JOptionPane.showInputDialog("Entrer le prenom du client");

                 typecompte=JOptionPane.showInputDialog("Entrer le type de compte");

                 currency=JOptionPane.showInputDialog("Entrer le currency:");

                 numerocompte=Integer.parseInt(JOptionPane.showInputDialog("Entrer le numero du compte"));

                 credit=Double.parseDouble(JOptionPane.showInputDialog("Entrer le credit:"));

                 debit=Double.parseDouble(JOptionPane.showInputDialog("Entrer le debit:")); 

                 solde=Double.parseDouble(JOptionPane.showInputDialog("Entrer le solde:"));
                 dateouverture=JOptionPane.showInputDialog("Entrer la date d'ouverture du compte:");
                 couverture=Double.parseDouble(JOptionPane.showInputDialog("Entrer la couverture pour ce compte:"));

          }

         public CompteBancaire(String n,String p,String type,String cur,int num,double cre,double deb,double sol,String dateouv,double couv)
   {
              nom=n;
              prenom=p;
              typecompte=type;
              currency=cur;   
              numerocompte=num; 
              credit=cre;
              debit=deb;
              solde=sol;
              dateouverture=dateouv;
              couverture=couv;
          }
              public CompteBancaire(String n,String p,String type,String cur,int num,String dateouv)
              { 
                  nom=n;
                  prenom=p;
                  typecompte=type;
                  currency=cur;
                  numerocompte=num;
                  dateouverture=dateouv;
              }
             public void opcredit()
             {
                 Scanner input=new Scanner(System.in);
                 System.out.println("Combien voulez vous placer d'argent?:");
                 credit=input.nextDouble();
                 solde=solde+credit;
             }
          }[/CODE]

this is the main:
[CODE]package javaapplication18;
import javax.swing.*;
import java.util.Scanner;

public class Main {

public static void main(String[] args)
{

   CompteBancaire C=new CompteBancaire();

}

}
[/CODE]