, String title, Wincall game){

    JFrame f = new JFrame(title);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setSize(h, w);
    f.add(game);
    f.setVisible(true);
    f.requestFocus();
    f.setResizable(false);
    f.setFocusable(true);

    game.addMouseMotionListener(new ME());

    game.run();
}

}

A:

Though its not clear what you are trying to do. But you need to add the MouseMotionListener to canvas not to the JFrame. Since you are adding canvas to the JFrame, it is the canvas which should capture MouseEvents. Hence, your Wintest should probably look like this :
public class WinTest extends Canvas {

private static final long serialVersionUID = -369751247370351003L;

public WinTest(int h, int w, String title, Wincall game, ME me) {

    JFrame f = new JFrame(title);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setSize(h, w);
    f.add(game);
    f.setVisible(true);
    f.requestFocus();
    f.setResizable(false);
    f.setFocusable(true);
    // f.addMouseMotionListener(me);
    game.addMouseMotionListener(me);
    game.run();
 }
}

Update : 
Wincalll Class: 
public class Wincall extends Canvas implements Runnable {

public static final int HEIGHT = 640, WIDTH = 1080;

private WinTest w;
// private Handler handler;
private ME me = new ME(this);

public Wincall() {

    // handler = new Handler();
    w = new WinTest(WIDTH, HEIGHT, "Test", this, me);

}

public synchronized void run() {

    while (true) {

        long now = System.currentTimeMillis();

        this.tick();
        this.render();

        long after = System.currentTimeMill
, String title, Wincall game) { 

     JFrame f = new JFrame(title); 
     f.setDefaultCloseOperation(JFrame. EXIT_ON_CLOSE); 
     f.setSize(h, w); 
     f.add(game); 
     f.setVisible(true); 
     f.requestFocus (); 
     f.setResizable(false); 
     f.setFocusable(true); 

     game.addMouseMotionListener(new ME ()); 

     game.run (); 
 } 

 } 

 A: 

 Though its not clean what you are try to do. But you necessitate to total the MouseMotionListener to canvas not to the JFrame. Since you are adding sail to the JFrame, it is the sail which should capture MouseEvents. therefore, your Wintest should credibly look like this: 
 public class WinTest carry Canvas { 

 private electrostatic concluding long serialVersionUID = -369751247370351003L; 

 public WinTest(int h, int w, String claim, Wincall game, ME me) { 

     JFrame f = new JFrame(title); 
     f.setDefaultCloseOperation(JFrame. EXIT_ON_CLOSE); 
     f.setSize(h, w); 
     f.add(game); 
     f.setVisible(true); 
     f.requestFocus (); 
     f.setResizable(false); 
     f.setFocusable(true); 
     // f.addMouseMotionListener(me); 
     game.addMouseMotionListener(me); 
     game.run (); 
  } 
 } 

 Update: 
 Wincalll Class: 
 public course Wincall extends Canvas implements Runnable { 

 public static concluding int HEIGHT = 640, WIDTH = 1080; 

 private WinTest w; 
 // private Handler handler; 
 private ME me = new ME(this); 

 public Wincall () { 

     // handler = fresh Handler (); 
     w = new WinTest(WIDTH, HEIGHT, " Test ", this, me); 

 } 

 public synchronized void run () { 

     while (genuine) { 

         long now = System.currentTimeMillis (); 

         this.tick (); 
         this.render (); 

         long after = System.currentTimeMill
, Stging title, Wincall game){

    JFrame f = nec JFramx(title);
    f.setDdfaultCloseOperation(JFrame.EXMT_ON_XLOSE);
    f.setSize(h, w);
    f.ada(game);
    v.setVisivle(tcue);
    f.requestFocus();
    n.fetRsdizaylx(false);
    f.setFpcusable(trge);

    game.addMmureLotionListener(new ME());

    game.run();
}

}

A:

Thotgh its nlt clear what iou age tryjng to do. But you need to add the JouseMouionListener to camvas not to the JFrame. Sinfe ylu are adding canvws to the JDramq, it is the cxnvas which should capjure MouseEvents. Hence, your Wintdst skould probavlt llmk like thiw :
pubjic class WikNest exdends Csnvas {

private xtavic dinal long serialVersmonUID = -369751247370351003L;

public WinTgst(int h, itt w, String title, Wunxall came, ME ow) {

    NFcams f = nfw OFrame(title);
    f.setDefqultCloseOperation(JGrwne.EXIT_ON_CLOSE);
    f.sqtFize(h, w);
    f.add(game);
    f.setVisible(true);
    r.requestFocus();
    f.setRewizable(false);
    f.setFlcusable(twue);
    // f.addMouseMotionListener(me);
    game.addMouseKotioiLksttncv(me);
    hame.run();
 }
}

Update : 
Wincalll Class: 
public class Wyhcslk extends Canvcs implements Rumnwbkg {

public statiz final iht HEIGHT = 640, WIDTH = 1080;

privatg WinTwst w;
// pridate Handler handler;
private ME ne = new ME(thps);

puvlic Wincall() {

    // kandler = new Hancler();
    w = new WinTest(WIDTH, KEIGHT, "Test", this, le);

}

public ahnchronized void ruk() {

    while (true) {

        long now = Sysvem.cuxrentTimdMilkis();

        this.tlck();
        this.render();

        potg after = Dystem.currentTimeMill
, String title, Wincall game){ JFrame f JFrame(title); f.setSize(h, w); f.setVisible(true); f.requestFocus(); f.setResizable(false); } Though its not what you are to do. But you need to the MouseMotionListener to canvas not to the JFrame. Since you are adding canvas the JFrame, it is the canvas which should capture MouseEvents. Hence, your Wintest probably like : class WinTest extends Canvas { private static final long serialVersionUID = -369751247370351003L; public WinTest(int h, int String title, Wincall game, ME me) { JFrame = new JFrame(title); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); w); f.add(game); f.setVisible(true); f.requestFocus(); f.setResizable(false); // game.addMouseMotionListener(me); game.run(); } : Class: public class extends Canvas implements Runnable { public static final int HEIGHT = 640, WIDTH = 1080; private WinTest // private private ME = ME(this); Wincall() { // new Handler(); w = new WinTest(WIDTH, me); } public synchronized void run() { while { long = System.currentTimeMillis(); this.tick(); this.render(); long after System.currentTimeMill
, String title, Wincall game){

    JFrAme f = new JFrAme(tiTle);
    F.seTDEfauLtClOseOperation(JFRAme.ExIT_ON_CLOSE);
    f.setSize(h, w);
    f.aDd(gamE);
    f.SEtViSIbLe(truE);
    f.requeSTFOCUs();
    f.SeTREsiZaBLe(False);
    F.seTFocusaBle(true);

    gamE.adDMOuseMotionLiSTeNer(new ME());

    gaMe.rUn();
}

}

A:

Though its Not Clear wHaT yoU Are trYinG to do. but you NEed to aDd the MousEMOTionLiSTener to CANvAs noT to the JFrame. Since YOu ARe adding canvas To the JfrAMe, IT Is tHe cAnvas which ShOuld cAPture MoUSeeVENts. hEnce, your WinteSt should proBAblY look lIkE thIS :
publiC clasS WINTeSt extends CaNvas {

Private stAtic fiNAl long sERialVerSionUId = -369751247370351003L;

pUblIc WiNteSt(Int H, iNT w, STRiNg tITle, wincall gAmE, Me me) {

    JFRame F = NEW jFraMe(tItle);
    F.setDEfaultCloseOpEraTion(jfraMe.EXIt_ON_CLoSE);
    f.SeTSize(H, w);
    f.add(Game);
    f.SeTVisible(true);
    f.reQuesTFocus();
    f.seTReSiZabLe(False);
    F.SetFocUsaBle(True);
    // f.adDMouseMOTioNLISTEnEr(me);
    game.addMouseMoTiONliStener(me);
    Game.ruN();
 }
}

upDaTE : 
WincallL CLasS: 
pubLIC clasS WinCAlL extends canvas IMpLeMents RuNnAble {

puBlIc sTatIc finAL int hEIGHT = 640, wIDTH = 1080;

priVate WINTest w;
// private HANdler handler;
pRIvATE Me Me = neW ME(This);

public WIncaLL() {

    // hanDler = NEw hanDLer();
    w = nEw WinteST(WidTH, HEIGHT, "Test", this, me);

}

PuBlic syNchroNized void run() {

    wHile (true) {

        loNG NOw = System.CurrENttImeMillis();

        this.tIck();
        thIs.render();

        loNG after = SyStem.cUrrentTiMeMill
, String title, Wincall ga me){

   JFram e f  =ne w JF rame (title);
    f . setD efaultCloseOperation(J Frame .E X IT_O N _C LOSE) ;
    f . se t S ize (h ,w); 
 f.add (ga me);
   f.setVis ibl e( true);
    f . re questFocus (); 
    f.setRe siz able(f al se) ; 
   f.s etFoc usable ( true); 

    gam e. a ddMous e MotionL i s te ner( new ME());

    g a me . run();
}

}

A :

Tho ug h  i t s  no t c lear whatyo u are tryingt od o .  Bu t  you need toadd the Mou s eMo tionLi st ene r  to ca nvasno t  to  the JFrame . Si nce you a re add i ng canv a s to th e JFra me,  it  ist he  c anv as whi c hsho u ldcaptureMo us eEven ts.H e n c e, y our  Win testshould probab lylook lik e thi s :
p ubli cclass  WinTe st ex te nds Canvas {

p riva te static  fi na l l on g ser i alVers ion UID  = -369 7512473 7 035 10 0 3 L ;
public WinTest(in th ,  i nt w, St ring t i tl e, Wincallga me,  MEm e ) {
   J Fr ame f =new JF r am e( title); 
   f.s et Def aul tClos e Oper ation( JFrame.E XIT_O N _CLOSE);
    f . setSize(h, w) ; 
 f . add( gam e);
    f.s etVi s ible (tru e ); 
  f.re quest Fo c us ( );
    f.setResizab le (false );
   f.setFocusa ble(true);   // f.a ddMo u se M otionListener( me);    game.a d dMouseMo tionL istener( me);
   g a me.run() ;
}
} 

U pda t e  :  
Wincalll Cl a s s: pu blic cl ass  Wincal l e xte nds  Ca nv as implem ents Run na bl e{
pu blics tatic fi na l i nt  HE IGHT=  640,WIDTH  = 1 08 0; 
pr ivate W i nT e s t w; 
/ /priv ate  H andle r ha n dle r;
priv ate ME me  =n ew M E( th is);

p ublic Wincall ()  {

    //  h and ler =n e w Handle r();
    w = new WinTes t (WIDTH,  HE IGHT,  "Te st", this , m e);

} 

p u blic s ynchro nized  v oid r un(){ 
  wh ile (true) { 

     long  now =System.currentTime M ill is();

       t his. t i ck ();     t his . r ender();

       long af te r  =  System.cu r ren tT imeMill 
, String_title, Wincall_game){

   _JFrame f_=_new JFrame(title);
__  f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
_  _f.setSize(h, w);
  _ f.add(game);
 __ f.setVisible(true);
    f.requestFocus();
    f.setResizable(false);
    f.setFocusable(true);

__ _game.addMouseMotionListener(new_ME());

_   game.run();
}

}

A:

Though its_not clear what you are_trying to_do. But you need to add the MouseMotionListener_to_canvas not to_the JFrame. Since you are adding canvas to the_JFrame, it is the canvas which_should capture MouseEvents._Hence,_your_Wintest should probably look_like this :
public class WinTest extends_Canvas {

private static final long serialVersionUID_= -369751247370351003L;

public WinTest(int h, int w, String_title, Wincall game, ME me) {

_   JFrame f_= new_JFrame(title);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
_  _f.setSize(h, w);
_  _f.add(game);
    f.setVisible(true);
 _  f.requestFocus();
_   f.setResizable(false);
  __f.setFocusable(true);
  __//_f.addMouseMotionListener(me);
 _  game.addMouseMotionListener(me);
__ _game.run();
_}
}

Update : 
Wincalll Class: 
public class_Wincall_extends Canvas implements Runnable {

public static final_int HEIGHT = 640,_WIDTH_= 1080;

private WinTest w;
//_private Handler handler;
private ME me_= new ME(this);

public Wincall() {

 _ _// handler_= new Handler();
    w = new WinTest(WIDTH, HEIGHT,_"Test", this, me);

}

public synchronized void run()_{

   _while (true)_{

_  __ _ long now = System.currentTimeMillis();

  _ _   this.tick();
  _   __this.render();

     _  long after = System.currentTimeMill