I am designing my first GUI using the Gridbaglayout. I have a content panels called "Shipping Method" with two radio buttons, Ground and Air Express. i have the two radio buttons spaced out properly. I was wondering how I can get the space between the 'ground' radio button and the border of the content panel to decrease? Like there is alot of empty space between the 'Ground' radio button the border surrounding my content panel called "Shipping Method" on both the top and bottom. I tried playing around with the insets, but I could not get it to work. Any help would be appreciated. My code is below (I have to use gridbaglayout)
[ March 09, 2005: Message edited by: Mark Spritzler ] [ March 09, 2005: Message edited by: Benjamin B ]
I'm not sure that I can be much help without compiling and running your program to see what is going on. Unfortunately, I can't do that at the moment as I'm not at my own computer that I typically use for development. With that said, you may want to mosey over to our GUI forum where they discuss such intricacies. You are more likely to find someone there who can help.
p.s. Could you also edit your code so the lines aren't so long? I find horizontal scrolling somewhat annoying. [ March 09, 2005: Message edited by: Layne Lund ]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com