JComponent « Container « Java Swing Q&A





1. paint on a container being added to jcomponent    stackoverflow.com

i have a jrame on which i add some JComponent objects. Each JComponent has a list of containers i add by using JComponent.add( Component). Now in my main JComponent class, called MyComponent, i ...

2. Painting a JComponent without adding it to a container    stackoverflow.com

I've implemented a custom JPanel, whose paint method I've extended to do a lot of manual rendering in full screen mode. Now I would like to integrate another JComponent to this ...

3. Get all swing components in a container    stackoverflow.com

I think we can use jScrollPane.getComponents() to get awt components of a jscrollpane. My question is: is there a way to get swing components of a container some how?