review your code.
You are using Netbeans - that's fine. There should be a code assist and a view that tells you where the problems are. And you've got a couple of them in here, that do not need to be made.
first some general points:
- NO static!
static is not intended to be used everywhere. So just do not do it. There is always a proper way to fetch data -
public static
is not.
- variables are written in small letters - objects are started with a capital letter:
public static List<<b>Packet> packets;
This way you will soon find out that you tried to instance some objects instead of variables.