Aunt Bee's Restaurant - S7-E21
Continuity mistake: While Jack is trying to help Aunt Bee understand her fear, in a few of the closeups of Aunt Bee and Andy (seated on the couch) note the fruit bowl has moved and the candlesticks have vanished from the server, the large figurine on the left side of the hutch has vanished, and the flowers from the table have also disappeared. Then everything is back in their place. (00:21:10)
Answer: Those "boxes" are valences that used to be very common, before air conditioning. They allow for windows to be open during rain storms. They permit air circulation, without letting the rain in.