The important line of your stack trace is this one:
at PatientFrame$EventHandler.actionPerformed(Ass03.java:213)
Basically, it tells you that you have a NULL
object at line 213.
Assuming you have pasted your whole code, it corresponds to this line:
sizep = p.small1[0];
You are trying to get small1
attribute of p
, which is unassigned. And I can't find any assignment to p
variable. Maybe you've missed it in the constructor?