Overlap « Component « Java Swing Q&A





1. Handle overlapping components in java swing    stackoverflow.com

I am working on an app which when used for loading a file and drawing the contained components, may result into painting of overlapping components. For example, consider a big rectangle ...

2. overlapping components    coderanch.com

Hi, thanks for the reply .. I use a null layout manager for development. It's not a question of how do I position the components so they don't overlap, I can easily reposition compnents. What I want to do is make best use of the screen real-estate, by putting buttons in the area of wasted space at the top of the ...

3. Two Overlapping Components    java-forums.org

Hi There. I hava this question that how can i find out that two components placed in JFrame ( eg :: x1, y1 for the first component and x2, y2 for the second one with different sizes ) are ovelapping. I tried arrays with width and height of the JFrame and fill with '1' for occupied pixels but it takes a ...