I am looking at a GUI display of information which I want to be able to access from my own Java classes. This is waht I see when I println() the object parent. javax.swing.JPanel[null.contentPane,0,0,690x281,layout=javax.swing.BoxLayout,ali gnmentX=null,alignmentY=null,border=,flags=50,maximumSize=,minimumSize=,preferre dSize=,defaultLayout=java.awt.FlowLayout[hgap=5,vgap=5,align=center]]
The children are specific classes written by someone else. Can I get to the content somehow from what I have above? What is the significance of the 'null.contentPane' in the signature? Thanks for any help. Paul
posted 16 years ago
Not quite sure what you mean by content. But in the Container getComponents() returns all of the components on the container. That will give you everything on the JPanel.