I'm using spacers with my gridbaglayout. My problem is that I can't figure out how to change the color of the spacers to match the rest of my background. Is this possible?
CS> I'm using spacers with my gridbaglayout. My problem is that I can't CS> figure out how to change the color of the spacers to match the rest CS> of my background. Is this possible?
The spacers are not supposed to be used with GridBagLayout - rather, they're there to be used with IntelliJ's GridLayoutManager. You should use the GridBagLayout constraints instead of the spacers to set up your layout.
-- Dmitry Jemerov Software Developer JetBrains, Inc. http://www.jetbrains.com/ "Develop with Pleasure!"
Hello Carol,
CS> I'm using spacers with my gridbaglayout. My problem is that I can't
CS> figure out how to change the color of the spacers to match the rest
CS> of my background. Is this possible?
The spacers are not supposed to be used with GridBagLayout - rather, they're
there to be used with IntelliJ's GridLayoutManager. You should use the GridBagLayout
constraints instead of the spacers to set up your layout.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"