Can anyone give me a quick and dirty way to enumerate through all the components on a JPanel?
I need to add up the heights of all the components the JPanel contains. There doesn't seem to be a getComponents() or getContained() or similar method in JComponent that gives me access to what it contains. But I know there's gotta be one somewhere...
Thanks!
I need to add up the heights of all the components the JPanel contains. There doesn't seem to be a getComponents() or getContained() or similar method in JComponent that gives me access to what it contains. But I know there's gotta be one somewhere...
Thanks!