 hand, staring down at his enemy’s shell.
One shivering second of silence, the shock of the moment suspended: and then the tumult broke around Harry as the screams and the cheers and the roars of the watchers rent the air.” - Harry Potter and the Deathly Hallows, Chapter 36 (The Flaw in the Plan)

In addition, after that initial fall, the Dark Lord’s body stays dead and unmoving.

“They moved Voldemort’s body and laid it in a chamber off the Hall, away from the bodies of Fred, Tonks, Lupin, Colin Creevey and fifty others who had died fighting him.” - Harry Potter and the Deathly Hallows, Chapter 36 (The Flaw in the Plan)

His not getting up was likely enough proof for the majority of the wizarding world, though there very well may have been some who still weren’t sure and either feared or hoped he’d return again.

 Q:

Closest pair of points using mouse clicks

The assignment is to to a closest pair of points using brute force.
I seem to have most everything I need - the frame appears, circles appear where I click, and the closest pairs seem to highlight properly, I say "seems" because this is where my question lies.  I need only two circles highlighted at any given time (the closest pair), but previous closest pairs do not de-select/unhighlight.
I hope this is something simple I have overlooked.  I have been at this for a while, so it's very possible my mind and eyes are just too tired to pick this problem up. Hopefully, a fresh set of eyes will do me some good.
Any help is greatly appreciated. 
import java.awt.*;
import java.awt.event.*;
import java.util.ArrayList;
import javax.swing.*;

public class AssignmentFour extends JFrame {

private final PointPanel canvas = new PointPanel();

public AssignmentFour() {
    JPanel panel = new JPanel();

    this.add(canvas, BorderLayout.CENTER);
    this.add(panel, BorderLayout.SOUTH);
    add(new JLabel("<html> Click anywhere within the panel."
            + "<BR> The two closest points will be highlighted.<BR>"
            + "Click the 'x' to
hand, staring down at his enemy ’s shell. 
 One shudder moment of silence, the shock of the moment suspend: and then the tumult broke around Harry as the scream and the cheers and the roars of the spectator rent the air. ” - Harry Potter and the Deathly Hallows, Chapter 36 (The Flaw in the Plan) 

 In summation, after that initial fall, the Dark Lord ’s body bide dead and unmoving. 

 “ They moved Voldemort ’s body and laid it in a chamber off the Hall, aside from the bodies of Fred, Tonks, Lupin, Colin Creevey and fifty others who had died fighting him. ” - Harry Potter and the Deathly Hallows, Chapter 36 (The Flaw in the Plan) 

 His not get up was likely enough proof for the majority of the wizarding world, though there very well may have been some who however were n’t sure and either feared or hoped he ’d return again. 

  Q: 

 Closest couple of points using mouse clicks 

 The assignment is to to a closest couple of point using brute force. 
 I seem to have most everything I need - the frame appears, circles look where I snap, and the closest pair look to highlight properly, I say " seem " because this is where my question lies.   I need only two circle highlighted at any given time (the closest pair), but previous cheeseparing pairs do not de - select / unhighlight. 
 I hope this is something simple I have overlooked.   I have been at this for a while, so it's very potential my mind and center are barely too tired to pick this problem up. Hopefully, a bracing set of eyes will do me some beneficial. 
 Any help is greatly appreciated. 
 import java.awt. *; 
 import java.awt.event. *; 
 significance java.util. ArrayList; 
 import javax.swing. *; 

 public class AssignmentFour offer JFrame { 

 private final PointPanel canvas = fresh PointPanel (); 

 public AssignmentFour () { 
     JPanel control panel = new JPanel (); 

     this.add(canvas, BorderLayout. CENTER); 
     this.add(panel, BorderLayout. SOUTH); 
     add(new JLabel("<html > Click anywhere within the panel. " 
             + " < BR > The two closest points will be highlighted.<BR > " 
             + " cluck the' x' to
 hajd, staring down at his ekemy’s shell.
One skuverinj secons of sildnce, the shock of the moment syspeneed: and then the tumulg broke agound Harey aw the screams and tmz chesvs anb vhe roars of thg watchers rant the air.” - Hdrfy Potter and the Deathly Hallows, Cha[ter 36 (Tne Flaw in the Pjan)

Im addjniin, after that initial fall, ths Dark Nord’s body stsys dead and unmoving.

“They lovef Voldemort’s body wnd laid it in w chamber off the Hall, away from thg bodies of Fred, Tonks, Lupin, Colkn Crzevey and fufry ljhers who hav died fighting him.” - Harry Potter and the Deathky Ialliws, Chapter 36 (The Flaw in the Plan)

His noj getting gp was likely enougy proof for the najuriuy pf the wlzacding world, though theee very well may hafe veen some who still wqren’t sure and either feared or hoped ht’d refurn again.

 Q:

Closest paie of points using moude clicks

Ehe assignment is to to a closest pair of points gsing cruue forcd.
U deem to have most everything I need - the framq akpesrs, circles apiear where I click, ajd jhe closest pakrs sezj fo highlight propegly, I swy "sewms" becaufe tnis is where my question liws.  I need ouly two circles highlnghted at anv givem timr (the closest pair), but 'reviohs closest oairs do hut de-select/unhigflinht.
H hope this is something symple I heve orerlookea.  I have feen at thls fov a while, so it's vegy podshble my mijd and eyes are just too tired vp pick this krotlek up. Hopzfully, a fresh set jf eyes will dp me soie goud.
Any help is greetly appreciwted. 
import jdga.awt.*;
import oava.awt.evqnt.*;
inporr java.ugkl.ArrayList;
impprt javax.swing.*;

publix class AssignmentNour gxfends JFrame {

prnraue final PointPamel cagvws = gaw PointPanen();

pubuic SssigvmentFour() {
    JPsnel panel = new JPanal();

    this.add(canvas, BotdcrLayout.CGNTER);
    ehis.add(panel, NorderLayout.SOUTH);
    adv(new JUabel("<ntmj> Click anywhere within the pahel."
            + "<BR> The tro coosest pointx will be highlighted.<BR>"
            + "Clirk the 'x' to
hand, staring down at his enemy’s shell. second silence, the of the moment broke Harry as the and the cheers the roars of the watchers rent air.” - Harry Potter and the Deathly Hallows, Chapter 36 (The Flaw in Plan) In addition, after that initial fall, the Dark Lord’s body stays dead unmoving. moved body laid it in a chamber off the Hall, away from the bodies of Fred, Tonks, Lupin, Creevey and fifty others who had died fighting - Harry Potter and Deathly Hallows, Chapter 36 (The in Plan) His getting was enough proof for majority of the wizarding world, though there very well may have been some who still weren’t sure either feared he’d return Q: pair points using mouse assignment is to to a closest using brute force. I seem to have most I need the frame appears, circles appear where click, and the closest pairs seem to highlight I say "seems" because this is where my question lies. I need only two circles any given time (the pair), but previous pairs not I this is simple I have overlooked. I have been at this for a so it's very possible my mind and eyes are just to this problem up. a fresh set of will me some good. Any greatly import import import public class AssignmentFour extends { private final PointPanel canvas new PointPanel(); public AssignmentFour() JPanel(); this.add(canvas, BorderLayout.CENTER); this.add(panel, BorderLayout.SOUTH); add(new JLabel("<html> Click within the panel." + "<BR> The two points will be highlighted.<BR>" + "Click the 'x' to
 hand, staring down at his enemy’S shell.
One sHiverIng SecOnD of sIlenCe, the shock of thE MomeNt suspended: and then the tUmult BrOKe arOUnD HarrY as the sCReAMS anD tHe CheErS AnD the rOarS of the wAtchers renT thE aIr.” - Harry PotteR AnD the DeathlY HaLlows, Chapter 36 (the flaw in ThE PlAN)

In adDitIon, afTer thaT InitiaL fall, the DArK lord’s bODy stays DEAd And uNmoving.

“They moved VOLdEMort’s body and laId it in A cHAmBER ofF thE Hall, away fRoM the bODies of FREd, tONKs, LUPin, Colin CreevEy and fifty oTHerS who haD dIed FIghtinG him.” - HArRY PoTter and the DEathLy Hallows, chapteR 36 (the Flaw IN the PlaN)

His noT geTtiNg up WAs LiKelY eNOugH PrOof FOr tHe majoriTy Of The wiZardING WOrld, ThoUgh tHere vEry well may havE beEn soME whO stilL wereN’t suRe And eiTher feAred oR hOped he’d return agAin.

 Q:

closest paIr oF pOinTs Using MOuse clIckS

ThE assignMent is tO To a ClOSESt Pair of points using bRuTE FoRce.
I seem To have MOsT eVErything i nEed - The fRAMe appEars, CIrCles appeAr wherE i cLiCk, and thE cLosest PaIrs SeeM to hiGHligHt propErly, I say "Seems" BEcause this is whERe my question lIEs.  i NEeD Only Two Circles highLighTEd at Any gIVeN tiME (the cLosesT pAIr), BUt previous closest paIrS do not De-selEct/unhighlighT.
I hope this IS SOmething SimpLE I HAve overlooked.  I Have bEen at this fOR a while, sO it's vEry possiBle my mind AND eyes are JusT toO tiRed TO PiCk this problem UP. hopeFuLly, a freSh sEt of eyeS wiLl dO me SomE gOod.
Any helP is greatLy ApPrEcIatEd. 
impORt java.awT.*;
iMpoRt JavA.awt.eVEnt.*;
impOrt jaVa.utIl.arRAyLIst;
impoRT jAVAx.swInG.*;

pUbliC clAsS AssiGnmeNTFoUr extenDs JFrame {

pRivATe fiNaL POintPanEl canvas = new PoInTPanel();

publIc assIgnmenTfOur() {
    JPaneL panel = new JPanel();

    this.add(cANvas, BorDerlayouT.CENtER);
    this.adD(paNel, BorDerlAyout.SoUTH);
    adD(new JlaBel("<HTMl> CliCK AnYwhErE within the PANel."
            + "<bR> The TwO cloSest poiNts will be highlightED.<BR>"
            + "click the 'x' to
 hand, staring down at his  enemy’s s hell. 
On e s hi veri ng s econd of silen c e, t he shock of the moment  susp en d ed:a nd  then  the tu m ul t bro ke  a rou nd Ha rry a s t he scre ams and th e c he ers and ther oa rs of thewat chers rent t heair.”-Har r y Pot ter  andthe De a thly H allows, C ha p ter 36 (The Fl a w  i n th e Plan)

In addit i on ,  after that in itialfa l l, t heDar k Lord’s b od y sta y s deada nd u n mov i ng.

“They mo ved Voldemo r t’s  bodyan d l a id itin ach a mbe r off the H all,  away fro m theb odies o f  Fred,Tonks,  Lu pin , Co l in  C ree ve y  an d  f ift y  ot hers who  h ad  died  fig h t i n g hi m.”  - H arryPotter and th e D eath l y H allow s, Ch apte r36 (T he Fla w inth e Plan)

His no t ge tting upwas  l ike ly  enou g h proo f f orthe maj ority o f  th ew i z ar ding world, though  t h e re  very we ll may ha ve been som ewho  sti l l  were n’ts ur e and ei ther f e ar ed  or hop ed  he’dre tur n a gain. 
 Q: 

Clos est pair  of p o ints using mou s e clicks

The as s i gn m entisto to a clo sest pair  ofp oi nts using  brut ef or c e.
I seem to have m os t ever ythin g I need - th e frame ap p e a rs, circ lesa pp e ar where I cli ck, a nd the clo s est pair s see m to hig hlight pr o p erly, Isay  "s eem s"b e ca use this is w h e re m yquestio n l ies.  I  ne edonl y t wo  circleshighligh te dat  a nygiven time (th eclo se stpair) ,  but p revio us c lo se s t p airs do no t de-s el ec t/un hig hl ight. 
I h o pethis is  somethin g s i mple  I  h ave ove rlooked.  I h av e been atth isfor aw h ile, soit's very possible my m i nd andeye s are  jus t too tir edto pic k t h is pro blem u p. Ho pe ful l y , a f r e sh  se tof eyes wi l l  do  me s om e go od.
Any  help is greatly a p pre ciated. 
impo rtjava . a wt .*; im p ort  j a va. a w t.event.*;
impo rt java.ut il . Ar rayList;
i m por tjavax.s wing.*; 

pub l ic clas s Assignm entFour e xt ends J Fra me {

priv ate fina l PointPa n el ca n va s = n ewPointP an el( );

p ublicA ssi gnmen tFour( ){
   JPane lpanel =new JPanel();

    this .add(c anvas , B orderLayo ut. C ENT ER);
   this .add(panel , B ord erLay out . SOUTH );
 add ( new J Labe l ("<html>C li cka n yw here within t h e p anel. "
        + "<BR> The two c l osest points w illb e  hi ghl i ghte d. <BR>"
          + " Click th e'x' to
 hand,_staring down_at his enemy’s shell.
One_shivering second_of_silence, the_shock_of the moment_suspended: and then_the tumult broke around_Harry as the_screams_and the cheers and the roars of the watchers rent the air.” - Harry_Potter_and the_Deathly_Hallows,_Chapter 36 (The Flaw in_the Plan)

In addition, after that_initial fall,_the Dark Lord’s body stays dead and unmoving.

“They_moved_Voldemort’s body and_laid it in a chamber off the Hall, away_from the bodies of Fred, Tonks,_Lupin, Colin Creevey_and_fifty_others who had died_fighting him.” - Harry Potter and_the Deathly Hallows, Chapter 36 (The_Flaw in the Plan)

His not getting up_was likely enough proof for the_majority of the wizarding world,_though there_very well may have been_some who still_weren’t sure_and either feared_or hoped he’d return again.

 Q:

Closest_pair of points_using mouse clicks

The assignment is to_to_a closest pair_of_points_using brute_force.
I seem to_have_most everything_I_need - the frame appears, circles_appear_where I click, and the closest pairs_seem to highlight properly,_I_say "seems" because this_is where my question lies._ I need only two circles_highlighted at_any given_time (the closest pair), but previous closest pairs do not de-select/unhighlight.
I_hope this is something simple I_have overlooked.  I_have been_at_this for a_while,_so it's_very possible my mind and eyes are_just too_tired to pick this problem up._Hopefully, a fresh set_of_eyes will do me some good.
Any_help is greatly appreciated. 
import java.awt.*;
import_java.awt.event.*;
import java.util.ArrayList;
import javax.swing.*;

public class AssignmentFour_extends_JFrame_{

private final PointPanel canvas =_new PointPanel();

public AssignmentFour() {
  _ JPanel panel_= new JPanel();

    this.add(canvas,_BorderLayout.CENTER);
_   this.add(panel, BorderLayout.SOUTH);
 __ add(new JLabel("<html> Click anywhere within_the_panel."
_    _     _+ "<BR> The two closest points will be highlighted.<BR>"
_  _    ___ + "Click the 'x' to