posted 14 years ago
Oh maybe 2 is a JFrame.Anyway will try to use pack() and setLocationRelativeTo(Null).What I am trying to do is to have 3 rows(each with a textfield)and beneath these 3 rows I want the 20x20 grid.What I have done at the moment is to use a flowlayout,and after the textfields have been added,I use a gridLayout....Also,I had set the size of the JFrame..maybe this would cause the problem?For some reason I couldnt use Jbuttons...the text on the Jbuttons weren't displaying and any images that I used as an icon became too distorted...so I switched to regular buttons...
===>SCJP 1.5(72%)<===
==>SCWCD1.5(76%)<===