public void run() {

        try {
            // this will handle our XML
            voyageurhandler voyHandler = new voyageurhandler();
            // get a parser object
            SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
            // get an InputStream from somewhere (could be HttpConnection, for example)
            HttpConnection hc = (HttpConnection) Connector.open("http://localhost:8080/smartPhp/getXmlUser.php");
            DataInputStream dis = new DataInputStream(hc.openDataInputStream());
            parser.parse(dis, voyHandler);
            // display the result
            voy = voyHandler.getvoyageur();
             try {
                loadPlayer();
                GUIControl guiControl = (GUIControl) player.getControl("javax.microedition.media.control.GUIControl");
               
                if (guiControl == null) {
                    throw new Exception("No GUIControl!!");
                }
                Item videoItem = (Item) guiControl.initDisplayMode(GUIControl.USE_GUI_PRIMITIVE,null);
                videoItem.setPreferredSize(f2.getWidth()-2,f2.getHeight()/2);
               
                f2.insert(0, videoItem);
                

                f1.append(new Spacer(50, 50));
                player.start();

            } catch (Exception e) {
                error(e);
            }
            for (int i = 0; i < voy.length; i++) {
                if (voy[i].getEmail().equals(login.getString()) && voy[i].getPassword() == Integer.parseInt(password.getString())) {
                    nom_voyageur.setText(voy[i].getNom());

                    f2.append(nom_voyageur);
                    disp.setCurrent(f2);
                }
            }

        } catch (Exception e) {
            System.out.println("Exception:" + e.toString());
        }

    }