Your anxiety and vision problem are separate problems, although a panic/anxiety attack can be manifested with vision symptoms, too (it can appear as your vision has altered, experiencing increased light, spots in your vision, and blurred vision).
It is well known that computer use for prolonged periods can aggravate one's vision.
Actually, anyone who spends more than two hours in front of the computer each day is likely to experience some degree of computer vision syndrome, with the following symptoms: headache, loss of focus, double vision, blurred vision, eye strain, eye fatigue, burning eyes.
Wearing your reading glasses aren't solving this problem.
Try to make frequent short brakes from the computer screen and consult your ophthalmologist for computer glasses.
Your anxiety is manifested every time you drive, not because you need to focus, but because panic attacks tend to reappear in certain situation.
This is known as situational predisposed panic attacks.
You can be predisposed to have panic attacks in certain situation or place (driving car), although you are not frightened of the situation or place (I have never had a problem driving long distances).
See a psychologist (cognitive-behavior therapy is a treatment of choice for anxiety disorders)!