After setting the LayoutManager to 'GridBackLayout', the component (JLabel) I add to the panel on row 0 (y = 0), column 0 (x = 0) centers on the screen; so the screen origin seems to be in the middle and not in the lefthand top corner of the screen as I expected it to be. Is this as it should be and can I (re)set the origin of the screen?
Please find a copy of Core Java by Horstmann. Older editions were called Core Java II by Horstmann.and Cornell, and I don't think it matters which edition you use. Look for Volume I, which has a class called GBC in; Horstmann explains how you can use that to make GirdBag much easier to use.
@ Carey Brown: thanks for your help. Very clear. I get it now!
@ Rob Camick: 1. I didn't set them obviously (duh..); 2. Yes, more than once? 3. that's exactly what I tried to find out; 4. No I did not. I used other tutorial material and examples (more than a couple); Ref you last remark: I don't expect anything of other people. I'm just asking your platform for help. Don't offer it if you don't want to, but much appreciated if you do. Thank you Carey Brown.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop