Right. It looks like the question is about everything. In particular it mentions Struts and Swing over the comma. Swing I am sure is also a farmework, but that is one of many non-web UI frameworks. There are also ORM frameworks and many other types of. May we call EJB and Spring frameworks? I bet we may. Bad thing is that while on the intuitive level we may often tell if something is a framework, I've never seen any good definition of what a framework in software is.
In about 50% of cases we are talking about Web frameworks, Like Struts, JSF, Wicket, Velocity, HybridaJava or MVC part of Spring. There are about 50 of only Java web frameworks, all of a very very different nature and value, but comparing them is a real headache. Recently I have noticed a new and growing page about web frameworks on wickipedia. Way overdue, but it is excellent to have it now. The table there is a good start for comarisons.