If the components are all on a single panel you can use the getComponents() method of the panel as already suggested.

If you have components on multiple panels then you need to use recursion to get all the component. In this case you may find Darryl's Swing Utils class handy.

Is there anyway to return particular elements from JFrame?
Consider the inner product defined by polarizing the quadratic form $$q(x,y,z)=x^2-z^2+4xy-2yz$$ on $\mathbb{R}^3$.

Let $V=\langle(1,0,2),(3,-1,0)\rangle$. Could you show me how to find $V^\bot$ and $V\cap V^\bot$? I get $V^\bot=\langle(2,6,1)\rangle$, which doesn't feel right, and don't know how to calculate the intersection. Also, in general, what can we say about the dimension of $W^\bot$ if we know the dimension of $W$?
