Thread: gridbaglayout
View Single Post
  #1 (permalink)  
Old 01-27-2008, 02:01 AM
newtojava7 newtojava7 is offline
Member
 
Join Date: Jan 2008
Posts: 16
newtojava7 is on a distinguished road
gridbaglayout
hello,

i'm using gridbaglayout and finding it very frustrating (must use it for assignment).

im using the constrains.gridy which is set to 1 right now, i want it to go a bit lower, so i change it to 2, but it makes the component go much lower than I want it to, and if I go say 1.5 it gives me an error when i compile saying "possible loss of precision."

i just want to move my component a bit lower, i tried GridBagConstraints.SOUTH as well and it has no effect on its location, please help.
Reply With Quote
Sponsored Links