FORUM Tom's Hardware » Programmation » C / C++ / Java » Ouvrir un fichier sous windows avec java
 

Ouvrir un fichier sous windows avec java

Il y a 268 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici
Ajouter une réponse



 Mot :   Pseudo :  
 
Bas de page
Auteur
 Sujet : Ouvrir un fichier sous windows avec java
 
Plus d'informations

Bonjour ,
Je cherche une commande qui me permet d'ouvrir n'importe quel fichier (exemple un ".xml" ) comme si je double clik sur ce fichier sur mon bureau, mais en utilisant un bouton dans une application JPanel java.
merci


Message édité par souya le 02-11-2006 à 17:46:34

Profil : Pointeur
Plus d'informations

tu veux lancer l'application associée a l'extension du fichier ?

Plus d'informations

oui

Plus d'informations

SVP j'ai vraiment besoin de realiser cette étape j'ai chercher sur google mais je n'ai pas trouvé.
quelqu'un peut m'aider ? :sweat:

Plus d'informations

Tu devrais pouvoir faire ça à travers le shell (regarde du côté de Runtime.exec)


Aller à :
Ajouter une réponse
  FORUM Tom's Hardware » Programmation » C / C++ / Java » Ouvrir un fichier sous windows avec java
 

Annonces Google
Publicité