[java] agrandir largeur JcomboBox

bonjour je voudrais agrandir la taille de ma liste déroulante mais je ne sais pas si je dois passer des paramètres ...

5 réponses

  1. Modérateur
    salut

    normalement la méthode setSize est suffisante

    public void setSize(int width,
    int height)Resizes this component so that it has width width and height.
    Parameters:
    width - The new width of this component in pixels.
    height - The new height of this component in pixels.
    Since:
    JDK1.1
    See Also:
    getSize(), setBounds(int, int, int, int)

    Choubadamour:
    Le doudou à format c:
    1. Modérateur
      koi ça marche pos?

      Choubadamour:
      Le doudou à format c:
      1. merci chouba, eh brj si c pour écrire ça, épargne tes gestes ... merci !
        1. ben a question flou reponse flou!!
          J'aide les gens qui fond des effort et la tu ne mas pas montrez que tu avais cherchez!!!
          La doc java est tres bien faite :p